Deprecated: Assigning the return value of new by reference is deprecated in /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php on line 90

Deprecated: Assigning the return value of new by reference is deprecated in /home/techmasa/public_html/wp-content/plugins/sem-recent-posts.php on line 942

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php:90) in /home/techmasa/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php:90) in /home/techmasa/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121
TechMasala - Technology Spice Rack » 2006 » August » 24

Archive for August 24, 2006

Almost Plain Text

In web applications where you want to provide an option to the users to enter text and want to display the entered text in the form of an HTML, then the user should have some understanding of HTML. Then he/she has to embed the text along with HTML tags and you just bring back whatever he/she entered.  Now there are two major disadvantages with this approach. One the user must know HTML and the second any malformed HTML is going to spoil the entire page. A quick alternative would be to use some simple markup languages and then convert them into appropriate format.  One of them is Almost Plain Text (APT).  The aptconvert tool is a command line tool available for windows and UNIX that can help convert apt text files to formats like HTML, PDF etc.  Maven extensively uses APT to generate site as well as help creating user manuals in the form of PDF.  Refer this APT format description page Maven web site.  Doxia is a content generation framework part of Maven that can parse, convert and render an APT document into other formats.

Read through my series of posts on “Mavenizing your project“.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Almost Plain Text at blinklist.com    Bookmark Almost Plain Text at blogmarks    Bookmark Almost Plain Text at del.icio.us    Digg Almost Plain Text at Digg.com    Fark Almost Plain Text at Fark.com    Bookmark Almost Plain Text at Furl.net    Bookmark Almost Plain Text at NewsVine    Bookmark Almost Plain Text at reddit.com    Bookmark Almost Plain Text at Simpy.com    Bookmark Almost Plain Text at Spurl.net    Bookmark Almost Plain Text with wists    Bookmark Almost Plain Text at YahooMyWeb

Comments      Cosmos


Creative Commons License  This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.