Add PHP RSS feeds to plain HTML pages

Discussion in 'XML & RSS' started by Alevoor, Oct 1, 2007.

  1. #1
    I would like help to add the .php RSS feeds obtained from http://rssfeedreader.com/ to my plain html pages.
    The help page on the site tells to either convert plain html to .shtml or .php or use javascript instead which I don't like.

    My server is windows, is there support for this?
    Here is my health care site.

    Thanks in advance.
     
    Alevoor, Oct 1, 2007 IP
  2. affycons

    affycons Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I do this by naming my pages .shtml and including the php feed parsed file as an SSI include.

    The only reason this is necessary rather than leaving them .html is that some hosts require this for the SSI includes to work. I believe you can alternatively add a line to your htaccess file that will allow this to work with .html.
     
    affycons, Oct 10, 2007 IP
  3. Alevoor

    Alevoor Active Member

    Messages:
    1,573
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Oh! thanks, let me give it a try.
     
    Alevoor, Oct 10, 2007 IP
  4. Alevoor

    Alevoor Active Member

    Messages:
    1,573
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #4
    What is this? Irrelevant?
     
    Alevoor, Aug 26, 2010 IP