Blog

New Plugin Plain Text Convertor

Curt Gratz April 20, 2011

Spread the word

Curt Gratz

April 20, 2011

Spread the word


Share your thoughts

Just posted a new super simple plugin on ForgeBox for your use. 

Plain Text Convertor

Description:
This plugin takes html or rtf text and converts it to plain text
Example:
This call would return the text of "Test Convertor", stripping out all the HTML.
#getMyPlugin("plaintextconvertor").convert("<p><a href='text.htm'>Test Convertor</a></p>")#
Arguments for the convert function:
text: REQUIRED The text to convert
format: either html or rtf, defaults to html.  This is what format your incoming text argument is in.

This plugin uses the Java Swing library.  Thanks to Ernst van der Linden for the inspiration. 

http://evdlinden.behindthe.net/index.cfm/2011/1/12/Convert-RTF-to-Plain-TEXTJava-Swing-rescue

Add Your Comment

Recent Entries

Into the Box 2024 - Conference Slides are out!

Into the Box 2024 - Conference Slides are out!

Did you miss the live event? Get a glimpse of the fantastic content our speakers covered by reviewing their slides. Dive into topics like AWS, Cloud, Hosting, Migration, Security, CFML, Java, CommandBox, ContentBox, and more. Don't miss these valuable resources, and join us for upcoming events!

Maria Jose Herrera
Maria Jose Herrera
July 03, 2024
Ortus June 2024 Newsletter!

Ortus June 2024 Newsletter!

Welcome to the latest edition of the Ortus Newsletter! This month, we're excited to bring you highlights from our sessions at CFCamp and Open South Code, as well as a sneak peek into our upcoming events. Discover the latest developments in BoxLang, our dynamic new JVM language, and catch up on all the insightful presentations by our expert team. Let's dive in!

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang June 2024 Newsletter!

BoxLang June 2024 Newsletter!

We're thrilled to bring you the latest updates and exciting developments from the world of BoxLang. This month, we're diving into the newest beta release, introducing a new podcast series, showcasing innovative integrations, and sharing insights from recent events. Whether you're a seasoned developer or just getting started, there's something here for everyone to explore and enjoy.

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024