| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Apr 07, 2004 7:37 pm Post subject: |
|
|
Does anyone know how to make something that would work for both
the following ways a URL is found in HTML source code?
| Code: | <a href="http://freezingfire.vdsworld.com">test</a>
<a href=http://freezingfire.vdsworld.com>test</a> |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1567
|
Posted: Wed Apr 07, 2004 9:29 pm Post subject: |
|
|
| Why not search for the string http://, start parsing from that POSition and get the substring up till it finds a " or >. You may also want to use the TRIM function afterward in case there were any extra spaces in between which will be removed out. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Apr 07, 2004 10:19 pm Post subject: |
|
|
Good idea.
I didn't think of that. I'm making a site crawler, I'll probably share it when
it's done.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Apr 08, 2004 4:37 pm Post subject: |
|
|
True.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|