February 9, 2010

Pages


Search Site


Subscribe

...to receive future posts via email.

Topics



Archives

SmartType Mango Plugin

SmartType Mango Blog Plugin is a simple implementation of Seb Duggan's SmartType ColdFusion Component to prettify post and page content and titles. It implements his replacement for elipses (... as …) and en and em dashes (- as – and -- or --- as —). People who have used WordPress in the past should be familiar with this behavior, except that I'm not changing single or double quotes. That was one of the things I hated about WordPress, because it always messed up my code samples.

If you want to include in an elipses, single dash, or set of dashes, without it being replaced, preceed it with a back-slash: \

Download the latest version:
Last updated 2008-09-18
Download SmartType

Feedback:
Issue Tracker

Install Instructions:

  1. Unzip to the components/plugins/user/ folder
  2. Activate in the Add-ons section of your Mango Blog Admin
  3. There is no step 3.
Change Log:
  • v0.1 — 2008-08-21
    • Initial Release

3 responses to “SmartType Mango Plugin”

  • MikeMike
    Thanks!
  • Mark ApletMark Aplet
    So Adam, I wanted to use this plugin on a normal blog, one that doesn't display code.

    I wanted it to also change single and double quotes to their smart equivelent. Can this be done easily? If so, How?
  • AdamAdam
    Mark, to also process quotes you should modify the 2 lines at the end of Handler.cfc:

    SmartType.SmartType(arguments.event.accessObject.title, "dew")

    Change "dew" to "dewq" (q for quotes).

    There are 2 lines like this, one for .title, one for .content.

Leave a Reply





Leave this field empty: