Actually, that is the exact right syntax, just one minor difference.
$html->meta('title of feed', '/controller/action.rss');
Thanks for the help Johnathon!
on a side note: @Chris, the reason why I wanted to see if there was a way to
do it through cake, is two fold: 1) it's a fair bit less text to put into
the code file, making the file itself shorter, and 2) I am still a student,
and I know the HTML/XHTML side of things, but I'm learning how to read code
documentation still, and wanted to know if there was more to the code than I
was reading into it after looking through the html.php file source.
--
In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)
On Wed, Jul 9, 2008 at 15:02, Jonathan Snook <[EMAIL PROTECTED]>
wrote:
>
> > Well, I think including something that is browser-specific is not a
> > good idea. Not everyone uses Firefox. Secondly, what's so hard about
> > adding it by hand to your layout file? It's just one line.
>
> Actually, it's not FF specific. The auto-discovery is a feature that
> has found its way into many other browsers.
>
> And really, what's so hard about adding one line of CSS to your layout
> file? or one line of JS to your layout file? CakePHP is there to help
> you!
>
> Anyways, the answer is:
>
> $html->meta('rss', '/controllername/actionname.rss');
>
> I haven't looked at it too closely so that syntax may be slightly off.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---