serendipity_xmlrpc.php

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
keychange
Regular
Posts: 6
Joined: Wed Jul 08, 2009 4:31 am
Location: Dorrigo Australia
Contact:

serendipity_xmlrpc.php

Post by keychange »

Hi I have the plugin installed but I can't for the life of figure out how to set up or even config the plugin.

There is no option to do so and absolutely no install notes - when I select it from the plugin list I get the following but no idea how to proceed beyond this point

Name Post via XML-RPC (serendipity_event_xmlrpc)
Description Allows to post/edit entries via the XML-RPC API (MT, Blogger Endpoints)
Version history

Default category
Specify the default category, when your blogging client specifies none.
Use GMT time format
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: serendipity_xmlrpc.php

Post by Timbalu »

What about admin panel-> plugins-> event.> plugins-> xml-rpc?

Well I am not familiar with this plugin, but Garvin once wrote
The serendipity_xmlrpc.php file is not meant to be opened in your browser. :)

XML-RPC is meant for remote posting with clients like MarsEdit, Ecto etc.
I think it is based on (php)PEAR XML-RPC and found this tutorial how to use
http://www.codewalkers.com/c/a/Miscella ... EARXMLRPC/

maybe there is more and better docu in the PEAR docs like
http://pear.php.net/manual/en/package.w ... ml-rpc.php
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
keychange
Regular
Posts: 6
Joined: Wed Jul 08, 2009 4:31 am
Location: Dorrigo Australia
Contact:

Re: serendipity_xmlrpc.php

Post by keychange »

what a nightmare I am not even sure that this is what I think it is.

I have a news provider creating custom content and available as XML - I want to poll the providers server on a pre-defined schedule and update my s9y blog with the new content. I thought it would be fairly simple and I know it is being done with Wordpress ...... I hate WP - please don't make me switch :cry:
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: serendipity_xmlrpc.php

Post by kleinerChemiker »

The xmlrpc Plugin is used when you want to post blogposts with an external tool. getting RSS Feeds is possible, but I don't know the name of the Plugin. But I'm shure you will find it, if you search the pluginlist: http://spartacus.s9y.org/index.php?mode ... s_event_en
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: serendipity_xmlrpc.php

Post by Timbalu »

Yes but this should do. It is supposed to work as client and server.
What you need is a special category, I think, to send or embed xml content.
Can't you set one?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_xmlrpc.php

Post by garvinhicking »

Hi!

serendipity_event_aggregator should do what you want? :)

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/
keychange
Regular
Posts: 6
Joined: Wed Jul 08, 2009 4:31 am
Location: Dorrigo Australia
Contact:

Re: serendipity_xmlrpc.php

Post by keychange »

garvinhicking wrote:Hi!

serendipity_event_aggregator should do what you want? :)

Regards,
Garvin
Yes it may be what I need but where can I find info on how to set this up ..... this is becoming tedious. I installed the plugin and set what setting there are ...but it doesn't ask which for the feed name etc and there are again no help files .... and nothing on Google.

Do I need to learn the secret handshake?
keychange
Regular
Posts: 6
Joined: Wed Jul 08, 2009 4:31 am
Location: Dorrigo Australia
Contact:

Re: serendipity_xmlrpc.php

Post by keychange »

I gave up - installed Wordpress and have the uploaded posts up an running in 2 minutes... it's a shame I liked s9y simplicity but sorry for some of these plugins you need unlimited free time and patience - I have neither.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_xmlrpc.php

Post by garvinhicking »

Hi!

I'm sorry that you were so impatient. The aggregator added a new menu item called "AGGREGATOR" to the sidebar, where you would've easily setup multiple feeds.

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/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: serendipity_xmlrpc.php

Post by Timbalu »

Well, its a pitty you did not add some more australian patience. :roll:
Truly there could be some more and easy to reach documentation, but you can find some in the event file itself.

// NOTES:
//
// If using MagpieRSS as RSS fetching tool, this plugin is licensed as GPL.
// If using the Onyx parser, this plugin is licensed as BSD.
//
// *****************************************************************
//
// LAYOUT NOTE:
// For best "planet experience" you are advised to create your own template and
// disable s9y-specific options which do not make sense in a planet environment.
// A suggestion is to display the originating feed URL inside entries.tpl via:
//
// {$entry.properties.ep_aggregator_feedname}
// {$entry.properties.ep_aggregator_feedurl}
// {$entry.properties.ep_aggregator_htmlurl}
// {$entry.properties.ep_aggregator_articleurl}
// {$entry.properties.ep_aggregator_author}
//
// See, eg. suggestions in file:
//
// [serendipity]/plugins/serendipity_event_aggregator/theme-patch.diff
//
// *****************************************************************
//
// Smarty plugin API hook to fetch and display feeds in a static page or template:
//
// {serendipity_hookPlugin hook='aggregator_feedlist' hookAll=true data="category:9|cachetime:3600|template:feedlist.tpl"}
//
// Currently supported parameters are only "category" and "cachetime". The ID of a category
// corresponds with the ID of the category that the feeds are associated to in the aggregator configuration.
// You can see the categoryIDs in the backend of managing categories in the URL ("cid"). Multiple categories
// can be separated with a comma (,).
//
// Calling the update like that does NOT STORE THE ENTRIES in your usual blog database, but in a seperate
// one. So this does not really aggregate entries, but simply display them. The cachetime means how many
// seconds must pass until the feeds are refreshed when called.

// The template (by default: feedlist.tpl) can be stored either in the plugin directory or your custom
// template directory and is used to render the items.

// The icon of a feed can be either manually specified in the configuration of available feeds
// or it can be autodetected (only when using simplepie as parser).
// *****************************************************************
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
keychange
Regular
Posts: 6
Joined: Wed Jul 08, 2009 4:31 am
Location: Dorrigo Australia
Contact:

Re: serendipity_xmlrpc.php

Post by keychange »

Sorry but the aggregator appears intended for RSS feeds - this is not RSS it consists of a set of 3 XML files making up a full post to be imported as a post- preferably every 2 hours. And if you think that aggregator documentation was clear then it loses something in the translation from English to Australian.

I lost about 6 hours of work trying to get this working with s9y - where as an API plugin for WP was available and I installed and functioning in minutes. Now I just have the nightmare of converting the old posts to WP.
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: serendipity_xmlrpc.php

Post by LazyBadger »

keychange wrote:
I have a news provider creating custom content and available as XML - I want to poll the providers server on a pre-defined schedule and update my s9y blog with the new content.
RSS Aggregator и Cronjob scheduler are your friends: serendipity_event_aggregator + serendipity_event_cronjob
Quis custodiet ipsos custodes?
Post Reply