P is for Practical | |
PerlMonks |
WebFetch::Slashdotby primus (Scribe) |
on Jan 30, 2003 at 20:09 UTC ( [id://231424]=perlquestion: print w/replies, xml ) | Need Help?? |
primus has asked for the wisdom of the Perl Monks concerning the following question: Hail Monks, i was wondering if any of you were familiar with the WebFetch module. I am trying to use the WebFetch::Slashdot module and the url it defaults to is "http://www.slashdot.org/slashdot.xml" (line 44) this used to work, but now slashdot only seems to let you use "http://slashdot.org/slashdot.xml" has anyone else experienced this problem? i know i could just change the value in the pm, but in the documentations it says you can specify an alt_url, "The optional --alt_url parameter allows you to select a different URL to get the headlines from." the documentation gives an example of the usage, but i dont think i am doing it correctly... they say perl -w -MWebFetch::Slashdot -e "&fetch_main" -- --dir directory [--alt_url url [--alt_file file] and i have tried perl -w -MWebFetch::Slashdot -e "&fetch_main" -- --dir D:\ [--alt_url http://slashdot.org/slashdot.xml] if i do it this way it returns a page not found, and if i do it perl -w -MWebFetch::Slashdot -e "&fetch_main" -- --dir D:\ --alt_url http://slashdot.org/slashdot.xml i get an unknown option error. i dont know what i am missing here, thanks for the help monks!
Back to
Seekers of Perl Wisdom
|
|