Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Text Management > Text Tools

    SmartType 1.0

    download button


    Downloads: 209  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Seb Duggan | More scripts
    sebduggan.com
    GPL - GNU General Public License 

    Windows / Linux / Mac OS
    N/A
    ColdFusion
    October 4th, 2010, 12:59 GMT
    C: \ Text Management \ Text Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    SmartType description

    This is a ColdFusion Component which takes a string and converts all quotes, dashes, ellipses and multiplication signs into their typographic equivalents

    All HTML tags and comments are exempt from the conversion.

    All text inside some HTML elements (pre, code, kbd, script, math) is ignored.

    SmartType will also pre-convert any MS Word-type entities before it begins.

    The only publicly accessible function in the component is SmartType.

    Example:

    Converts

    “I am 6'2",” he said.into:

    “I am 6'2",” he said.

    Here are some key features of "SmartType":

    It takes two arguments:
    · Text (required) – The text string on which to perform the conversion operations.
    · Convert (optional) – String of characters specifying which conversions to perform.

    Convert Options:
    · d – Educate dashes. A hyphen with a space around it will become an en-dash. Two or three hyphens will become an em-dash.
    · e – Educate ellipses. A series of three or four dots, with or without spac es in between, will become an ellipsis.
    · q – Educate quotes. All quote marks and apostrophes will be replaced by their “smart quote” equivalents.
    · x – Educate multiply sign. An ‘x’ with digits either side of it, optionally separated by white space, will become a typographic multiplication sign.
    · w – Convert MS Word entities. All MS Word-type smart quotes and entities will be converted to plain ASCII equivalents before the main processing is performed.
    · stupefy – Stupefy entities. All smart quotes and other HTML entities will be dumbed-down to their ASCII equivalents.

    Requirements:

    · ColdFusion MX 7 or higher



    TAGS:

    typography rules | text organization | convert text | typography | text | convert

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM