Thanks for your response. Your program has some notable improvements over mine:
- you use LWP::Simple's mirror instead of get. This is much more directly suited to the job. One weakness of my code is that it attempts to download the RDF feed every time a user visits the page, whereas I could use mirror to inexpensively check for updates and only download the new RDF feed if there are modifications.
- you also use LWP::Simple's is_success to check the success of the RDF feed download. This tool is directly applicable to the problem of not being able to receive the RDF feed, whereas mine is a bit jury-rigged.
Now my only problem is finding RDF feeds in Catalan.
Thanks again. I will incorporate your improvements into my program.
--
Zeno - Barcelona Perl Mongers http://barcelona.pm.org
http://www.javajunkies.org
|