[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FedoraJobs: Calls For Hacks



Bill Nottingham wrote:

Ivan Leong (lstfedoradevel mw hn org) said:

you also didn't specify the environment, ie, how often it runs, against which URL 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.



Ah, that's what I get for under-specifying.


I meant operating on just the announcement message itself, although
this can definitely work.


to operate on just the annoucement itself, invoke the "process" perl subroutine with the URL of the announcement. i did figured you might want to do just this so i made the main processing a subroutine.

also, the output (rss & html) routines simply prints out the gathered data (in the "%upd" hash), so it is easy to change the output.

I'll play with this some more next week and have more comments then.


oh, and since all this is text (html) processing & reporting, i thought perl would be the best fit.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]