WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] RSS Custom Fields (2 posts)

  1. makinitmine
    Member
    Posted 1 year ago #

    So I'm able to get custom fields into my rss feed with a plugin, but I can't seem to retrieve the information I want to store in these custom fields. I've tried both having the information <>here</> and <="here"></>
    but nothing I've tried thus far has been able to pull the information out.

  2. makinitmine
    Member
    Posted 1 year ago #

    ok I found an answer through a friend. Basically I was trying to use methods from simplepie (which is the direction I went because the first error message I got said something about simplepie) and instead he suggested doing:

    $content = file_get_contents($url);
    $xml = new SimpleXMLElement($content);
    foreach($xml->XMLTAG as $item){}

    which ended working out awesomely.

Topic Closed

This topic has been closed to new replies.

About this Topic