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

You're exactly right, thank you *very* much! I foolishly assumed
CakePHP was somehow hiding or not calling in the helpers (I should
never assume anything...), when the actual problem was that I was
trying to call the helpers form within the transformRSS function I'd
made.

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.

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

Reply via email to