The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index General discussions XML/RPC link

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

Postby oliverg » Fri Dec 30, 2011 12:10 pm

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

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Fri Dec 30, 2011 12:20 pm

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 1:34 pm

Postby oliverg » Fri Dec 30, 2011 1:40 pm

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 1:34 pm

Postby oliverg » Fri Dec 30, 2011 6:02 pm

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 ;)

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Fri Dec 30, 2011 11:20 pm

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 1:34 pm

Postby oliverg » Mon Jan 02, 2012 6:40 pm

Hm,

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

cf. blog.oliver-gassner.de

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Tue Jan 03, 2012 10:53 am

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 1:34 pm

Postby oliverg » Tue Jan 03, 2012 11:09 am

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.

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Tue Jan 03, 2012 11:47 am

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/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Tue Jan 03, 2012 6:56 pm

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/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Tue Jan 03, 2012 6:58 pm

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/

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Tue Jan 03, 2012 7:01 pm

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/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Tue Jan 03, 2012 8:56 pm

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/

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Tue Jan 03, 2012 10:31 pm

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/

User avatar
blog.brockha.us
Regular
 
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany

Postby blog.brockha.us » Wed Jan 04, 2012 5:36 pm

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/

Next


Return to General discussions

Who is online

Users browsing this forum: Google [Bot] and 1 guest