WordPress.org

Ready to get started?Download WordPress

Forums

Feeds from host (5 posts)

  1. pizzaman
    Member
    Posted 9 years ago #

    My host offers content feeds. In order to include them on my site I need to add the following line:

    <!--#include virtual="/v-cgi/feeds.cgi?feedid=###"-->

    I tried it but it doesn't work. Can someone give me a clue?
    Thanks

  2. moshu
    Member
    Posted 9 years ago #

    That's the code to be included in a .shtml file. WP uses .php files.
    You should use proper php include - if it's possible.
    Note: if you want to include them in a post or Page you will have to install one of the plugins that make it possible, phpexe or runphp.

  3. Kafkaesqui

    Posted 9 years ago #

  4. pizzaman
    Member
    Posted 9 years ago #

    Thanks Kaf!!! I just tried it and it works.
    I didn't realize there was a PHP equivalent for that.

  5. Kafkaesqui

    Posted 9 years ago #

    Having been on the SSI and Perl side of web development for several years, I'm often amazed by the number of equivalents I stumble across in PHP. :)

Topic Closed

This topic has been closed to new replies.

About this Topic