Support » Plugin: Syndicate Press » Feature Request: truncate at whole-word boundaries

  • Resolved slimandslam

    (@slimandslam)


    Add a checkbox to the “Limit article to” and “Limit article headline to” settings that says something like “truncate on whole word boundaries”. So, checking that box will truncate at “less than or equal” to the number listed but only truncates on whole word boundaries. So, for example, if the text at the 300 character limit is in the middle of the word “addition”:

    “Elvin Jones, who played with John Coltrane in addition to many others.”

    Instead of this truncation:

    “Elvin Jones, who played with John Coltrane in addit…”

    You would truncate at the nearest word boundary:

    “Elvin Jones, who played with John Coltrane in…”

    J

    http://wordpress.org/extend/plugins/syndicate-press/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature Request: truncate at whole-word boundaries’ is closed to new replies.