You must fetch and parse wordpress site feed.
You can use cake XML class (RSS feed is xml document)
App::import('Core', 'Xml');
$worpressPosts= Set::reverse(new XML('http://wordpres_rss_url_here));
pr(worpressPosts);
Or you can use this for various RSS formats
http://bakery.cakephp.org/articles/view/simplepie-cakephp-component
On Dec 22, 6:05 pm, Tonyz <[email protected]> wrote:
> how can I read on the homepage of my cake app the rss feed of another
> site wordpress based? There is a simple way to do so?
>
> Thanks
> Tonyz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---