|
Posted by dorayme on 11/23/76 11:43
In article
<1143486593.574133.19090@g10g2000cwb.googlegroups.com>,
"htmldummy" <attorneyatlaw@hotmail.com> wrote:
> Can you give me an example of what EXACTLY to search and replace? I'm
> new at this.
>
> Or better yet, a very short/simply example of a webpage with a single
> graphic that does not uses your <base> command instead.
>
> Thanks GREATLY in advance.
>
> :)
I will assume you have a capable text editor with at least basic
search and replace features over multiple documents (eg, all the
docs in some folder). Here is a big time saver:
When you type in your links, to use the examples you gave,
src="http://home.att.net/~novice/beginner/homepage/me/pic1.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic2.jpg"
type instead:
src="/pic1.jpg"
src="/pic2.jpg"
and then search "/pic" and replace all with
"http://home.att.net/~novice/beginner/homepage/me/pic"
(The quotes and the blue are just to communicate with you here).
Don't read on if the above helps you fine.
There is a more sophisticated search and replace you can use if
there are problems using the above. You did say that all your pic
links were like this. If they were not, or if you wanted to avoid
replacing all such text, then when you are composing your source,
just type some unlikely character in the places you will change
later: eg. src="*/pic1.jpg" and then do a S and R on "*/pic". The
idea here being that typing * as you go is easier than the
fingerful of "http://home.att.net/~novice/beginner/homepage/me"
--
dorayme
Navigation:
[Reply to this message]
|