Eric Moritz
unread,Feb 26, 2009, 12:09:38 PM2/26/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Penny Press developers
So here's my latest scheme for how Categories, Tagging and Sections
could work.
Sections are hierarchical, gone are the idea of combined sections.
When viewing a section in the admin you will see it's children and be
able to order their display and limit the number of stories displayed
on the section front.
Sections are mapped to categories to build a story list. Sections with
child sections can inherit the categories of it's children to build a
story list.
Categories work as tag intersections so a "High School Sports"
category would be the tag intersection of: "high school", and
"sports" .
When a section has multiple categories, the stories are selected by
each tag intersection and the story list is a union of those
stories.
For instance a "Local Sports" section could have two categories, "High
School Sports"=tags:"high school", "sports", "local" and "Optimist
Sports"=tags:"optimist", "sports", "local". When the story list is
retrieved it retrieves stories that are tagged, ("high school" and
"sports" and "local") or ("optimist", "sports", "local")
Stories are mapped directly to tags which act like topics, "high
school", "sports", etc.
So here's an example of a section hierarchy:
Sports; cat:Sports:"sports"
|
+- Local; cat:Local Sports=tags:"sports", "local"; can inherit
cats:"High School Sports", "Optimist Sports"
| |
| -- High School; cat:High School Sports=tags:"sports",
"local", "high school"
| |
| -- Optimist; cat:Optimist Sports=tags:"sports", "local",
"optimist"
|
+- College; cat:College Sports=tags:"sports","college"