Rep Example


OUTDATED

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/.

http://www.oreillynet.com/pub/wlg/3429

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.

http://cyberlaw.stanford.edu/lessig/blog/archives/2003_07.shtml#001332

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.

http://www.theregister.co.uk/content/4/31570.html

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 mentata.ldaphttp.forum context package. The SAX handler is in the rep class.


comment.java

solicitation.java

rep.java

orarep.java

lessigrep.java

registerrep.java