The _only_ output I get from items() is '<item>'...there is nothing to wrap. as I said, item() returns the tags and content as expected, but even if I assign string constants directly to the rss elements in transformRSS I get nothing out (except the opening item tag). The time I've spent here I could probably have fixed it, but I have other things to do and my workaround was, for me anyway, more MVC. In rss/index.ctp: [code] <?php foreach ($blocs as $bloc): echo "\n<item>"; echo "\n<title>".$bloc['Bloc']['title']."</title>"; echo "\n<link>http://www.example.net/public_html/blocs/view/". $bloc['Bloc']['id']."</link>"; echo "\n<guid>http:///www.example.net/public_html/blocs/view/". $bloc['Bloc']['id']."</guid>"; echo "\n<description>".htmlentities ($bloc['Bloc']['text'])."</ description>"; echo "\n<pubDate>".$bloc['Bloc']['modified']."</pubDate>"; echo "\n</item>"; endforeach; ?> [/code]
On Feb 1, 1:27 am, nate <[EMAIL PROTECTED]> wrote: > How is this a bug? Why can't you just wrap the output in an <items /> > tag? > > On Jan 31, 12:21 pm, leo <[EMAIL PROTECTED]> wrote: > > > > How about you back up that statement by making a bug report over at > > > trac.cakephp.org. > > > I did that before the last guy bit my head off. (#4038: > > RssHelper::items() dysfunctional) I'd like to think it's not a bug but > > nobody seemed to notice my earlier posts, so I don't have any input > > other than the apparent disbelief that there may be something wrong. > > > I found your article very useful and wouldn't have been able to > > proceed down this path without it - thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---