What I described was situation where a category had no direct representation on the site. I.E. the category /local/sports/ would not be the url /local/sports/. There can be a section called /local/sports/ that a story can be assigned to. Though this has nothing to do with categories.
i.e
class Story:
...
section = ForeignKey(Section)
...
Categories are used for categorization not display. We'll use those to relate stories together, but not in the direct path to the story. We need to reduce the number of paths and forks to a story to simplify the user-experience.
Speaking of simplification. Since Penny Press is going to be geared towards local news, do you think we should stop using /local/sports/ shouldn't it just be /sports/ and it'll be assumed to be local? What do you think? /local/sports/ seems to be way to specific for no good reason. That's just me.
E.
I agree with you on how the sections should work. I think that makes
perfect sense.
>
> Categories are used for categorization not display. We'll use those to
> relate stories together, but not in the direct path to the story. We need
> to reduce the number of paths and forks to a story to simplify the
> user-experience.
I think that sections should be used to provide the direct path to the
story. I agree messing with the category beast for a structure in a
story url is too messy and doesn't really provide a good way to have
one story to be placed in multiple categories. I think that categories
and their structure lead to a very good method to have archives and
possible APIs to the site. The structure of categories works perfectly
with a url structure and could be provided for free with a few lines
of generic views.
I imagine a small paper that has news, sports and entertainment.
Obviously they would need to create news, sports and entertainment
sections for there site to look complete. I see news/politics being an
interesting category for readers, but not necessarily one that most
small newspapers could be able to create a page for and to maintain.
Django gives us generic archive views that can automatically make an
archive politics page without needing to create a section to go along
with it.
There is no need for there to be any links to these archive pages that
would confuse or fork the readership, but it could provide a valuable
resource to the reporter and if the paper so feels fit, they can link
to a deep category without needing to set up a section for it.
I don't see this as a main way to navigate the site. It's just
utilization of categorization to make things easier for free.
> Speaking of simplification. Since Penny Press is going to be geared towards
> local news, do you think we should stop using /local/sports/ shouldn't it
> just be /sports/ and it'll be assumed to be local? What do you think?
> /local/sports/ seems to be way to specific for no good reason. That's just
> me.
I think that this should be left up to the Penny Press users. Why tie
our hands now?
Mn
Things I don't agree with:
sections should not be defined by categories
sections should be flatpages
I think that there really should be emergent sections -- sections
driven by metadata.
I'm also not convinced that the section/date/slug style of url
building. I think I prefer section/section/slug/sequence where
sequence is just used to disambiguate articles with the same slug that
are in the same section. Consider: /sports/local/cubs-win/1/ which
might be the url for the first article where the cubs win the world
series. Years later, they do it again. THe paper chooses the same
slug ( possibly intentionally ). The system assigns the url
/sports/local/cubs-win/2/. THe cool think here is that you can drop
the sequence from the url, and get a mini-section of sports stories
slugged 'cubs-win'. This is especially useful for a lot of coverage
of court proceedings, columnists, etc where the slugs are always the
same, but the dates are not neccessarily predictable. If we are
convinced of the semantic value of the date in the url, then perhaps
the date should be used instead of the sequence. The point is to
group articles painlessly. And I've never wanted to browse a
newspaper site purely by date as it is in ellington.
I think sections won't be tied to a specific category, but instead
tied to stories that are placed inside of the section. This will allow
for a story to be in multiple categories and then have only one home
and section on the site. I think that I can be convinced otherwise on
this.
I really dislike the idea of the urls. I really think that if you want
special story pages like the one you just described you can accomplish
this by providing more in-depth categories, or by creating a section
page. Also when I surf the Web, I hate with a passion urls that make
absolutely no sense to me. When I look at /sports/local/cubs-win/2/
what does the 2 mean? I know you already explained this, but as a user
do I know what happens if I take the two off. What happens with 99% of
the stories that look like /sports/local/cubs-win/1/ what happens when
you take the 1 off? Does it provide an index of one story or does it
redirect you back to the /1/? This system will also take a level of
documentation to the editors in order for them to understand. And
there is no chance the end user will ever understand this schema.
On the other hand I see /section/2008/apr/2/cubs-win/ making sense in
that the slug matches the headline and each parent url provides an
archive of the index for the date, month year, section. It's logical.
Django is set up to easily handle this. The urls are clean for both
the end-user and the editor.
URL structures are one of the most important parts of a CMS to me. I
have seen what a good url structure can do to a newspaper site at
Athensnews.com and I have also seen how much users actually 'navigate
through url' by deleting parts of a url looking for archive pages. I
know I do it a lot and can only imagine it will happen a lot more as
good url structures are used more and more.