Rating

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

Rating: 0.0 out of 0 votes

Amper

safely converts ampersands to !amp; entities

Amper 1.9 Description

safely converts ampersands to !amp; entities in 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 -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. 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 -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 .

Amper 1.9

download software Buy Now download software Download (1262K)
  • 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:10

  • Requirements: java 1.5+

  • Publisher:Canadian Mind Products

  • Homepage: http://mindprod.com


Amper 1.9 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..