Blogging tool updated with "show in menu" and permalink parameters
Following up on a comment on the initial release of PubKitBlog, the &showinmenu parameter has now been implemented, and generation of aliases (permalinks) for URLs is now possible.
In fact, &showinmenu seems to have been a relic from the NewsPublisher code, but I thought it worth implementing, as you might or might not want your posts or news items to be included on menus. My site doesn't use Wayfinder for the side-menus, so it hasn't been an issue for me whether the hidemenu document variable was set or not.
The &permalinks parameter (which defaults to enabled) adds a sanitized version of the title field to the document ID to create a sort of semantic URL, much the same as WordPress would. The alias is not updated it you re-edit an item, in case it's already someone's bookmark of an indexed search engine result. You could go into the MODx manager to update it if you were desperate. There's a default length limit (&permaLength) of 35 characters, to encourage you to write short, sharp titles.
As well as making it easier to interpret and remember items, meaningful URLs are reputed to boost items' reputation in a certain famous search engine.