Guido Socher > HTML-TagReader-1.10 > tr_mailtoexpand

Download:
HTML-TagReader-1.10.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

tr_mailtoexpand -- expand mailto: into a non clickable name and mail address.

SYNOPSIS ^

 tr_mailtoexpand [-hp]  html-files

DESCRIPTION ^

tr_mailtoexpand modifies "a href=mailto:" tags such that the mail address contails [at] instead of the @ to protect it from spammers. The anchor tag is completely removed and the address is just inserted behind in the text the name.

File access permissions are preserved.

OPTIONS ^

-h short help

-p print to stdout and do not modify any files.

EXAMPLE ^

tr_mailtoexpand -p index.html or to really change the file: tr_mailtoexpand index.html

AUTHOR ^

tr_mailtoexpand is part of the HTML::TagReader package and was written by Guido Socher [guido(at)linuxfocus.org]

syntax highlighting: