Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Find and Replace sections of code
 

Michael Hoeben




quote this post edit post

IP Loged report this post

Old Post  01-29-05 - 04:16 AM  
Hi,

I have recently revised parts of my website and I need to add things like my
adsense code to every page, plus a couple of banners etc. However, with some
50+ pages, this is a mission.
Find & replace only works if you have one line of text at a time, whereas
typically the line of code may be split over two or three lines.

How can I find and replace - or better yet; find a marker and insert a bunch
of text throughout my site.  I do use includes here and there for menus and
page footers, but I'm not sure how to replace two or three lines of code at 
a
time.

Thanks
Michael

www.simplebiz4u.co.uk


Post Follow-Up to this message ]
Re: Find and Replace sections of code
 

Thomas A. Rowe




quote this post edit post

IP Loged report this post

Old Post  01-29-05 - 04:17 AM  
If using FP2003, you can do this, however prior version, not possible, so yo
u would have to manually
update it page. 50 + pages is really not that bad, I have do it with 500 pag
es, because I still use
FP2000.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Michael Hoeben" <MichaelHoeben@discussions.microsoft.com> wrote in message
news:CA5FD2DF-C3FB-467B-AB88-572088097387@microsoft.com...
> Hi,
>
> I have recently revised parts of my website and I need to add things like 
my
> adsense code to every page, plus a couple of banners etc. However, with so
me
> 50+ pages, this is a mission.
> Find & replace only works if you have one line of text at a time, whereas
> typically the line of code may be split over two or three lines.
>
> How can I find and replace - or better yet; find a marker and insert a bun
ch
> of text throughout my site.  I do use includes here and there for menus an
d
> page footers, but I'm not sure how to replace two or three lines of code a
t a
> time.
>
> Thanks
> Michael
>
> www.simplebiz4u.co.uk




Post Follow-Up to this message ]
Re: Find and Replace sections of code
 

Michael Hoeben




quote this post edit post

IP Loged report this post

Old Post  01-30-05 - 05:21 PM  
Thanks for that.

Michael

"Thomas A. Rowe" wrote:

> If using FP2003, you can do this, however prior version, not possible, so 
you would have to manually
> update it page. 50 + pages is really not that bad, I have do it with 500 p
ages, because I still use
> FP2000.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "Michael Hoeben" <MichaelHoeben@discussions.microsoft.com> wrote in messag
e
> news:CA5FD2DF-C3FB-467B-AB88-572088097387@microsoft.com... 
>
>
>


Post Follow-Up to this message ]
Re: Find and Replace sections of code
 

Michael Hoeben




quote this post edit post

IP Loged report this post

Old Post  01-31-05 - 12:16 AM  
Hi Thomas,
Any idea if I could use an alternative external text editor that can process
such changes to my frontpage html files?

If I do edit my pages like that, will I be causing problems later on with
the frontpage extensions, when I come to publishing my site?

I have identified a few text editors that may be able to do what I need, (in
the short term) until I can buy fp2003.

Michael


"Michael Hoeben" wrote:

> Thanks for that.
>
> Michael
>
> "Thomas A. Rowe" wrote:
> 


Post Follow-Up to this message ]
Re: Find and Replace sections of code
 

Thomas A. Rowe




quote this post edit post

IP Loged report this post

Old Post  01-31-05 - 12:16 AM  
When you use any external app to modify files within a FP web, the hidden in
dex files are not
updated, which will lead to problems, since FP will not know that changes ha
ve been made. Sometimes
you can run Tools | Recalculate Hyperlinks and that will update the hidden i
ndexes, however it
doesn't always solve problems when you changes content outside of FP.

In the past I have used version 3 of HomeSite to make multi-line global chan
ges by copying all of
the pages to be changed to a folder outside of my web, then making the chang
es, then with the web
open in FP, re-import the pages back into the web, this way FP will update t
he hidden index files,
but I did run into issues with pages that had Included content. So be warned
 if you use Themes,
Shared Borders, FP Includes, navigation that do this may cause problems with
 your site structure.

BTW: From the time that you originally posted your first message about this,
 to now, you really
could have updated all of your pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Michael Hoeben" <MichaelHoeben@discussions.microsoft.com> wrote in message
news:0F6F01C7-0A4B-4350-996B-716F77D7056B@microsoft.com...
> Hi Thomas,
> Any idea if I could use an alternative external text editor that can proce
ss
> such changes to my frontpage html files?
>
> If I do edit my pages like that, will I be causing problems later on with
> the frontpage extensions, when I come to publishing my site?
>
> I have identified a few text editors that may be able to do what I need, (
in
> the short term) until I can buy fp2003.
>
> Michael
>
>
> "Michael Hoeben" wrote:
> 




Post Follow-Up to this message ]
Re: Find and Replace sections of code
 

Michael Hoeben




quote this post edit post

IP Loged report this post

Old Post  01-31-05 - 12:16 AM  
Thanks Thomas. You are right. I could have probably done them all - but I'm
still dithering about creating a mySQL database for these pages, in which
case my efforts to update all of them would be wasted.

Thanks again.



"Thomas A. Rowe" wrote:

> When you use any external app to modify files within a FP web, the hidden 
index files are not
> updated, which will lead to problems, since FP will not know that changes 
have been made. Sometimes
> you can run Tools | Recalculate Hyperlinks and that will update the hidden
 indexes, however it
> doesn't always solve problems when you changes content outside of FP.
>
> In the past I have used version 3 of HomeSite to make multi-line global ch
anges by copying all of
> the pages to be changed to a folder outside of my web, then making the cha
nges, then with the web
> open in FP, re-import the pages back into the web, this way FP will update
 the hidden index files,
> but I did run into issues with pages that had Included content. So be warn
ed if you use Themes,
> Shared Borders, FP Includes, navigation that do this may cause problems wi
th your site structure.
>
> BTW: From the time that you originally posted your first message about thi
s, to now, you really
> could have updated all of your pages.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "Michael Hoeben" <MichaelHoeben@discussions.microsoft.com> wrote in messag
e
> news:0F6F01C7-0A4B-4350-996B-716F77D7056B@microsoft.com... 
>
>
>


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 03:09 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Front Page archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top