If a planetplanet like application is made for web2py, then I made an
RSS just for web2py category.

http://thadeusb.com/weblog/feed.rss/category/Web2py

-Thadeus





On Sun, Jan 3, 2010 at 7:17 PM, Thadeus Burgess <thade...@thadeusb.com> wrote:
> Basically it gets parsed into request.args.
>
> So
>
> http://thadeusb.com/weblog/category/Web Development
>
> has a request.args of
>
> ['Web Development',]
>
> So I then take that name, query my category database to pull its 'id',
> and then use db.page.categories.like('|'+id+'|') since categories are
> a one-to-many foreign key relationship.
>
> My category class uses a modified pre-order tree traversal to handle
> hierarchies.
>
> -Thadeus
>
>
>
>
>
> On Thu, Dec 31, 2009 at 12:50 PM, Leandro - ProfessionalIT
> <lsever...@gmail.com> wrote:
>> Hi Thadeus,
>>
>>  How do you do to show the posts in determined category where you
>> have two or more words in the name of you category ? I'm looking in
>> your blog now and see this in : 
>> http://web2py.thadeusb.com/weblog/category/Web
>> Development
>>
>>  Do you can show me the code of controller of categoy function ? You
>> capture the request.args and iterate on it ?
>>
>>  In my case, I get a variable called category_name :
>>
>>  http://www.leandro.inf.br/blog/category/?category_name='Software
>> Livre'
>>
>> -- Leandro.
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To post to this group, send email to web...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> web2py+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/web2py?hl=en.
>>
>>
>>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to