View Full Version : RSS advice

03-25-2007, 07:53 PM

I want to pull in a feed of my sites latest news headlines. I was using javascript but obviously its not search friendly. Also I dont want to turn the page into .php.

Could anyone advise on other options for search engines ?


03-26-2007, 03:02 PM
Pamela ...

Why not PHP? It's search engine friendly, as the engine does not see
the PHP code, but sees the output (the final HTML results).

It's so commonly used, it doesn't usually even bear mentioning.

03-26-2007, 09:47 PM
Correct me if Im wrong but this would mean making the page into .php which is apparently something I have been asked not to do.

Instead they wanted to use an SSI or javascript, but obviously the latter is not search friendly.

03-26-2007, 10:36 PM
There is another option though ....

Look into .htaccess to have ALL pages parsed as PHP, even without
the .php extension. and/or ask your webhost or IT person about that.

03-27-2007, 05:37 PM
Perhaps you could use PHP to recreate the static HTML page every 30 minutes (or however often you want it updated). Instead of inserting PHP into the main page, just create a PHP script that will re-write the static HTML page when a new RSS item is found. Does that make sense?