VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1 ]
Subject: Re: Another Dumb Question....


Author:
Dick Brandt
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 09:49:56 09/10/05 Sat
In reply to: AndyF 's message, "Another Dumb Question...." on 05:42:42 09/10/05 Sat

>O.K., here's another dumb one from a newbie!

I'm new, too, Andy, but maybe I can help.

>Now, it's not quite clear how to get feeds into my
>regular HTML web site.

Take a look at the home page at http://screensaverwisdom.com. This page is html, but I changed its name from index.html to index.php. That's the way you tell your server to parse your code and look for php commands stuck in there amongst the html.

BTW, pay no attention to script error messages. I'm currently working with the javascript on this page, and the errors have nothing at all to do with the rss display or Carp.

Near the end of the file for this page, I stuck in this code:

Note the formatting style and a heading are plain old html, but then the rest (between )is a block of php code that sets some options in carp's configuration and finally shows three recent items from about.com's quotations rss feed.

I had trouble with this, too. Probably the hardest part was knowing how to enter the path to Carp. You have to use the complete server path to your \CARP directory, and you may have to get that from your hosting company.

Note also that I have changed the real user name here to "dicksplace" for security reasons.

Also make sure that you have all the right permissions set for the directories that Carp uses. I have my CARP directory set to CHMOD drwxr-xr-x (755), the three cache directories to drwx------ (700), and all the Carp files, including carp.php, to -rw-r--r--r (644). That probably leaves some holes in security, but for now I'm just trying to get this to work. I'll deal with the permissions later.

>Feeds that I like are XML. How do incorporate that
>with the carp scripts or files? Others are rss I
>guess.

The feed described above _is_ XML -- note the URL.

I think you may need GROUPER Evolution for some feeds, though, like some blogs and atom files. It's less than 15 USD, though, so that's not a big deal.

I'm just getting ready to test that out. I bought both KOI and GROUPER yesterday, but haven't had time to play with GROUPER yet. KOI works fine, as you can see.

HTH,

Dick Brandt

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: Another Dumb Question....Dick Brandt11:14:48 09/10/05 Sat


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.