|File Search||Catalog||Content Search|
* When you request a feed the first time, this class remembers what Last-Modified and ETag headers it has; that the next time you request that feed, this class can specify that the feed's server should return data only if that feed has changed since last time, or has a different ETag value. If the feed *has* changed, you'll get the HTTP response back with full content and with a normal "200" status code. If the feed *hasn't* changed, you'll get a contentless "304" response (meaning "I'm not giving you any content, because it hasn't changed").
* When you request a feed, this class remembers any data that might be in the RSS that says how often this feed updates. See XML::RSS::Timing for the full story; but as a common example if there's a ttl tag with value 180 in the feed, that means that the feed will rebuild only once every three hours (180 minutes). When this class sees that in the received RSS data, it remembers this so that if you go to get the feed more often than that, it will stop you and give a "304" (Not Modified) error response.
README for XML-RSS-TimingBot Time-stamp: "2004-04-24 01:22:57 ADT" NAME XML::RSS::TimingBot -- for efficiently fetching RSS feeds SYNOPSIS use XML::RSS::TimingBot; $browser = XML::RSS::TimingBot->new; my $response = $browser->get( 'http://interglacial.com/rss/cairo_times.rss' # or whatever feed ); ... An more»
XML::RSS::TimingBUser)Contributed Perl DocumenXML::RSS::TimingBot(3) NAME XML::RSS::TimingBot - for efficiently fetching RSS feeds SYNOPSIS use XML::RSS::TimingBot; $browser = XML::RSS::TimingBot->new; my $response = $browser->get( 'http://interglacial.com/rss/cairo_times.rss' # or whatever feed ); ... And process $re more»
Revision history for Perl extension XML::RSS::TimingBot Time-stamp: "2004-05-19 12:57:23 ADT" 2004-05-19 Sean M. Burke firstname.lastname@example.org * Release 2.03 -- important bugfix version * In the previous version, the maxAge method actually read and wrote tho minAge slot in the object! This version fixes that. BTW: a 3.x version will be out soon. I more»