Untitled post callback.

OK, I fiddled with the untitled post macro to make it use the first sentence as the title of the post. If anyone wants the callback let me know. Actually here it is.

on untitledPost (adrpost) {
  if not defined (adrpost^.title) {
    adrpost^.title = string(string.firstSentence (adrpost^.text))}}

Simple changes. Callbacks are great!

Filed under: Uncategorized