Hello Zoe,

I have just used the rsshelper over the weekend and have it done exactly as
in
Nate sample:

<?php
    $channel = array('title'=>$search.' Suche via RSS-Suchmaschine');
    $this->pageTitle = $search.' gesucht via RSS-Suchmaschine.de';
    echo $rss->items($data, 'transformRSS');

    function transformRSS($data) {

        return array(

            'title' => $data['Feed']['titel'],
            'link'  => $data['Feed']['xmlurl'],
            'guid'  => array('action' => 'view', $data['Feed']['id']),
            'description' => $data['Feed']['description'],
            //'author' => $data['User']['name'],
            'pubDate' => $data['Feed']['modified']

        );

    }
?>

Just used pageTitle to set the title of the feed. Works like expected ;)

2008/1/28, MonkeyGirl <[EMAIL PROTECTED]>:
>
>
>
> So to answer my original question, the fix is to do a foreach loop on
> the array first, transforming the content with helpers, and *then* use
> $rss->items after that.
>
>

-- 
Siegfried Hirsch

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to