sry, been away
attached is the changed file
my extra option is -P (for printed version)
and takes a parameter which is
from-url;to-url;
which is a normal reg expression
an example of my command line would be:
Code:
getfeed.pl
-o BBC.tex
-F tex
-S ../res/iliad.sty
-s
-r
-t BBC
-C "/usr/texbin/pdflatex -interaction=nonstopmode BBC.tex"
-f "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml;<div class="headline">;<div class="footer">"
-P 'http:\/\/(.*);http://newsvote.bbc.co.uk/mpapps/pagetools/print/;'
the trick is to workout, how to get from the rss url to the print, but often its surprisingly simple (as is the case with the bbc)