homepage Welcome to WebmasterWorld Guest from 54.167.179.48
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
add javascript code to thousands of .html files
hermes

5+ Year Member



 
Msg#: 12064 posted 3:04 am on Jun 27, 2006 (gmt 0)

I want to add a javascript code piece to thousands of .html files (the javascript is a stats code piece). Is there any way to add it automatically to all my .html files, to save me cutting and pasting it into every .html file individually? I would be so, so grateful if anyone can help.

PS I have dreamweaver if this can do it.

 

deejay

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 12064 posted 4:19 am on Jun 27, 2006 (gmt 0)

Do a search for a piece of software called 'BK ReplaceEM'

Will search and replace through a specified folder or set of files.

2by4

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 12064 posted 4:56 am on Jun 27, 2006 (gmt 0)

dreamweaver does that, set up a site using the site stuff, that contains the thousands of pages, then use edit find/replace to add the line between two lines that are the same on each page.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved