Hello all,
I have written a configuration option to only have a feed updated on a
certain interval. It does this by setting the MAGPIE_CACHE_AGE constant before
the feed is updated.
What this allows is not having to refresh every feed at every refresh
period. Intead, one can set the cache age to 360 minutes and only have it
check for an update 4 times a day. This is useful for feeds that one knows
don't change very often and also saves the bandwidth of the queries to check for
changes.
For feeds that support it, it will import the "updateperiod" of the feed
when it is added. If it doesn't, it will default to the refreshafter config
variable, unless that option is 0, then the default is 60.
Is there an official place to upload this patch for review/inclusion or should
I just send it to the list?
Thanks,
Chris
--
Public Key:
http://darthsebulba.is-a-geek.org/Key/Darth_Sebulba05-at-phreaker-net_pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://sinless.org/pipermail/gregarius-dev/attachments/20051029/e99faa3c/signature.bin