Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

linktag2

echo <script language="javascript">a='%s';url=a.split("!!")[0];if (a.indexOf("!!") > -1) urltext=a.split("!!")[1];else urltext=a.split("!!")[0];if (url.substring(0,7) != 'http://') url='http://'+url;document.write('<a href="'+url+'" target="${t=_self}>'+urltext+'</a>');</script>[no url encoding]
NAME
     linktag2 - A replacement for linktag

SYNOPSIS
     linktag2 [LINK!!LINK TEXT] -t=_self [TARGET]

EXAMPLES
     linktag {url g chocolate}                : Link to a Google search for "chocolate"
     linktag www.google.com                   : Link to Google
     linktag www.google.com!!Search           : Link to Google, with the text "Search"
     linktag www.google.com!!Search -t _blank : The link will open in a new window
     

DESCRIPTION
     The linktag command no longer works.  This is a replacement. 
     
     linktag2 {url g chocolate}                : Link to a Google search for "chocolate"
     linktag2 www.google.com                   : Link to Google
     linktag2 www.google.com!!Search           : Link to Google, with the text "Search"
     linktag2 www.google.com!!Search -t _blank : The link will open in a new window
     

NOTES
     The original linktag used the runphp command.  This version is written in javascript.

AUTHOR
     Brian Armknecht
     
     b.a.
    
16 uses - Created 2010-02-09 19:48:09 - Last used 2010-08-05 23:53:43
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.