cubicweb-blog #25847 have cool URLs [resolved]

Have cool urls to use and communicate:

  • /blogentry/nico -> Any X ORDERBY CD DESC WHERE X is BlogEntry, X creation_date CD, X created_by "nico"
  • /blogentry/nico.rss -> same selection limited to 20 items and presented with view RSS
  • /blogentry/2009/06 -> Any X ORDERBY CD DESC WHERE X is BlogEntry, X creation_date >= "2009/06/01", X creation_date <= "2009/06/30"

and maybe /blogentry/2009/ but that would conflict with the default absolute url /blogentry/eid_digits

[edited by nico]

Eventually decided to use:

  • /blogentries/2009(/06) to list all blog entries dated of (06/)2009
  • /blog/<b_eid>/blogentries/2009(/06) to list all blog entries dated of (06/)2009 belonging to blog b_eid

This way we do not conflict with the default absolute url /blogentry/eid_digits and still have short and meaningful URL.

[added by sand]

priorityimportant
typeenhancement
done in1.7.0
load0.500
load left0.000
closed by<not specified>