[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GrabNews - ASP RDF/RSS newsgrabber
I didn't convey my solution well. I meant that you would run the cron
(or other automation) on one of your own personal pc's (i.e. one at
home or at work). Then it would generate the .js file and upload it
via FTP on a regular basis into a directory on your server. Then your
ISP doesn't have to do anything different. You are just periodically
copying new headlines from your machine up to the server.
John Munsch
www.johnmunsch.com
--- In syndication@y..., Rod Davies <rdavies@o...> wrote:
>
> Thanks John,
>
> Yes we use js like that.
>
> The problem is not so much depending the site hosting the feed,
though it
> would be better as it reduces load on their site, but that our sites
are
> remotely hosted on an IIS NT machine, and communication is not good
with
> our hosting service people. As I said, anytime we want to touch
anything
> there is a big fee involved.
>
> So doing something similar to cron on UNIX on a NT set up I guess would
> involve the host installing and doing some work. I am looking for
something
> where we can do it all remotely.
>
> We do have ftp access and cgi access but anything else of course we
cant
> change without asking the server guys to do it on our behalf.
>
> I look forward to having a look at your site.
>
> Thanks again...
>
>
>
>
> At 01:43 AM 8/20/01, you wrote:
> >I'm assuming you currently use something like this:
> >
> ><SCRIPT LANGUAGE="JavaScript"
SRC="/headlines/entertainment.js"></SCRIPT>
> >
> >to refer to a javascript file that will write the headlines for you
> >and the file is being generated by another site.
> >
> >My own RSS project HotSheet
> >(http://www.johnmunsch.com/projects/HotSheet) has an RSS library that
> >comes with it. One of the example programs that demonstrates using the
> >library takes a URL on the command line and the name of a .js script
> >to write to and it pulls the channel and writes it to a javascript
file.
> >
> >You could combine the two and schedule them to run periodically on one
> >of your machines and you would be able to syndicate everything to your
> >websites without needing anybody else's site to be up and working.
> >After you generate the file you could automatically upload it to your
> >server using something like curl (http://curl.haxx.se/).
> >
> >John Munsch
> >
> >P.S. If you want to be able to use the HotSheet RSS library and see
> >the demo program you need to download the latest version of the source
> >from the SourceForge project page
> >(http://sourceforge.net/projects/hotsheet/).