View Single Post
Old 06-04-2007, 01:14 PM  
FightThisPatent
Confirmed User
 
Join Date: Aug 2003
Location: Austin, TX
Posts: 4,090
Quote:
Originally Posted by LaserSpec View Post
It would help the movement tremendously if someone pasted an easy to use script that webmasters could PASTE into their SSH window to update all .html files w/ the code
i'm not a big shell scripter, but the algorithm is pretty straightforward:

1) use 'find' to point to web directory root to locate all html/php files
2) each file, use awk to locate <head> tag, and sed to insert:

<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA">

(perl scripting could be done as well.....)



Fight the one line coding!
__________________

http://www.t3report.com
(where's the traffic?) v5.0 is out! |
http://www.FightThePatent.com
| ICQ 52741957
FightThisPatent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote