Amper 2.0

Freeware

1.02 MB

It is hard to talk about the Amper program in PAD XML where I cannot describe either the input or output of this program. It converts ampersands to !amp; entities and back. If you use HTMLValidator it will complain about bare ampersands. This gives you a quick way to clean up an entire website. It only converts the ampersands that need it and have not already been converted.

Publisher Description

Window 8 CompatibleIn the following, pretend ! is an ampersand. PAD files don't let me give literal examples. Amper converts ! to !amp; in HTML files and back, 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 c-hange 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.exe -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.exe -jar C:\com\mindprod\amper\amper.jar myfile.html C:\mydir\another.html To use convert the current directory of html files: java.exe -jar C:\com\mindprod\amper\amper.jar . Sorry no wildcards, just . , and .. DON'T USE WILDCARDS unless you deeply understand how they work. 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.exe -jar C:\com\mindprod\amper\amper.jar -s 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 .

Download and use it now: Amper

Add a comment...

Please tell us your experience with Amper

Related Programs

HTML Cleaner

HTML Cleaner is a batch (X)HTML documents file size optimization software. It can remove unnecessary characters from your HTML docs, such as extra spaces, quotation marks, optional end tags, etc.. Documents will appear in browser in exactly the same way...

HTML Compressor

HTML Compressor is a tool for Web developers. It allows you to reduce the size of your HTML (HTM) files. It does not change the functionality of your site in any other way; the only difference to your visitors will...

CSE HTML Validator Pro

CSE HTML Validator is a fast, powerful, highly user configurable, and easy to use professional web development tool that checks HTML (including HTML5), CSS (including CSS3), SEO, PHP, XHTML, JavaScript, accessibility, links, and more. Want better search engine rankings? CSE...

HTML Guardian

Encrypt HTML, SHTML, JavaScript, VBScript, PHP and ASP files. Hide HTML source code from web site thieves. HTML Guardian is a solution for total Web site protection -it will make impossible stealing and re-using your source code in other websites.....

Fresh HTML

Fresh HTML is a free software to create and edit pages for the world wide web. Its ?WYSIWYG? (what you see is what you get) interface makes editing HTML pages as easy as using your favorite word processor. Its built-in...