I am trying to get information from a RSS feed, and it I have managed to what I want using PHP and Jquery, but I want to cron it, and at the moment my app starts using .js, which my host says cannot be started with cron.
If I use SimpleXML_load_file, it brings with it everything, accept the attributes within <item>....</item>
and a child <a10:updated>
Here is a section of raw feed:
SimpleXMLElement Object ( [@attributes] => Array ( [version] => 2.0 )
[channel] => SimpleXMLElement Object
(
[title] => Bills from current Parliamentary Session
[link] => http://services.parliament.uk/bills
[description] => SimpleXMLElement Object
(
)
[item] => Array
(
[0] => SimpleXMLElement Object
(
[guid] => http://services.parliament.uk/bills/2013-14/finance.html
[link] => http://services.parliament.uk/bills/2013-14/finance.html
[category] => Array
(
[0] => Commons
[1] => Government Bill
)
[title] => Finance
[description] => A Bill To grant certain duties, to alter other duties, and to amend the law relating to the National Debt and the Public Revenue, and to make further provision in connection with finance.
)
[1] => SimpleXMLElement Object
(
[guid] => http://services.parliament.uk/bills/2013-14/humberbridge.html
[link] => http://services.parliament.uk/bills/2013-14/humberbridge.html
[category] => Array
(
[0] => Lords
[1] => Private Bill
)
[title] => Humber Bridge
[description] => A Bill to amend the constitution of the Humber Bridge Board and to confer new borrowing and other powers on it; to make new provision for the recovery of any deficit of the Board from local authorities in the area; to confer new powers for the setting and revision of tolls and to make other provision for and in connection with the operation of the bridge; and for connected purposes.
)
And here is the rss feed: http://services.parliament.uk/bills/AllBills.rss
Is there another way to get raw rss that adds all ?