WordPress.org

Support

Support » Installation » Problems with new feed template — Please Help.

Problems with new feed template — Please Help.

  • 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:

    wp('feed=rss');

    Any ideas on what might causing this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with new feed template — Please Help.’ is closed to new replies.