Is there anyway to set make an RSS feed title dynamic? I'm not talking
about the item titles, but the single title that is referenced from
pageTitle.
I know that you can alter it statically, but I have setup an RSS feed
for all of my categories (from one view/action), so cannot declare an
individual title for each feed (besides that would go against the DRY
philosophy).
I have tried in both the view and controller to use a variable for the
title but it just doesn't work.
E.g:
// grab category name and store in a variable:
$pageTitle = $this->pageTitle = $data['Category']['name'];
// Set channel variables for feed:
$channel = array (
'title' => $pageTitle,
Has anybody managed this?
Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---