relative vs absolute URLs?

Discussion in 'ASP .Net' started by Flip, Nov 24, 2005.

  1. Flip

    Flip Guest

    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.
     
    Flip, Nov 24, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kyle James Matthews

    Relative vs. absolute URLs

    Kyle James Matthews, May 11, 2004, in forum: HTML
    Replies:
    3
    Views:
    621
  2. theo

    Relative/Absolute URLS

    theo, Feb 7, 2005, in forum: HTML
    Replies:
    17
    Views:
    852
  3. Nathan Sokalski

    Converting Relative URLs into Absolute URLs

    Nathan Sokalski, Aug 11, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    764
    Sriram Srivatsan
    Aug 12, 2008
  4. Rudi Ahlers
    Replies:
    11
    Views:
    846
    Aaron Bertrand [MVP]
    Apr 11, 2004
  5. Nick Woolley

    Converting relative URLs to absolute?

    Nick Woolley, Jun 30, 2005, in forum: Ruby
    Replies:
    1
    Views:
    197
    Eric Hodel
    Jun 30, 2005
Loading...

Share This Page