71 users online (0 members and 71 guests)  


  Results 1 to 8 of 8

Related

  1. newB question    Forum: CGI Perl Forum
    Replies: 1
  2. Newb Cgi Question    Forum: CGI Perl Forum
    Replies: 2
  3. Stupid little arrow...    Forum: CSS Forum
    Replies: 3
  4. Hi All.... Imma Newb    Forum: Introduce Yourself
    Replies: 2
  5. Help with a stupid table question    Forum: HTML Forum
    Replies: 2
  1. #1
    ericjiii's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2007
    Posts
    6

    Stupid Newb Question

    Hi.
    I was wondering if there were any generous souls in this forum that could help me out? I am new to HTML (et al) and am trying to test something here at work. I need to try and identify all the tags\attributes that might contain a URL (absolute path - Eg. http://mycompany.com ...). I am aware that links in HTML contain an href attribute. So I think I am all set there. However, there are other attributes that I might not be aware of. For example, an external javascript file etc. I believe that CSS, XML (et al ???) might also contain absolute URLs. I am just not sure if that's true or not. Would anybody be able to come up with a list of of languages and tags\attributes that might contain a URL. Or point me to a source that would have a consise list (versus having me spend a week researching all the possibilities). Thanks in advance. Sorry if this is a major PITA.

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Stupid Newb Question

    I would scan the files for "href", "src", "include"

    anybody else with others?
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    Soujirou7's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2007
    Posts
    2

    Re: Stupid Newb Question

    Quote Originally Posted by Dave
    I would scan the files for "href", "src", "include"
    That would cover most urls you are likely to come across. If you are just trying to gather a list of all the urls in a given set of web docs then perform a text search on something like http: or www or .com as those are included in any url.

  4. #4
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Stupid Newb Question

    None of those would work on a relative link though.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  5. #5
    JamesonLewis3rd's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2007
    Location
    Arlington TX
    Posts
    11

    Re: Stupid Newb Question

    I'm not sure this is what you're looking for, but if you want to see what a particular page links to:
    Right-Click on a blank spot in the browser, Click "View Page Info" (in Firefox, I don't know about IE though I suspect there is a similar feature), Click the "Links" tab and you'll get a list of every link contained in the source code.

  6. #6
    442penguins's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2007
    Posts
    3

    Re: Stupid Newb Question

    For IE it works, but I am not totally sure about Firefox for viewing source codes...

  7. #7
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Stupid Newb Question

    Firefox :: Right-Click --> View Page Source.
    or View --> Page Source
    or CTRL-U

  8. #8
    ausammy's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2007
    Posts
    10

    Re: Stupid Newb Question

    You Could try the "Jsview" extension for Firefox... it allows you to easily view all external pages such as css or javascript... available here: https://addons.mozilla.org/firefox/2076/



Tags for this Thread