FedoraJobs: Calls For Hacks

Ivan Leong lstfedoradevel at mw.hn.org
Fri Jan 23 18:34:31 UTC 2004


hi bill
got here a perl script that might fit the bill :)
Requires: Time::Local perl module and curl (or wget or HTTP:: perl module)

you also didn't specify the environment, ie, how often it runs, against 
which URL (the thread list 
<http://www.redhat.com/archives/fedora-announce-list/2004-January/thread.html>?), 
etc. so i made the script get the monthly thread list, parse for the 
list of msgs in that month, retrieve each msg in sequence, parse the 
html for a valid announcement. when all msgs have been parsed, it 
generates a html for each msg, and one RSS xml and one RSS_SECURITY xml.

let me know how i can further tailor the script to your evnironment.

Bill Nottingham wrote:

>It's like http://www.gnome.org/bounties/. Except, simpler. And
>without any cash changing hands. (Sorry.)
>
>Basically, there's stuff that could be done. And never enough
>time to do it all, obviously. So, why not call for volunteers?
>
>Here's an example to run with...
>
>Thomas Chung has listings of the updates at
>  http://fedoranews.org/updates/
>
>This is good, but we'd like to have that on fedora.redhat.com,
>of course. So, what we need is the following:
>
>Hack: Update Mangler/Archiver
> 
> Take an update announcement, say:
>
>http://www.redhat.com/archives/fedora-announce-list/2004-January/msg00002.html
>
>Write a script (python/perl/shell, python probably preferred) that
>takes the announcement, and does the following:
>
>1) spits out into a file some prettified HTML output
>2) updates a RSS xml file, with the following format
>guid=the update id
>link=the html file
>description=the 'update information' section
>(or the changelog, if 'update information' is blank
>3) update a *separate* RSS feed as well, if there's
>[SECURITY] in the update ;)
>
>You could even dump the entire advisory into xml and xslt it into
>whatever, if you so desire.
>
>Send code in response to this message, fedora-devel-list at redhat.com,
>or to me, <notting at redhat.com>. Send flames to /dev/null. :)
>
>Bill
>
>
>  
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getfcupd.pl
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment.pl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment-0001.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment-0002.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment-0003.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment-0004.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rss_sec.xml
Type: text/xml
Size: 2012 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rss.xml
Type: text/xml
Size: 3551 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040124/10d6414c/attachment-0001.xml>


More information about the fedora-devel-list mailing list