Permalink providers

In addition to RSS enclosure support in Pebble 1.6.1, there will be another plugin API - permalink providers. Although the default Pebble permalinks work well, a few people have commented that they would like to change them to be shorter or fit in with an existing blog after migration from another blogging tool. Pebble 1.6.1 will be distributed with three implementations, as follows.

  • DefaultPermalinkProvider (/yyyy/mm/dd/time-in-millis.html)
  • ShortPermalinkProvider (/time-in-millis.html)
  • TitlePermalinkProvider (/yyyy/mm/dd/each_word_in_the_title.html)

Of course, you'll also be able to plug in your own. To ensure that existing links don't get broken, the default permalink provider will be used as a fallback, meaning that you can choose to change your permalink scheme and retain backwards compatibility for your old entries. If anybody has any thoughts on other schemes they would like to see, please leave a comment.



Re: Permalink providers

any chance of working the category in there anywhere? eg /category/each_word_in_the_title.html

Re: Permalink providers

It's possible, although blog entries in Pebble can be assigned to multiple categories which could be a problem with such a scheme. There's nothing to stop somebody writing a provider based upon this though, under the assumption that only a single category will ever only be assigned (or to always use the first one).

Add a comment Send a TrackBack