Rss poster robot Custom element support?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lebanon
    New Member
    • May 2005
    • 18
    • 3.0.5

    [Forum] Rss poster robot Custom element support?

    Hello
    Doesnt the RSS robot support custom Elements?
    IE : Channel - XYZ instead of standard title-description
    I have an element incoming called "enclosure" I would like to include that, is this supported without custom hacks?

    More accurately here is a sample of the xml

    <item>
    <title>TEXT TEXT .</description>
    <competitiontag/><zonetags/>
    <link>link</link>
    <pubDate>2012-06-16 19:27:30</pubDate>
    <enclosure url="http://www.link.xx/yz.jpg" type="image/jpeg" />
    </item>The one i need to parse is enclosure url
    thanks

    - - - Updated - - -

    NVM, reading file /includes/class_rss_poster.php shows the attrib for it is :
    enclosure_link
    From the array its creating : foreach ($items AS $item)
    {
    $normalised_item = array(
    'link' => $this->fetch_replacement('link', $item),
    'description' => $this->fetch_replacement('description', $item),
    'title' => $this->fetch_replacement('title', $item),
    'id' => $this->fetch_replacement('id', $item),
    'date' => $this->fetch_replacement('date', $item),
    'enclosure_link' => $this->fetch_replacement('enclosure_link', $item),
    'content' => $this->fetch_replacement('content', $item),
    'author' => $this->fetch_replacement('author', $item)
    );


    Am just posting the answer for those having same issue, as no response was given here.
    Thanks
    Last edited by Lebanon; Sat 16 Jun '12, 1:39pm.

Related Topics

Collapse

Working...