"Benny Degezelle" <[EMAIL PROTECTED]> writes:

> Hi list,
>
> I was wondering if anybody is using acts_as_taggable(_on_steroids) on their
> pages yet?

No, but I've started something similar (code is still very alpha) that
parses a page part as a YAML hash, indexes this and provides tags for
accessing it.  The basic idea is to allow any arbitrary structured
data to be applied to a page in a simple way.

So, for example, you'd create a new page part called "meta" which
would contain something like:

    tags: ruby,coding,web_dev

or even something more complex like the data for an hcalendar:

    id:         apachecon_europe_2008
    summary:    ApacheCon Europe 2008
    start_date: April 7
    end_date:   April 11
    dtstart:    20080407
    dtend:      20080411
    location:   Movenpick Hotel, Amsterdam
    url:        http://eu.apachecon.com
    description: >
      ApacheCon is a week of open source goodness straight from the
      source of the Apache Software Foundation, featuring 15 intense
      training classes over two days followed by three days of more
      than 50 sessions by the creators of open source software such
      as the Apache webserver, Tomcat, Lucene, Wicket and more.

I can then access this as a tag like this:

    <r:meta  key="tags" />

I'm now working on a controller that would act as an index for this
meta data:

    http://example.com/{key}/{value}
                         ^      ^
                         |      returns all pages with this key:value
                         returns a list of all values for the key

Anyway, I'm still just playing around with this and I'm not convinced
yet if it's a good idea, but it could certainly be used to (1) do
tagging and (2) enhance the page model without any coding.

-- 
  J Aaron Farr     jadetower.com        [US] +1 724-964-4515 
    馮傑仁          cubiclemuses.com     [HK] +852 8123-7905  
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to