469,267 Members | 1,094 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

relative vs absolute URLs?

I am retrieving a web page and then taking an inside table to display as an
RSS feed. However, there are some relative URLs in there. Of course they
work perfectly fine when using IE and navigating to the page. However when
I scrape the html out, and load into a temp file, they longer work due to
the relative urls.

Is there an easy (ie a method to run over the html table or the request) to
transform the relative URLs to absolute ones? I was thinking I would have
to take out the html table I'm interested in, and using a loop, go through
searching for the relative urls and replace with absolute ones. Is this the
best way?

Thanks.
Nov 24 '05 #1
0 966

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Joe Cybernet | last post: by
3 posts views Thread by Peter Taurins | last post: by
24 posts views Thread by sinister | last post: by
10 posts views Thread by tom | last post: by
15 posts views Thread by Lars Eighner | last post: by
1 post views Thread by Nathan Sokalski | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.