Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running scripts over Windows?

Status
Not open for further replies.

DarrenPower

IS-IT--Management
Nov 1, 2001
56
GB
Hi,

I need to run a script or some such thing to gather the path and title of all of the web links from my local system. The problem is that I'm unsure how/if to do this in DOS and can only find broken link checkers, not programs that will list all of the links recursively throughout the site.

I need something like the following:

/index.html

<a href="/community/a.html">Community</a>
<a href="/helpdesk/a.html">Helpdesk</a>


Any ideas?

Cheers.
 
In IE, File, Import and Export
(Select what to export)
Then select Export to a file.

This will export to an .htm file.

See if this handles your needs.
 
Hola,

Thanks. I'm looking for something that will recursively go through a local website, and then list the links. I'm not trying to export my bookmarks. Sorry, that was my fault for not explaining. Any ideas?

Cheers,
 
I know you say you can only find broken link checkers, but have you tried Xenu? It lists ALL links, broken and working, and you can run it on local files.


You could run this, then sort by status to see the working links, and then export.

HTH

Mike
 
Hola,

I hadn't and that's a good 'un, but does it only check .html files? I was having problems with asp files.

Also, I'm looking for something that displays the title that the link is using. Basically, I'm charged with standardisation of all links across a particular site. Having one file with all of that information would help - and on Unix it'd be easy - but we're on Windows...
 
In IE:
File, Print, Options tab, Print table of links.
 
Hola,

That's a handy option, I wasn't aware of that, ta. The only problem is that I can't run this recursively over the content. Any ideas?

I appreciate that though, you've put me some way toward completion...

Ta.
 
In IE:
File, Print, Options tab, Print table of links and Print Linked does it.

Much appreciated, cheers.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top