Howdy
I'm using RestfulService to get RSS feeds from internal website to integrate into our website:
function RestfulLinks($url, $delimiter, $interval){
$rssfeed = new RestfulService($url,$interval);
$conn = $rssfeed->request('')->getBody();
$result = $rssfeed->getValues($conn, $delimiter);
return $result;
}
This work for Atom feeds using "entry" as a delimiter like this one: http://itson.co.nz/feeds/all/
But when I try to use it to access a bog standard RSS feed using "item" as delimiter it fails. Here's an example (Silverstripe) feed it's failing on: http://www.nelsontasmancivildefence.co.nz/news/rss
The RSS feeds are coming through fine and if I use "channel" as a delimiter it pulls through the channel information.
This would suggest that the problem is around
getValues($conn, $delimiter)
Does anyone have any ideas why this would be happening? I'm on SS2.4
Cheers
Tama