[aur-dev] feed/rss refactor

elij 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.

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).

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...
Name: 0001-refactor-rss.php-to-feed.php-and-support-other-feed.patch.gz
Type: application/x-gzip
Size: 20862 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-dev/attachments/20091013/af17a378/attachment-0001.bin>

More information about the aur-dev mailing list