μMarkup

Projects Contact Me

What is it?

μMarkup is my attempt at a Java library to ease the pain of markup generation. It is lightweight, reasonably-fast, very simple to use, and covers the boring, common, and tedious "90% tasks".

I wrote it because all of the existing Java APIs for this are some combination of: 1) painfully verbose 2) deprecated/unsupported 3) designed for XML and producing HTML with them requires plenty of bludgeoning and nasty hacks 4) templating systems that suck when used outside of the wonderful world of web apps.

I just wanted to produce some HTML, damnit.

What is μMarkup not?

Why use μMarkup?

License

μMarkup is under the two-clause BSD license, a copy of which is reproduced below.

		Copyright (c) 2012, Robert Tomsick
		All rights reserved.
		
		Redistribution and use in source and binary forms, with or without
		modification, are permitted provided that the following conditions are met: 
		
		1. Redistributions of source code must retain the above copyright notice, this
		   list of conditions and the following disclaimer. 
		2. Redistributions in binary form must reproduce the above copyright notice,
		   this list of conditions and the following disclaimer in the documentation
		   and/or other materials provided with the distribution. 
		
		THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
		ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
		WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
		DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
		ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
		(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
		LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
		ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
		(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
		SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
		

Source Code / Download

Currently, μMarkup is in its infancy. It's at the "good enough for me" stage, but there's obviously plenty of work to be done. Still, it should be free of major bugs and might be useful. You can get a tarball (and soon, a git repo) here:

umarkup-0.5.1.tar.gz - released 16 Jan 2013

Bugs

Probably. Let me know if/when you find them.


Page last updated 16 Jan 2013