Extending the XML_RPC Plugin
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Extending the XML_RPC Plugin
Hello.
The XML_RPC plugin implements interfaces defined by other blog tools.
At the moment I need some new calls, that are not defined in other interfaces AFAIK. In example: I need to get all articles for a given category.
So I' thinking about implementing some unique s9y_* XML_RPC calls.
What do you think: Should I implement these new XML_RPC calls in the XML_RPC plugin in order to make them available to the community, or should I implement a new private plugin only available to myself?
The XML_RPC plugin implements interfaces defined by other blog tools.
At the moment I need some new calls, that are not defined in other interfaces AFAIK. In example: I need to get all articles for a given category.
So I' thinking about implementing some unique s9y_* XML_RPC calls.
What do you think: Should I implement these new XML_RPC calls in the XML_RPC plugin in order to make them available to the community, or should I implement a new private plugin only available to myself?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Extending the XML_RPC Plugin
Hi!
Well, the full and cool way of course would be to enhance the plugin in some kind of RFC-like way, by also asking other blog developers how their systems can support special calls.
I believe WordPress has added some custom options, so maybe there's some common ground to use for new functions?
REgards,
Garvin
Well, the full and cool way of course would be to enhance the plugin in some kind of RFC-like way, by also asking other blog developers how their systems can support special calls.
I believe WordPress has added some custom options, so maybe there's some common ground to use for new functions?
REgards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Sadly not. A year or two ago, I was contacted by them and Yahoo telling me about a taskforce/workgroup that was to be created.I offered to assist in it and implement the features for s9y.
Half a year later I never heard from them again, but read a WP announcement that they enhanced the XML-RPC on their own with proprietary functions. I wasn't happy about this, and never dug really into it since.
Regards,
Garvin
Sadly not. A year or two ago, I was contacted by them and Yahoo telling me about a taskforce/workgroup that was to be created.I offered to assist in it and implement the features for s9y.
Half a year later I never heard from them again, but read a WP announcement that they enhanced the XML-RPC on their own with proprietary functions. I wasn't happy about this, and never dug really into it since.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Grischa - if you do work on the plugin, can you fix this output, which always fails validation:
I think it is just the "url=" bit.... can that be href?
Code: Select all
<link rel="EditURI" type="application/rsd+xml" title="RSD" url="http://www.example.com/serendipity_xmlrpc.php?xsd=true" />
=Don=
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
@Garvin: Hmm.. I only find the typical calls for WP at http://codex.wordpress.org/XML-RPC_wp . I am wondering, why every blog has to redefine them again and again? There are all the same, I saw at other XMLRPC definitions.. :-/
@Don: Well, if I work on it, I will fix this. Are your sure, it has to be called href? I'm not very firm in this..
@Don: Well, if I work on it, I will fix this. Are your sure, it has to be called href? I'm not very firm in this..
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
No, I am not sure it has to be an href... but it does fail validation using url, or at least, I think that is the reason. I do not use this plugin myself, so I cannot be sure. I AM, however, sure that it does not validate.blog.brockha.us wrote:@Don: Well, if I work on it, I will fix this. Are your sure, it has to be called href? I'm not very firm in this..
=Don=
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Ah.
Sorry; I thought you wanted a serendipity function that could get all entries, so you could implement an XML-RPC method. I didn't realize you were trying to determine the correct place to put an XML-RPC method that returns all entries in a category.
You probably knew about fetchEntries anyway.
I don't know enough about XML-RPC to answer that question.
Sorry; I thought you wanted a serendipity function that could get all entries, so you could implement an XML-RPC method. I didn't realize you were trying to determine the correct place to put an XML-RPC method that returns all entries in a category.
You probably knew about fetchEntries anyway.
I don't know enough about XML-RPC to answer that question.
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Sorry for digging up this old thread...
Grischa, didn't you fix the encoding of html entities for the title of entries published via Live Writer? Somehow it doesn't work for me, the entities are converted, but not the way I would expect them to... Very strange. Example: http://www.ormus.info/archives/19-Umlau ... riter.html
Grischa, didn't you fix the encoding of html entities for the title of entries published via Live Writer? Somehow it doesn't work for me, the entities are converted, but not the way I would expect them to... Very strange. Example: http://www.ormus.info/archives/19-Umlau ... riter.html
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact: