Rep Example


The following example uses an older version of software and is no longer fully supported. You can view the posts, but may not add new ones.

This example allows you to pull information for specific articles from the RSS 1.0 feeds listed below and create response posts stored as entries in a local directory database using SAX and the LDAPHttp framework.

O'Reilly Developer Weblogs
This site represents a consolidation of weblogs published by an array of software aficionado's and hobbyists connected with O'Reilly and Associates. The topics span most areas of information technology and the atmosphere is casual. For a given post, the ID will be the number at the end of the associated URL after /pub/wlg/.

Lawrence Lessig's Weblog
This blog comes straight from the Stanford Law professor, a strong and vocal advocate of open source and the Commons. The material covers issues in intellectual property, law, and public policy. The posts tend to be short and sweet, and Lessig puts the complete text of each post in the item description and hence the RSS feed. To find the ID for a post, click on its date tag and use the 6 digits that follow the .shtml# at the end of the resulting URL.

The Register News
This scathing British online journal releases the most recent of its frontpage news items as a feed. The content is very current news in information technology, with some special focus on wireless and telecommunications. The ID will be the 5 digits that precede .html in the page name for the article's URL.

You can now use the following form to add a Rep of your own (under the authority of charlie). Just pick the feed and enter the ID for the post that inspires you, fill the text box with your thoughts, and then click the 'Post New Rep' button.

[Form Omitted]

And now to get it all back from the directory...

on as

Below is the source code for all relevant classes in the context package. The SAX handler is in the rep class.