Problems with new feed template -- Please Help. (3 posts)

  1. Joe Hall
    Posted 9 years ago #

    Hello everyone!

    I just finished creating my customized RSS Feed Template, by taking the wp-rss.php and editing it. I have placed it along side all of the default feed templates. However, I can not seem to get it working. This is the error that I get:

    Fatal error: Call to undefined function: wp() in /home/c21atb/public_html/wp-myfeed.php on line 5

    Line 5 on wp-myfeed.php reads:


    Any ideas on what might causing this issue?

  2. Chris_K
    Posted 9 years ago #

    A) Might be helpful if folks could see your wp_myfeed.php file (http://wordpress.pastebin.ca would be a good place to use -- don't post it here!)

    B) Out of curiosity... what is it you're trying to do? Feeds are for feed readers, not human eyes. Why are you styling it?

  3. Joe Hall
    Posted 9 years ago #

    I am integrating my site with a service that uses XML feeds to transfer data into their databases. They provide a XML template that allows those that wish to, to create a XML file for their software to crawl on a regular basis. I figured that instead of remaking the XML sheet every time the site updates I would just make a RSS Feed with the XML template tags embedded in it. Thats basically what I am trying to accomplish.

Topic Closed

This topic has been closed to new replies.

About this Topic