Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] FeedBlender 0.1.0
Francis Hwang
11/22/2004 2:41:00 AM
Hi,
I've just released FeedBlender 0.1.0. FeedBlender is a program for
combining a list of RSS feeds into one unified RSS feeds; it's handy
for situations such as conferences, where you might want to collect a
bunch of conference-related feeds into one feed for attendees to
subscribe to.
It's written with a priority on ease of installation and configuration.
It's contained in a single Ruby file, has no dependencies outside of
the Ruby standard libraries, and walks you through each necessary step.
All you do is start the feedblender.rb script, and it walks you through
the configuration options:
$ ./feedblender.rb
First, let's get some basic configuration questions.
1/5: What directory should I use to hold my work files?
[/Users/francis/.feedblender]
2/5: What feeds should be included in the blended feed? Enter each URI
on a separate line, and then enter a blank line when you're done.
http://slashdot.org/sl...
http://www.plastic.com/p...
http://arstechnica.com/etc/r...
http://www.joelonsoftware.c...
http://f...
rss/...
3/5: Where on your hard drive should the blended feed be saved?
[/var/www/html/blended.rss]
4/5: What do you want to call this new feed? My new feed
5/5: What's the main URI of your site?
http://f...
Next, you may want to set some advanced configuration settings, such as
an email address so people can send you comments, how often the RSS
feeds are polled, and how many items your blended feed should contain.
These are optional.
Do you want to enter advanced settings? [n]
Adding feedblender.rb command to crontab ...
Once you're done, it generates the feed for the first time, and saves
its configuration file to disk.
$ more ~/.feedblender/config
--- !ruby/hash:Configuration
:workdir: /Users/francis/.feedblender
:output_file: /var/www/html/blended.rss
:title: My new feed
:time_to_refresh: 30
:logfile:
:description: This blended feed is generated automatically by
FeedBlender.
:feeds_to_check:
-
http://slashdot.org/sl...
-
http://www.plastic.com/p...
-
http://arstechnica.com/etc/r...
-
http://www.joelonsoftware.c...
-
http://f...
rss/...
:link:
http://f...
:feed_item_length: 50
:webMaster: ''
It also takes the liberty of editing your crontab for you:
$ crontab -l
*/30 * * * * /usr/local/bin/ruby
/Users/francis/Tech/feedblender/feedblender/bin/feedblender.rb --config
/Users/francis/.feedblender/config
Francis-Hwangs-Computer:~/Tech/feedblender/feedblender/bin francis$
This is the first working release. Future plans include support for
Atom and support for Conditional GET.
http://feedblender.ruby...
Francis Hwang
http://f...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] FeedBlender 0.1.0
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password