Beginnings of an RSS Widget form · 23 May 2008 by Crosbie Fitch
You can see the beginnings of a form for blog authors to create a 1p2U.com subscription widget here
Special:SubscribeRSS
I had to go through umpteen XML/RSS PHP libraries before I could find moderately stable functionality for the following:
- Find RSS feeds on a web page
- Validate an RSS feed
- Interpret an RSS feed
To find feeds on a page I found Find_RSS_Links by Ivan Melgrati at MT-Soft (apparently based on RSS auto-discovery by Keith Devens).
To validate an RSS feed I used the Pear PHP library class XML_RSS and to interpret it I used XML_Feed_Parser.
The Pear libraries are a bit cumbersome for a MediaWiki extension, so I’ll drop those and put the equivalent RSS functionality into the Contingency Market instead.
I think I’ll be dividing contingent events into three distinct trees: normal, system, automatic.
- Normal – Events created and administered via the Contingency Market API.
- System – Events internal to the Contingency Market and intrinsically authoritative.
- Automatic – Special events relating to external online activity (continuously monitored).
RSS feeds will be created as automatic events. The frequency of their monitoring may increase if any dependent contingencies exist.