aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Looking for spider like utility to help me find unused images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Looking for spider like utility to help me find unused images" Watch "Looking for spider like utility to help me find unused images" New topic
Author

Looking for spider like utility to help me find unused images

Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
I'm looking for a tool that will tell me if there are images and/or html pages that are not being used in my site. I have a ton of jpgs, gifs and html pages that might not be used on my site. Has anyone heard of such a tool.
Thanks!
Regards,
Dale


By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

im not sure i understand. you have a lot of "extra" files on your host? from updating the site? i have never heard of any program that can do that.
[ July 02, 2002: Message edited by: Randall Twede ]

SCJP
Visit my download page
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
I assume that you have a purely static site. If you have dynamically generated pages then the following most probably won't work. Anyway, I guess you could do it in two passes:
1. Run a traditional "clone" or "site syphon" spider over your site, saving each page and image to a duplicate directory structure somewhere. You might even be able to get away with just the functionality built into your browser!
2. Compare the "saved" directory structure with the original. Anything in the original and not in the copy is most likely redundant.
Make sense ?


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

gee..i hadnt thought of that. there is a free program you can download called site snag(i think thats the name, i forget where to get it) that should do the trick. as frank mentioned that would probably only work for a static site.
[ July 02, 2002: Message edited by: Randall Twede ]
Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
Actually I found something that does do this. Dreamweaver 4.0 does this by checking for obsolete files. Its a bit tough to find but it does do this. BTW, yes this is a static site. Thanks for your input.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking for spider like utility to help me find unused images