Amper Icon

Amper

Safely converts ampersands to !amp; entities

AmperOverview

In the following, pretend ! is an ampersand. Amper converts ! to !amp; in HTML files, but does not convert it when the ! is already in an entity e.g. !lt; !thetasym; !eacute;
The main use for this is to pass HTMLValidator verification of your HTML, which is very picky about !, especially inside URLs.
As a side effect, it also ensures all your comment delimiters balance.
It does not change ! inside comments, though it will change it inside href= and image= urls, or anywhere else e.g. Java Applet parameters, which is correct according to the HTMLValidator. It does _not_ change " to !quot; or e' to !eacute; It just fixes !, the most troublesome character.
To convert a single file, type:
java -jar C:/com/mindprod/amper/amper.jar myfile.html
The results replace the old file, so you had better make a backup just in case this is not what you want.
You can also list several files on the command line:
java -jar C:/com/mindprod/amper/amper.jar myfile.html C:/mydir/another.html
To use convert the current directory of html files:
java -jar C:/com/mindprod/amper/amper.jar .
Sorry no wildcards, just . , and ..
DON'T USE WILDCARDS unless you deeply understand how they work. See http://mindprod.com/jgloss/wildcard.html. Windows expands them, not amper, and feeds them to amper (or any other program) as a giant list of all the directories and files in the
current directory. Amper will thus tend process all the files in your directories, when you just meant to process the files in the current directory.
The -s switch makes all subsequent directories searched recursively to include all their subdirectories.
e.g.
java -jar C:/com/mindprod/amper/amper.jar E:/mindprod
will fix all *.html files in the mindprod directory tree, ignoring other types of files.
If you have the jar extension set up as executable, you can abbreviate:
C:/com/mindprod/amper/amper.jar .

NEW

Fixed some bugs.

AmperInformation

Version
1.6 Build 9365
Date
05.13.10
License
Free
Language
English
File Size
1.47MB
Category
Operating Systems
Windows 7, Vista, XP, 2000
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
Java SE Development Kit (64-Bit) Icon
Compile, debug, and run Java applications on your computer.
Free
JDecompiler (Java Decompiler) Icon
A small tool to decompile the java class use your favorite text editor.
Trial
In Class Translator Icon
A program to edit class files in jar (JAVA) softwares and game!
Free
Java SE Development Kit Icon
Build highly sophisticated applications, applets, and components using the Java programming language.
Free
Visual Paradigm for UML (CE) for Windows Icon
UML Tool - UML diagrams, use case modeling, reverse engineering and more...
Free
Executable Jar Maker Icon
Turn java source files to executable jar files.
Free
Install4j Icon
install4j is a powerful multi-platform Java installer builder
Trial
More