I don't know if anyone is interested in running this, but if you
are, I'm so interested in /using/ it that I've written the CGI
script to do it:

since-rdf.cgi is a simple perl script to generate an RDF file giving
the RPM metadata for all packages in a given directory, listing only
those packages that have been updated or added since some user-specified
cutoff date.  This is useful for both cooker RPMs and contribs where
I don't want to mirror the whole thing, but I want to know what has
been added because I may be eagerly waiting for some critical update
or just curious to follow a few packages.

The script takes either a GET pathinfo parameter or uses the usual RDF
If-Modified-Since/Etag request header method. A simple shell script
could just dump the date to a timestamp file when it's done and then
call this script with lynx:

    lynx -source http://host/since-rdf.cgi/`cat .last_access` \
       > updates.rdf && date +"%s" > .last_access

there's probably even a way to specify the If-Modified-Since header in
lynx or wget -- I'm just too lazy to look it up.

the output is RDF 1.0 (see attached example), so Amphetadesk users (or
peerkat) could generate a local copy of the RDF to be included into
their monitor software.

Attachment: since-rdf.rdf
Description: example RDF output

Anyway, apologies for the bandwidth to those who could care less, and
again, if anyone /does/ deploy this, please let me know so I can
subscribe ;)

Attachment: since-rdf.cgi
Description: since-rdf script

-- 
Gary Lawrence Murphy - [EMAIL PROTECTED] - TeleDynamics Communications
   - blog: http://www.teledyn.com/mt/ - biz: http://teledyn.com/ -
  "Computers are useless. They can only give you answers." (Picasso)

Reply via email to