code2web is a toolkit for converting source code (Java,JavaScript,XML,JSP,SQL and more) to HTML with a wide array of features, including CSS customization, outline generation, automatic documentation liking, selective highlighting and more.
Be the first to post a text review of code2web. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Code2web is a toolkit for converting source code to HTML with a wide array of features, including CSS customization, outline generation, automatic documentation liking, selective highlighting and a lot more.
New Features in this version: 1) New "Text" language for displaying just text files 2) Now command-line settings and parameters override the values of a configuration file. 3)New property "source-block" containing both the author, title and source divs 4)New property for the JSP Tag : useFileNameAsTitle allows to set the title automatically from the file name, when using a file source. 5)The JSP tag now skips the first blank line before processing the contents. This is donebecause many times the code to process is placed like this: <c2w:convert ...> stuff </c2w:convert> so technically, there IS a blank (or whitespace only) line before the "stuff". Previously,the only remedy was to write the code to process immediately after the tag: <c2w:convert ...>stuff </c2w:convert> This situation could lead to misplaced highlight markers. Now this is no longer necessary. Note however that JSP only skips blank lines, so the previous way of writing things will still work in the same way. 6)Enhanced the HTML grammar so that now it recognizes also the XML document header (<?xml ... ?>) present in XHTML files. This sequence is now recognized as an "xml declaration", and has its own style : "xml-declaration", and its own property : xmlDeclarationStyle 7)Enhanced the HTML grammar so that now it also recognizes XML processing instructions. The sequence is recognized as a "processing instruction" and has its own style : "processing-instruction" and its own property : processingInstructionStyle 8)Enhanced the HTML grammar so that now CDATA sections are also recognized. They have their own styles : "cdata-section"/"cdata-content" and their own properties : cdataSectionStyle, cdataContentStyle 9) Added javadoc properties for Java 6 Bug Fixes 1)Fixed a bug concerning accumulation of highghlights when a JSP page contained more than one convert tag 2)Fixed a bug where tab characters caused repetition of text 3) This is not really a bug of code2web, but ... Due to the way Mozilla Firefox (incorrectly) handles white-space:pre style when copying/pasting, I had to revert to generating a <pre> element instead of a <div> element enclosing all the source code. This allows proper copy-pasting. See https://bugzilla.mozilla.org/show_bug.cgi?id=116083 for a further description of this Firefox bug.
New Features in this version: 1) New "Text" language for displaying just text files 2) Now command-line settings and parameters override the values of a configuration file. 3)New property "source-block" containing both the author, title and source divs 4)New property for the JSP Tag : useFileNameAsTitle allows to set the title automatically from the file name, when using a file source. 5)The JSP tag now skips the first blank line before processing the contents. This is donebecause many times the code to process is placed like this: <c2w:convert ...> stuff </c2w:convert> so technically, there IS a blank (or whitespace only) line before the "stuff". Previously,the only remedy was to write the code to process immediately after the tag: <c2w:convert ...>stuff </c2w:convert> This situation could lead to misplaced highlight markers. Now this is no longer necessary. Note however that JSP only skips blank lines, so the previous way of writing things will still work in the same way. 6)Enhanced the HTML grammar so that now it recognizes also the XML document header (<?xml ... ?>) present in XHTML files. This sequence is now recognized as an "xml declaration", and has its own style : "xml-declaration", and its own property : xmlDeclarationStyle 7)Enhanced the HTML grammar so that now it also recognizes XML processing instructions. The sequence is recognized as a "processing instruction" and has its own style : "processing-instruction" and its own property : processingInstructionStyle 8)Enhanced the HTML grammar so that now CDATA sections are also recognized. They have their own styles : "cdata-section"/"cdata-content" and their own properties : cdataSectionStyle, cdataContentStyle 9) Added javadoc properties for Java 6 Bug Fixes 1)Fixed a bug concerning accumulation of highghlights when a JSP page contained more than one convert tag 2)Fixed a bug where tab characters caused repetition of text 3) This is not really a bug of code2web, but ... Due to the way Mozilla Firefox (incorrectly) handles white-space:pre style when copying/pasting, I had to revert to generating a <pre> element instead of a <div> element enclosing all the source code. This allows proper copy-pasting. See https://bugzilla.mozilla.org/show_bug.cgi?id=116083 for a further description of this Firefox bug.
Code2web is a toolkit for converting source code to HTML with a wide array of features, including CSS customization, outline generation, automatic documentation liking, selective highlighting and a lot more. Code2web is the successor of the java2web project, but handles more languages, including Java, XML, XHTML (with embedded JSP), JavaScript and SQL and implements an architecture for easily including additional languages
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: