Rating

  • Currently 0.00/5
  • 1
  • 2
  • 3
  • 4
  • 5

Rating: 0.0 out of 0 votes

HtmlMacros

a framework for static html macros in java to generate elaborate boilerplate.

HtmlMacros 2.3 Description

a framework for static html macros in java to generate elaborate boilerplate. 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 colourised code listing
...

HtmlMacros 2.3

download software Buy Now download software Download (17875K)
  • License: Freeware $0.00

  • OS:Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x

  • Last Updated: 2012-07-14 22:49:44

  • Requirements: java 1.6+

  • Publisher:Canadian Mind Products

  • Homepage: http://mindprod.com


HtmlMacros 2.3 keywords
Other softwares from Canadian Mind Products (108)
  • Converter 5.5

    how to interconvert any of the java primitives. conversion amanuensis..

  • Common11 2.8

    common utility classes that work under java 1.1+.

  • Http 2.9

    http get/post/head/probe/chase java class library for http: or https:.

  • CSV 6.5

    java to read, write, align, sort, reshape, pack... comma, tab-separated files..

  • Confirm 1.3

    ask user to confirm an action in a bat file before continuing..

  • Base64 1.9

    Java classes to encode/decode Base64 and Base64u.

  • Common15 1.7

    common utility classes that work under swing java 1.5+.

  • Batik 2.2

    Java to let you create a custom utility to find and delete all junk files..

  • Password 1.8

    generates random passwords that are hard to guess..

  • Bulk Emailer 1.7

    The bulk emailer program sends the same email to many people..

  • Common13 1.3

    common utility classes that work under Swing Java 1.3+ .

  • BraceBalancer 1.3

    bracebalancer helps find unbalanced {} [] or () in java, css, c, c++ etc source..

  • Restore 6.4

    Restore old MSDOS or PCDOS floppy backups.

  • BackupToZip 1.4

    BackupToZip is a simple backup program that mainatins a compressed mirror..

  • Submitter 16.9

    submitter will submit your pad *.xml program descriptor file to 196 padsites..

  • HtmlMacros 2.3

    a framework for static html macros in java to generate elaborate boilerplate..

  • LEDataStream 1.8

    Little-endian replacements for DataInputStream, DataOutputStream and RandomAcces.

  • ISBN 2.5

    tidies, interconverts and validates isbn-10 and isbn-13 book numbers..

  • CanadianTax 4.2

    calculates canadian sales taxes: gst hst and pst today or in the past..

  • KeyPlayer 1.5

    Java Keystroke and Mouse Event Tutor / Keyboard Diagnostic..