Oh, it gets better: http://cake.insertdesignhere.com/posts/view/8

On Jan 27, 6:21 pm, MonkeyGirl <[EMAIL PROTECTED]> wrote:
> Hi again!
>
> I'm trying to set up some RSS feeds using CakePHP. I'm very impressed
> at how easy and automated this process is, it's great! After a lot of
> searching, this backup of someone explaining how they did it was a
> great help:
>
> http://web.archive.org/web/20070601202250/jirikupiainen.com/2007/05/3...
>
> I based my code on this, and for the most part, it just works without
> having to change much. I just have two questions though:
>
> 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')
>
> It seems to work, but looks like it may not be the way I'm supposed to
> do it, and I'm eager to learn the correct way to do things.
>
> 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?
>
> Thank you very much,
> 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