XML/RPC link

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
oliverg
Regular
Posts: 43
Joined: Sat Feb 24, 2007 12:34 pm
Contact:

XML/RPC link

Post by oliverg »

What exactly is the link to the XML/RPC call?

...if my blog is at blog.oliver-gassner.de and the system files are in /serendipity ?

Thanks ;)
OG
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XML/RPC link

Post by garvinhicking »

Hi!

If you have the xmlrpc plugin, it should put the autodiscovery link into the HTML head. It's http://blog.oliver-gassner.de/serendipity_xmlrpc.php :-)

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/
oliverg
Regular
Posts: 43
Joined: Sat Feb 24, 2007 12:34 pm
Contact:

Re: XML/RPC link

Post by oliverg »

feature request:
It would be cool if that link was **somewhere** in the plugin ;) (Yes, I have it ;=))

Thanks ;)
oliverg
Regular
Posts: 43
Joined: Sat Feb 24, 2007 12:34 pm
Contact:

Re: XML/RPC link

Post by oliverg »

Another Question:

The xml/rpc thing asks for a 'category' I left that blank (and it does not work) should I use one and which one?

Thanks ;)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XML/RPC link

Post by garvinhicking »

Hi!

Yes, a good idea to add the link to it in the config section for the plugin.

As for the category, it's only used when you do not specfy any category for your blog posting. If xmlrpc does not work, it might depend on your clients configuration. Also you might want to contact Grischa (blog.brockha.us, @gbrockhaus), he is currently working on improving the XMLRPC plugin.

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/
oliverg
Regular
Posts: 43
Joined: Sat Feb 24, 2007 12:34 pm
Contact:

Re: XML/RPC link

Post by oliverg »

Hm,

I HAVE the plugin bit the link is NOT in theheader ;(

cf. blog.oliver-gassner.de
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XML/RPC link

Post by garvinhicking »

hi!

This is strange; which plugin version are you running? It contans the autodiscovery output in the "frontend_header" hook, and Sagittarius-A (your template) also calls that hook. You are using an unmodified index.tpl of that template, right? The frontend_header call is there in the <header>-section, right?

Regard,s
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/
oliverg
Regular
Posts: 43
Joined: Sat Feb 24, 2007 12:34 pm
Contact:

Re: XML/RPC link

Post by oliverg »

Einträge via XML-RPC erstellen
Ermöglicht Einträge via XML-RPC API zu erstellen/bearbeiten (MT, Blogger API-Endpunkte)
version: 1.46


I just updated.
No entry in header.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XML/RPC link

Post by garvinhicking »

What about index.tpl?
# 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/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: XML/RPC link

Post by blog.brockha.us »

If you have installed and enabled the xml-rpc plugin, there should be the link in your html header, if your template does not deny header changes (what would be bad).

So something has to be wrong there..
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: XML/RPC link

Post by blog.brockha.us »

garvinhicking wrote:Yes, a good idea to add the link to it in the config section for the plugin.
Why that? What's the use of it? The link is always the same..
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XML/RPC link

Post by garvinhicking »

blog.brockha.us wrote:
garvinhicking wrote:Yes, a good idea to add the link to it in the config section for the plugin.
Why that? What's the use of it? The link is always the same..
But you'd have to check your PHP files in the directory to know that this is the endpoint, because this is not elsewhere documented...so I do think it would be helpful.
# 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/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: XML/RPC link

Post by blog.brockha.us »

Ah! Sorry, misunderstanding.. I thought you want it to be configurable there. But you only want it to be documented there.. This is something other, of course.

But even then: You have to give your blog url to the XML-RPC client, not the xml-rpc url (the client will detect the xmlrpc url). So documenting it is okay, but still: what for really?
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: XML/RPC link

Post by garvinhicking »

Hi!

Not necessarily; there are a few clients that do not support XMLRPC autodetection so you need to tell them the "API endpoint".

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/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Re: XML/RPC link

Post by blog.brockha.us »

Ah.. Right.. Okay.. I will add this info to the xml-rpc pluing. :)
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply