Gossamer Forum
Home : General : Perl Programming :

Help needed with a Perl script (not from Gossamer)

Quote Reply
Help needed with a Perl script (not from Gossamer)
Dear all,

I hope the following posting is not inappropriate for this part of the messageboard as it is not related to a Gossamer Threads script (although we do use their Fileman to edit our sites).

Basically, we are trying to install the perlscript which is shown at
http://guardianunlimited.co.uk/distribution/harvesters/perlscript/0,7192,,00.html

What this does is pull/harvest newsfeeds from the Guardian Unlimited's site.

We would like to integrate the following literature news to our site:

http://www.guardianunlimited.co.uk/Distribution/Artifact_Trail_Block/0,5184,102937-0-,00.html

However, there are no instructions provided for the script and our knowledge of Perl is not great.

It has taken up a lot of our time and we have no other source for help.

Can anybody possibly help us? I reckon it wouldn't take anybody more than half an hour to install/ammend the script.

We would be pleased to renumerate anybody who can help us for their time.

Incidentally, does anybody know of any other company which provides specific literature/book newsfeeds (other than isyndicate)? We'd like one which doesn't show the headlines, but the first paragraph or so of the actual news on our site as well.

Thank you VERY much.

Yours sincerely,
N. Azam
Litmania.com Inc.

http://freebanners.xrs.net
Quote Reply
Re: Help needed with a Perl script (not from Gossamer) In reply to
Don't know if this is what your looking for or not, try http://www.anaconda.net they have a news script available, though I think they charge some big bucks for it.

Harrison


"I've got if's pretty good, but that's about it"
Quote Reply
Re: Help needed with a Perl script (not from Gossamer) In reply to
Hi Nazam

Sympathise with you completely I tried this about 2-3 months ago.

here

#!/usr/bin/perl
use strict;use LWP::Simple;
print 'Content-type: text/html',"\n\n";
my($doc) = get 'http://www.guardianunlimited.co.uk/Distribution/Artifact_Trail_Block/0,5184,44662-0-3,00.html/

';
print "$doc\n";

PLEASE NOTE THIS IS NOT MY WORK (it works though)

I ask you to visit this site

http://www.webmasters-resources.com/cgibin/ubb/Ultimate.cgi

check the cgi forum, you may have to reset the time period, however the last post was in July this year, there are two scripts in this thread for just your needs, the one above and a better script.

The above script was supplied by Frank

Good Luck

DavyC