[aur-dev] feed/rss refactor
elij.mx at gmail.com
Tue Oct 13 23:57:57 EDT 2009
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.
- 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).
feed.php?t=rss -- rss feed
feed.php?t=atom -- atom feed
feed.php?t=json -- json 'style' feed
Patch attached (gzip compressed).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20862 bytes
Desc: not available
More information about the aur-dev