comses / catalog

Web tools to annotate publications related to computational modeling
http://catalog.comses.net
GNU General Public License v3.0
3 stars 3 forks source link

change publication get_absolute_url to auto slug based #84

Closed alee closed 7 years ago

alee commented 7 years ago

consider implementing a URL scheme like that used in stackoverflow.com:

Canonical URL: /publication/<publication_id>/<publication-slug>/

Visiting /publication/<publication_id>/?(.*) should also redirect to the canonical URL

The slugification should also limit by length N. For <publication-slug>, use the publication's first author's name, publication year, and then some of the title.

We will likely use something similar for the CML, except using a generated hash instead of an autoincrement pk.