Put another website's RSS feed into my website

19,636

Solution 1

Just add this widget to ypur page. https://www.rssinclude.com/

Solution 2

If you have url-file-access enable, just use

$result=file_get_contents("http://www.wthr.com/category/23903/local-news?clienttype=rss");

To get the content of the URL saved in $result All you have to do after is to parse the Data in $result.

Solution 3

You can use Google api for it. Please find url given below..

Google API for Rss Feed

Share:
19,636
Brett Merrifield
Author by

Brett Merrifield

Updated on June 04, 2022

Comments

  • Brett Merrifield
    Brett Merrifield about 2 years

    Possible Duplicate:
    How to display RSS feeds from other sites

    What I want: I want a "news feed" on my website. This feed will display updated news from a news website. All I want is the title, date, and basic description of the last three "news posts" inside of a small scrollbox on my website.

    What I can use: The news website I want to grab the news from has an RSS Feed ( http://www.wthr.com/category/23903/local-news?clienttype=rss ).

    How do i do this?

  • Brett Merrifield
    Brett Merrifield over 11 years
    can you give me some tutorial on parsing this data?
  • stocker4all
    stocker4all over 11 years
  • Brett Merrifield
    Brett Merrifield over 11 years
    I found this to be the simplest way to get the job done. Thanks a bunch!!!! :]
  • Rodrigo
    Rodrigo over 2 years
    You should teach the OP how to achieve this using PHP, not a third-party website (which is down, by the way).
  • Rodrigo
    Rodrigo over 2 years
    No matches for "rss" or "feed". You should teach the OP how to achieve this using PHP, not a third-party website.