I've written a rudimentary RSS feed reader in perl, but, I want to take advantage of ping services so that I don't need to check every feed to see which ones have updated. I know that there are ping services like blo.gs and weblogs.com, but I'm unsure about how I can leverage those. Can anyone point me to a site explaining how this is done?
Also, if there already is a perl module that will do all this for me, by all means mention that.
Finally, I'm also trying to get the full text from a post, even when the RSS feed only has partial text information. Right now, I'm just regexping the actual html page (which is a bit cumbersome, because I need to know what the structure of the page is like, and if the structure changes, I'm screwed). Anyone have a better idea for this?
Thanks,
James
Also, if there already is a perl module that will do all this for me, by all means mention that.Did you look on http://search.cpan.org for "Ping"? do any of those suit your needs instead of the third-party services you mentioned?
As for full content, look to see if a third party is already doing that for your feed. For instance, I subscriber to alterslash, instead of slashdot.
Writing your own is not that hard through. A 5-minute-tutorial is available in HTTP Conditional Get for RSS Hackers, which is an absolute must-read for anyone writing feed aggregation code.
Makeshifts last the longest.
Thanks for your interest on Plagger. Plagger is a pluggable aggregation platform where you can plug components just like LEGO to build your own aggregator.
As for smart GET (conditinal GET), the latest version in our svn repository supports it by using the default aggregator component (Aggregator::Simple). I'm planning to release the CPAN version in this weekend.
-- Tatsuhiko Miyagawa miyagawa@cpan.org
perlmonks.org content © perlmonks.org and Aristotle, davidrw, frenchtoast, jamesjyu, miyagawa
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03