Some weeks ago Felix sent me a small app he'd written to parse HTML and generate Java source code that would build the same HTML using Hypirinha. I packaged it up so that it would run on the new Java flavour of Google App Engine and deployed it here:
http://hypirinha.appspot.com/html2hypirinha
The source code is here:
http://hypirinha.googlecode.com/svn/trunk/java-extras/html2hypirinha
I think it's a really nice facility because it quickly gives you a feel for what Hypirinha syntax looks like. If you were actually writing an application using Hypirinha, it gives you an easy starting point - just point the app at some a page you like the look of, and then copy and paste the code into your IDE. For example, check out the builder for the Guardian home page:
http://hypirinha.appspot.com/html2hypirinha?url=http%3A%2F%2Fwww.guardian.co.uk%2F
Once you've pasted the code, the real power begins - lean on your IDE's refactoring tools to remove duplication and introduce abstractions.
i amreally looking forward what new features are there in this new Java flavour of Google App Engine.Thanks for sharing about it.
Posted by: Acai berry | December 07, 2009 at 09:43 AM