| Author |
Message |
jaydarji
Beginner


Joined: Apr 08, 2003 Posts: 1
|
Posted: Tue Apr 08, 2003 12:04 pm Post subject: CNN Feed Install Help Please |
|
|
Hi! I would like to install the CNN feed on a new website I am making, but I don't know how to go about doing it? Is there a place where I can find some documentation about implementing RSS step by step? Yep, I'm a newbie Thanks! |
|
| Back to top |
|
|
AdBot
|
| Post subject: CNN Feed Install Help Please |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Apr 08, 2003 12:25 pm Post subject: |
|
|
all you need to do is copy that file into a directory somewhere (i'm assuming you're using Linux), and make it executable to the owner only (chmod u+rx cnn.pl). then just run "perl cnn.pl" from the command prompt. also make sure that you get the perl modules from CPAN that you need to implement the XML and RSS.
edit: what are the error messages you get when you run it? that will tell you what modules you will need. _________________
 |
|
| Back to top |
|
|
moebis
Beginner


Joined: Apr 08, 2003 Posts: 1
|
Posted: Tue Apr 08, 2003 2:31 pm Post subject: Why Perl |
|
|
How do I run this on a Winbox? I really don't feel like running perl on top of a already very capable scripting language PHP. Why didn't you just implement this in PHP? I could see this being popular if you converted it to work as a nice PHP script for nuke.
...just a friendly suggestion. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Apr 08, 2003 2:43 pm Post subject: |
|
|
for starters, i didn't author the original script. i will take a look at this and see how difficult it would be to convert it to PHP. if you want, I can give you the URL of my XML files for the interim. _________________
 |
|
| Back to top |
|
|
grizz
Beginner


Joined: Apr 09, 2003 Posts: 1
|
Posted: Wed Apr 09, 2003 3:04 am Post subject: |
|
|
dari,
when i try and run that .pl i get the following error.. Got any suggestions?
perl cnn_headlines.pl
Can't locate HTTP/Request.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at cnn_headlines.pl line 3.
BEGIN failed--compilation aborted at cnn_headlines.pl line 3.
Thanks,
grizz |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
|
|
|
|
|