Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: RSS advice

  1. #1
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    RSS advice

    Hi,

    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 ?

    Thanks

  • #2
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,395
    Thanks
    8
    Thanked 1,078 Times in 1,069 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Master Coder mlseim's Avatar
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,395
    Thanks
    8
    Thanked 1,078 Times in 1,069 Posts
    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.

  • #5
    Regular Coder medigerati's Avatar
    Join Date
    Jul 2005
    Location
    San Antonio, Tx
    Posts
    163
    Thanks
    0
    Thanked 7 Times in 7 Posts
    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?
    If you need a little more help, I'm available as a Website designer in San Antonio
    ----------
    If I've helped, please check out my friend's nature photography and let me know if you like anything.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •