RSS to Webpage?

Home Forums Coding & Scripts RSS to Webpage?

This topic contains 1 reply, has 2 voices, and was last updated by  CatWiki 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #208

    Miki
    Participant

    Hi,

    What is the best or easiest way to show an RSS feed content into a webpage?

    Thank you,

    #209

    CatWiki
    Moderator

    This can be done easily using a small PHP code into your website. Check this example of soccer feed inclusion – make the appropriate changes to the code like change the link to the rss feed you want to use and how many posts you want to show, whether you want description or just title etc..

    For example, in line 10 you can change to
    $html .= "<a href=$link target=_blank>$title</a> <br />$description";
    and this changes to show both title and description/content of the feed (previously the code was showing only description)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.