We should support slugs in Jonah. They should be unique on a
per-channel basis, but if it's not too hard, we could also have a rule
for saying that if the URL also includes the post date, then the
uniqueness is per-channel per-date (whatever date format is configured
for that channel). So the channel should have a slug_format parameter
(with configurable date placeholders and the actual slug) and stories
should have a slug parameter.
Slugs should be automatically generated from the title at first, but
not overridden afterwards, and there should be a warning that changing
the slug after the story has been published can change its URL.
Allow either generating files or using rewrite rules so that a post
with the title "A new dog" would be accessible from the URL
/horde-jonah-prefix/channel-short-name/a_new_dog
http://blog.liip.ch/archive/2006/01/04/cool-uris-don-t-change.html
Summary ⇒ Slug support
per-channel basis, but if it's not too hard, we could also have a rule
for saying that if the URL also includes the post date, then the
uniqueness is per-channel per-date (whatever date format is configured
for that channel). So the channel should have a slug_format parameter
(with configurable date placeholders and the actual slug) and stories
should have a slug parameter.
Slugs should be automatically generated from the title at first, but
not overridden afterwards, and there should be a warning that changing
the slug after the story has been published can change its URL.
See the evolving docs at http://wiki.horde.org/Doc/Dev/Slugs
State ⇒ Accepted
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Post-title as URL support
Queue ⇒ Jonah
with the title "A new dog" would be accessible from the URL
/horde-jonah-prefix/channel-short-name/a_new_dog