HtmlMacros Icon

HtmlMacros

A framework for static html macros in Java to generate elaborate boilerplate.

HtmlMacrosOverview

Editor: A generic framework for writing static macros in Java to generate elaborate boilerplate in HTML text files on the desktop without requiring any server side coding. It could also be used to expand macros in any text files.
The basic idea is this. You embed magic comments in your HTML that look like something like this (with angle brackets shown here as [].
[!-- macro Measure 20 cm --]
Then you run htmlmacros.exe and it expands those comments to
boilerplate that looks like this:
[!-- macro JDisplay Measure 20 cm --]
[!-- generated --]
[span class="metric"]20 cm[/span]
[span class="imperial"](7.87 in)[/span]
[!-- /generated by Measure --]
and renders colourised for your viewers like this:
20 cm (7.87 in)
Some of the 100 odd Macros that already exist include:
Age Calculate Age of something in years/months/days
AllPosters affiliate link to AllPosters.com
Amazon link to non-book product at Amazon
Art link to art.com poster
Audio link to audio file
BestBrowsers describe recommended browsers
Book links to sell a book at various bookstores
CurrCon show currency in multiple Countries
DailySpecial random link to take a change page on the website changed daily.
Degrees show both Fahrenheit/Celsius
Dim metric/English width x height
DVD link to DVD stores
FileSize insert the current size of a local file
Foot footer with google and public service ads.
Head generic header, there are also many special purpose variants.
Image display an png, jpg, gif
RSS generate RSS feeds in HTML and XML
Include include boilerplate, possibly containing embedded macros
J2EE macro: link to Sun's J2EE docs
JDisplay display pretty colourise

NEW

Fixed some bugs.

HtmlMacrosInformation

Version
2.0
Date
12.27.10
License
Free
Language
English
File Size
7.95MB
Category
Operating Systems
Windows XP, 2000, 98
System Requirements
No additional system requirements.
Replicator Icon
The Replicator lets you distribute large numbers of files to many people.
Free
CanadianTax Icon
Calculates Canadian sales taxes: GST HST and PST today or in the past.
Free
CurrCon Icon
CurrCon displays prices in HTML in users' home currency.
Free
FourTidy Icon
Tidies Take Command/TCC/4NT/4DOS DESCRIBE file descriptors
Free
Untouch Icon
Reverts files dates back if the files have not really changed.
Free
BlOut Icon
Blout removes extra blank lines from a file.
Free
Dedup Icon
Java command line utility to removes duplicate lines from text files.
Free
Pluck Icon
Scans multiple files looking for a REGEX pattern, and summarised what it finds.
Free
More
exe4j Icon
Exe4j is a Java exe maker.
Demo
Quartz Icon
a full-featured, open source job scheduling system
Free
Java SE Development Kit (64-Bit) Icon
Compile, debug, and run Java applications on your computer.
Free
Java SE Development Kit Icon
Build highly sophisticated applications, applets, and components using the Java programming language.
Free
JDecompiler (Java Decompiler) Icon
A small tool to decompile the java class use your favorite text editor.
Trial
WaveMaker Icon
Easy-to-use, visual web development platform. FOSS, creates standard Java apps
Free
Visual Paradigm for UML (CE) for Windows Icon
UML Tool - UML diagrams, use case modeling, reverse engineering and more...
Free
In Class Translator Icon
A program to edit class files in jar (JAVA) softwares and game!
Free
More