Zoe, If you are following the example given by Nate, I think your problem might be that you're trying to access the helpers inside the callback function, and they are out of the scope there.
You should truncate the data before passing it to the RSS function or see how to pass the helper as a parameter to the function. -- Matias Lespiau http://www.gignus.com/ On Jan 28, 2008 8:45 AM, MonkeyGirl <[EMAIL PROTECTED]> wrote: > > Thanks for the links everyone! To answer my own first question, then: > > > 1. How can I tell if someone's requesting the RSS version of a page or > > the regular HTML version? At the moment, I've got this in my > > controller: > > > > if ($this->RequestHandler->__renderType == 'rss') > > I've replaced that with this, which seems right: > > if ($this->RequestHandler->isRss()) > > But I'm still not sure how to fix this: > > > 2. The RSS feed doesn't know about all the helpers I specify in my > > app_controller.php file. How can I tell it about them? > > I'm trying to truncate the content of each item in the RSS feeds, > which uses the Text helper. It looks like the Rss helper is > automatically overriding that, and I'm not sure how to include it back > in again. > > I looked at all the helper related information in all the links you > provided, but the only helper specific line I could find was about > $rss->items, pertaining to the RSS helper itself. > > I'm sure I'm just missing one very simple thing at this point but if > anyone could just directly tell me what it is, it'd really help me > out! > > Thanks again, > Zoe. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---