From 30d9f401065bae71c6778b40d335643544e6bac1 Mon Sep 17 00:00:00 2001 From: "chris.double" Date: Tue, 29 Aug 2006 02:22:25 +0000 Subject: [PATCH] add readme for rss reader --- contrib/rss/readme.txt | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 contrib/rss/readme.txt diff --git a/contrib/rss/readme.txt b/contrib/rss/readme.txt new file mode 100644 index 0000000000..c6a7c0f9c2 --- /dev/null +++ b/contrib/rss/readme.txt @@ -0,0 +1,37 @@ +This library is a simple RSS2 parser and RSS reader web +application. To run the web application you'll need to make sure you +have the sqlite library working. This can be tested with + + "sqlite" require + "sqlite" test-module + +Remember that to use "sqlite" you need to have done the following +somewhere: + + USE: alien + "sqlite" "/usr/lib/libsqlite3.so" "cdecl" add-library + +Replacing "libsqlite3.so" with the path to the sqlite shared library +or DLL. I put this in my ~/.factor-rc. + +Before running the RSS reader web application you need to create the +history database in the same directory as the 'f' executable. Create +it with: + + sqlite3 history.db + > create table rss (url text, title text, link text, primary key (url)); + > create table entries (url text, link text, title text, description text, pubdate text, primary key(url, link)); + > [eof] + +To load the web application use: + + "rss" require + +Fire up the web server and navigate to the URL: + + http://localhost:8888/responder/maintain-feeds + +Add any RSS2 compatible feed. Use 'Update Feeds' to retrieve them and +update the sqlite database with the feed contains. Use 'Database' to +view the entries from the database for that feed. +