Having said all that, and given that there are currently no implementations of mod_changedpage to receive pages from, we will concentrate on working with cloud . What's more, every cloud implementation in the wild uses XML-RPC, so, for simplicity, this is all we will support here. Extending the script to support SOAP and HTTP-POST would not be hard, if necessary, but it probably won't be necessary.
The following Publish and Subscribe (PubSub) system is for web sites displaying various feeds, rendered into XHTML and inserted onto the page using a server-side include. It is currently working live on the test site: http://www.linkpimp.com.
This system also incorporates two other things we have already discussed. First, it renders the feed into XHTMLwe can leave the on-screen formatting to a style sheetbut the subroutine that does this is quite obvious in the code and can be turned to do something elsesend IM notifications, for example.
Second, it uses Syndic8's API and subscription list service to tell it which feeds to examine. This allows us not only to play with the Syndic8 system, but also to add or remove feeds from the site without touching its code. I can merely log on to Syndic8 and subscribe to a feed there, and it should be incorporated into the site within the hour . It is rough and ready, but you will undoubtedly get ideas of your own from it.
The system comes in two parts :
Running the system creates three files internal to its working: