Mozilla Bookmark Filter ![]() Here is a fun little script to weed out all those dead bookmarks. Mostly meant for a Mozilla bookmark file. # /usr/bin/perl/or/whatever # Bookmark Validator Script # 11/18/02 # # This validates your bookmark.html links and spits out 'bookmarks_out.html' containing # only valid links (no 404 pages, etc.) This may take awhile to run if your bookmark file is big. use URI::URL; use LWP::UserAgent; my @OutLines; my $BookmarkFile = "bookmarks.html"; my $NewBookmarkFile = "bookmarks_out.html"; open BOOKMARKS, $BookmarkFile or die "Cannot open $BookmarkFile for read :$!"; my @BookmarkLines = |