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