|
-
Aug 26th, 2008, 01:42 PM
#1
Re: sztext and wite new links
You can use regular expressions with VBScript to determine what is a hyperlink in that text there.
http://www.regular-expressions.info/vbscript.html
-
Aug 26th, 2008, 01:49 PM
#2
Thread Starter
Junior Member
Re: sztext and wite new links
 Originally Posted by mendhak
Hi,
I use it to grab images of necp server (weather server).
I first use wget to get the the html page and generate the server to create me a image.
example:
http://nomad5.ncep.noaa.gov/cgi-bin/...=%2Fgens%DATE%
This generates me the html, the image is stored for a brief time in a tmp dir, and i need to generate the full link so i can use wget to download me the image.
Cheers,
Ian
-
Aug 26th, 2008, 01:51 PM
#3
Re: sztext and wite new links
 Originally Posted by gucci
Hi,
I use it to grab images of necp server (weather server).
I first use wget to get the the html page and generate the server to create me a image.
example:
http://nomad5.ncep.noaa.gov/cgi-bin/...=%2Fgens%DATE%
This generates me the html, the image is stored for a brief time in a tmp dir, and i need to generate the full link so i can use wget to download me the image.
Cheers,
Ian
Not sure I understand - are you using regex already to get the image URL out?
-
Aug 26th, 2008, 02:02 PM
#4
Thread Starter
Junior Member
Re: sztext and wite new links
 Originally Posted by mendhak
Not sure I understand - are you using regex already to get the image URL out?
No am not using any vbs yet, but because i could not get the wget program to do what i wanted in full because of wildcards and a couple of other things - The only option left was vbs.
I am quite a novice at vbs, and have.nt really had a need to use it until now really. I can write simple things to a txt file, and i did today try a search and write to a text file, but all i manged to do was get the full html tag img src="/tmp/ATEST21591.png" alt="plot">, rather than just the /tmp/ATEST21591.png.
If i could figure that out then, i should have cracked it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|