HTML table to XML for AWK

view full story

http://ubuntuforums.org – I'm attempting to create a script that will automatically download new torrents based on search criteria. I'm up to the point where I've scraped the results page and need to filter the results to give me the most recent listing. The format is simple: <TABLE> <TR><TD>TYPE</TD><TD>NAME</TD><TD>LINK</TD><TD>DATE</TD></TR> <TR><TD>SCIFI</TD><TD>AI</TD><TD>AI.TORRENT</TD><TD>021212<TD></TR> <TR><TD>SCIFI</TD><TD>AI</TD><TD>BC.TORR (Hardware)