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
]
| |