Path supports rss, atom, and json type 'feeds'. Renamed rss.php -> feed.php Reworked feedcreator class quite a bit as well. - Now requires php-json (aurjson required this too, so not a big deal). - STRONGLY Recommends php-memcache. This is how the feed is cached in this version. No more file cache. Further work: - Someone could probably add handling for 'if-modified-since' http headers, to determine if you can just send an 'HTTP/1.0 304 Not Modified' header, or if you need to send a newer version. I don't believe the old version supported this, but it makes sense (and should be easier using memcached). Usage: feed.php?t=rss -- rss feed feed.php?t=atom -- atom feed feed.php?t=json -- json 'style' feed Patch attached (gzip compressed).
Imported my work into a github project. Posting it if anyone is interested in it. http://github.com/cactus/aur upstream-clean tracks the arch-project github aur.git repo. Kind of neat to see some of the graphs on the project that github provides, at any rate. The impact[1] graph is pretty cool, if nothing else. [1]: http://github.com/cactus/aur/graphs/impact On Tue, Oct 13, 2009 at 8:57 PM, elij <elij.mx@gmail.com> wrote:
Path supports rss, atom, and json type 'feeds'. Renamed rss.php -> feed.php Reworked feedcreator class quite a bit as well. - Now requires php-json (aurjson required this too, so not a big deal). - STRONGLY Recommends php-memcache. This is how the feed is cached in this version. No more file cache.
Further work: - Someone could probably add handling for 'if-modified-since' http headers, to determine if you can just send an 'HTTP/1.0 304 Not Modified' header, or if you need to send a newer version. I don't believe the old version supported this, but it makes sense (and should be easier using memcached).
Usage: feed.php?t=rss -- rss feed feed.php?t=atom -- atom feed feed.php?t=json -- json 'style' feed
Patch attached (gzip compressed).
participants (1)
-
elij