Re: Named Params with RSS extension

2008-03-28 Thread Dardo Sordi Bogado

Try :

/articles/index/Author:Ernest Hemingway.rss

On Fri, Mar 28, 2008 at 2:16 PM, Damon <[EMAIL PROTECTED]> wrote:
>
>  I have an articles section for which I'd like an RSS feed.  This
>  articles section may be filtered by author, category, or both, such
>  that all of the following may occur:
>  /articles/index/Author:Ernest Hemingway/
>  /articles/index/Author:Ernest Hemingway/Category:Old Men,Bodies of
>  Water/
>  /articles/index/Category:Old Men,Bodies of Water/
>
>  With a simple router.php parse I am able to serve the full list of
>  articles:
>  Router::parseExtensions('rss');
>  --serves:--
>  /articles.rss/
>  -or-
>  /articles/index.rss
>
>  but I am not able to use the named params:
>  /articles.rss/index/Author:Ernest Hemingway/
>  /articles.rss/index/Author:Ernest Hemingway/Category:Old Men,Bodies of
>  Water/
>  /articles.rss/index/Category:Old Men,Bodies of Water/
>  --or--
>  /articles/index.rss/Author:Ernest Hemingway/
>  /articles/index.rss/Author:Ernest Hemingway/Category:Old Men,Bodies of
>  Water/
>  /articles/index.rss/Category:Old Men,Bodies of Water/
>
>  What am I missing?  Is this possible?
>
>  >
>

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



Named Params with RSS extension

2008-03-28 Thread Damon

I have an articles section for which I'd like an RSS feed.  This
articles section may be filtered by author, category, or both, such
that all of the following may occur:
/articles/index/Author:Ernest Hemingway/
/articles/index/Author:Ernest Hemingway/Category:Old Men,Bodies of
Water/
/articles/index/Category:Old Men,Bodies of Water/

With a simple router.php parse I am able to serve the full list of
articles:
Router::parseExtensions('rss');
--serves:--
/articles.rss/
-or-
/articles/index.rss

but I am not able to use the named params:
/articles.rss/index/Author:Ernest Hemingway/
/articles.rss/index/Author:Ernest Hemingway/Category:Old Men,Bodies of
Water/
/articles.rss/index/Category:Old Men,Bodies of Water/
--or--
/articles/index.rss/Author:Ernest Hemingway/
/articles/index.rss/Author:Ernest Hemingway/Category:Old Men,Bodies of
Water/
/articles/index.rss/Category:Old Men,Bodies of Water/

What am I missing?  Is this possible?

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