dorayme scribed:
>In article <50c724t05ckoak2v8fqqa7sbnetmlkaib6@[EMAIL PROTECTED]
>,
> Ed Jay <edMbj@[EMAIL PROTECTED]
> wrote:
>
>> dorayme scribed:
>>
>> >In article <0t6724t8h3gebjnd5dul9itg151k17j74o@[EMAIL PROTECTED]
>,
>> > Ed Jay <edMbj@[EMAIL PROTECTED]
> wrote:
>> >
>> >> dorayme scribed:
>> >>
>> >> >In article
>> >>
><50b24a1a-cdef-4a0a-aa70-575af5d3f53d@[EMAIL PROTECTED]
>,
>> >> > Chase Preuninger <chasepreuninger@[EMAIL PROTECTED]
> wrote:
>> >> >
>> >> >> I want to write a program that downloads web pages and replaces
all
>> >> >> the relative URLs with absolute ones
>> >> >>
>> >> >> EX. files/banner.jpg gets Replaced by
>> >> >> http://www.mysite.com/files/banner.jpg
>> >> >>
>> >> >> Where are the locations in which I would have to look to find a
url
>> >> >> that needs to be replaced?
>> >> >
>> >> >Good question, I don't know if there is a general answer. I know
that I
>> >> >can do it often by S & R by targeting any href=" that does not have
>> >> >after the " a http://
>> >>
>> >> Or do a universal search and replace on files/*.jpg.
>> >
>> >No, the question was more general Ed.
>>
>> Then do a general search and replace? :-)
>
>No, this is not right either because there is no such thing as a general
>this. You have to be specific. Hence the problem. I am not meaning to be
>awkward here Ed, it just comes naturally. <g>
You awkwardly missed my smiley. ;-) <----- winky
--
Ed Jay (remove 'M' to respond by email)


|