HTML Static Macros 2.6



Publisher Description



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 Dim 20 cm --]
Then you run htmlmacros.exe and it expands those comments to
boilerplate that looks like this:
[!-- macro Dim 20 cm --]
[!-- generated --]
[span class="metric"]20 cm[/span]
[span class="imperial"](7.87 in)[/span]
[!-- /generated by Dim --]
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 x depth
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
...


About HTML Static Macros

HTML Static Macros is a free software published in the HTML Tools list of programs, part of Web Development.

This HTML Tools program is available in English. It was last updated on 16 February, 2024. HTML Static Macros is compatible with the following operating systems: Linux, Mac, Other, Unix, Windows.

The company that develops HTML Static Macros is Canadian Mind Products. The latest version released by its developer is 2.6. This version was rated by 3 users of our site and has an average rating of 2.7.

The download we have available for HTML Static Macros has a file size of 17.83 MB. Just click the green Download button above to start the downloading process. The program is listed on our website since 2014-07-13 and was downloaded 180 times. We have already checked if the download link is safe, however for your own protection we recommend that you scan the downloaded software with your antivirus. Your antivirus may detect the HTML Static Macros as malware if the download link is broken.

How to install HTML Static Macros on your Windows device:

  • Click on the Download button on our website. This will start the download from the website of the developer.
  • Once the HTML Static Macros is downloaded click on it to start the setup process (assuming you are on a desktop computer).
  • When the installation is finished you should be able to see and run the program.



RELATED PROGRAMS
Our Recommendations






BarCode2D-PNG


Click stars to rate this APP!

Users Rating:  
  2.7/5     3
Downloads: 180
Updated At: 2024-02-16
Publisher: Canadian Mind Products
Operating System: Linux, Mac, Other, Unix, Windows
License Type: Free