realbasic-nug
[Top] [All Lists]

Re: finding links with RegEx?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: finding links with RegEx?
From: Tim Lisauskas <timm at hpo dot net>
Date: Thu, 28 Feb 2002 16:11:51 +0900
>Speaking of this sort of thing, am I missing any other attributes (other
>than HREF, BACKGROUND and SRC) that contain URLs?  It's been a while
>since I worked with HTML on this level...

Depending on how picky you want to get...

The <!DOCTYPE> generally has a URL in it.

Some META tags can have URLs in them as well.

<FORM> tags might have a URL or two.
<form method="get" action="//www.mysite.com/Search" title="Search form">

People using Cascading Stylesheets might have the definitions in an
external file, which would require a URL link.

Lastly, isn't there a <LINK> attribute?  I don't use the thing, but I
believe I've seen it around.

There are probably more, but I wasn't completely paying attention so I'm
not sure if you want all URLs, or just those of a certain flavor.

Tim
Tokyo, Japan

Tim's Rough & Ready REALbasic FAQ:
<http://home.hpo.net/timm/RBFAQ.html>




<Prev in Thread] Current Thread [Next in Thread>