ZF2 is still PHP... You can keep doing that... Consider looking into
`Zend\Feed\Reader` anyway (
http://framework.zend.com/manual/2.0/en/modules/zend.feed.importing.html )

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 13 February 2013 10:28, sand...@orangemantra.com <
sand...@orangemantra.com> wrote:

> Hi,
>
> I am fetching feeds for my website. The solution for php is given below. I
> dont know how to use zf2 library for this. Please tell me which library to
> use for this and also, the solution if possible. It is urgently needed
> please help.
>
>
> Below code is working fine in php, i want to use it in zf2 or any
> alternative
>
>         $feed = file_get_contents('http://**feeds.feedburner.com/**
> SportsProDailyDeal?format=xml'<http://feeds.feedburner.com/SportsProDailyDeal?format=xml'>
> **);
>
>         $feed_to_array = (array) new SimpleXmlElement($feed);
>
>
> how to use SimpleXmlElement in zf2. I am very new to zend.
>
>
> Thanks
> sandy
>
> --
> List: fw-general@lists.zend.com
> Info: http://framework.zend.com/**archives<http://framework.zend.com/archives>
> Unsubscribe: 
> fw-general-unsubscribe@lists.**zend.com<fw-general-unsubscr...@lists.zend.com>
>
>
>

Reply via email to