Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 02-28-2005, 16:00   #1 (permalink)
Civilians

 
Default Advanced search & replace - 4000 pages

I consider helping an organization to implement a new website layout. They
add new pages every week, so they have about 4000 webpages. So I just cannot
implement a new layout by hand. I need some (freeware) software that can
insert and replace text on multiple html pages. I only need to do some basic
standard tasks for all pages such as:

Insert a link to a stylesheet in the page head:
<link rel="StyleSheet" href="style.css" type="text/css">

And replace all:
<body ...something....> with <body>

So it could be a simple search-and-replace tool that can replaces text
starting with "<body" and ending with ">", with "<body>", etc.


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 02-28-2005, 16:00   #2 (permalink)
GreyWyvern
Civilians

 
Default Re: Advanced search & replace - 4000 pages

And lo, didst speak in alt.www.webmaster:

> I need some (freeware) software that can
> insert and replace text on multiple html pages.


I highly recommend ReplaceEm. <http://www.boolean.ca/replace/>

Grey
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-28-2005, 20:00   #3 (permalink)
SpaceGirl
Civilians

 
Default Re: Advanced search & replace - 4000 pages

GreyWyvern wrote:
> And lo, didst speak in alt.www.webmaster:
>
>> I need some (freeware) software that can
>> insert and replace text on multiple html pages.

>
>
> I highly recommend ReplaceEm. <http://www.boolean.ca/replace/>
>
> Grey


If the OP has access to DreamWeaver, all this stuff is automated.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-28-2005, 20:00   #4 (permalink)
GreyWyvern
Civilians

 
Default Re: Advanced search & replace - 4000 pages

And lo, SpaceGirl didst speak in alt.www.webmaster:
> GreyWyvern wrote:
>> And lo, didst speak in alt.www.webmaster:
>>
>>> I need some (freeware) software that can
>>> insert and replace text on multiple html pages.

>>
>> I highly recommend ReplaceEm. <http://www.boolean.ca/replace/>

>
> If the OP has access to DreamWeaver, all this stuff is automated.


Euw. It might do multiple search and replace fine, but what about all
that other icky goo that comes with it?

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- http://www.greywyvern.com/ringmaker - Orca Ringmaker: Host a web ring
from your website!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-28-2005, 20:00   #5 (permalink)
Gerry W - for email use my name at dergal 0 com
Civilians

 
Default Re: Advanced search & replace - 4000 pages


"GreyWyvern" <spam@greywyvern.com> wrote in message
newsp.smxgm0mbsl6xfd@news.nas.net...
> And lo, SpaceGirl didst speak in alt.www.webmaster:
> > GreyWyvern wrote:
> >> And lo, didst speak in alt.www.webmaster:
> >>
> >>> I need some (freeware) software that can
> >>> insert and replace text on multiple html pages.
> >>
> >> I highly recommend ReplaceEm. <http://www.boolean.ca/replace/>

> >
> > If the OP has access to DreamWeaver, all this stuff is automated.

>
> Euw. It might do multiple search and replace fine, but what about all
> that other icky goo that comes with it?


it produces cleaner sites than any other WYSIWYG, in fact I often use DW to
clean up other websites ...

G


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-28-2005, 20:00   #6 (permalink)
Greywyvern
Civilians

 
Default Re: Advanced search & replace - 4000 pages

On Mon, 28 Feb 2005 1756 -0500, Gerry W - for email use my name at
dergal 0 com <sales@exleaseit.co.uk> wrote:

> it produces cleaner sites than any other WYSIWYG, in fact I often use DW
> to clean up other websites ...


The code isn't what I meant. I meant all those other tools that the OP
doesn't need. He/she only wanted a global S&R tool.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/webslavent?msg=149 - Presto the Puffin!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-01-2005, 16:00   #7 (permalink)
nospam@geniegate.com
Civilians

 
Default Re: Advanced search & replace - 4000 pages

In: <42234525$0$13771$ba624c82@nntp03.dk.telia.net>, <Richard> wrote:
>I consider helping an organization to implement a new website layout. They
>add new pages every week, so they have about 4000 webpages. So I just cannot
>implement a new layout by hand. I need some (freeware) software that can
>insert and replace text on multiple html pages. I only need to do some basic
>standard tasks for all pages such as:
>
>Insert a link to a stylesheet in the page head:
><link rel="StyleSheet" href="style.css" type="text/css">
>
>And replace all:
><body ...something....> with <body>
>
>So it could be a simple search-and-replace tool that can replaces text
>starting with "<body" and ending with ">", with "<body>", etc.


If the tags are consistant, like: <body xyz> and NOT mixes of:

<body
x
y
z
>


You could probably just roll your own perl script or use 'sed'. Multi-lines
are the tough part. (obviously you'd want to test it first)

Might I suggest something like docbook of there are 1000's of pages
being added? Docbook or some other standard that is 'easy' to change.

Wouldn't exactly call docbook 'easy' as far as getting the tools working,
but it is kind of nice once it's installed, I suppose one could use just
a subset and then a personal XSLT to do the transform.

Jamie
--
http://www.geniegate.com Custom web programming
guhzo_42@lnubb.pbz (rot13) User Management Solutions
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: SEARCH AND REPLACE David McRitchie Microsoft Applications 1 08-23-2005 16:00
Dynamic Web Pages and Search Engines John Whitworth Web Design 0 04-12-2005 16:00
How can I open a HTML file using VBA and Search then Replace something nguyenxuanson@gmail.com Web Design 3 03-17-2005 20:00
Search & Replace Scott Shively Microsoft Applications 2 01-06-2005 17:00
Re: Which Search and replace utility? monkeyjob Web Design 0 06-22-2004 23:25


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:17.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.96078 seconds with 19 queries