Get exclusive CAP network offers from top brands

View CAP Offers

Importing an RSS feed

[bsa_pro_ad_space id=2]
  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #608557
    KamielM
    Member

    Can someone tell me the best way to go about importing an RSS feed into a static HTML website?

    Do I need to use something like PHP or is there an easier way to go about things?

    Thanks alot,

    #766245
    Anonymous
    Inactive

    There are javascripts that you can use to display an RSS feed that you can use in static HTML pages.

    TRy this site … xhttp://www.rss-to-javascript.com/
    :hattip:

    #766269
    Anonymous
    Inactive

    The javascript solution works but will have no SEO benefit, in some cases a negative effect. What you can do is (with one line of code in your .htaccess file) make your HTML capable of running PHP and then get “Magpie RSS” (PHP) to do what you want.

    #766275
    KamielM
    Member

    Thanks very much for the replies – if my server is already running PHP, do I still need to ammend the .htaccess file?

    #766277
    Anonymous
    Inactive

    @MortimerJazz 160457 wrote:

    Thanks very much for the replies – if my server is already running PHP, do I still need to ammend the .htaccess file?

    If your pages have the “.html” or “.htm” extension then yes. Depends on your server as to which line of code you need to add (see Section 2 here).

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