Archiving Firefox bookmarks
A primary purpose of bookmarks (bookmarking tool) is to easily catalog and access web pages that a user has chosen to save for future reference. One of the problem associated with bookmarks is that a content of the bookmarked web page link may change or page may no longer be valid or url may expire. So there is a need of storing our bookmarked web pages somewhere so that we can access this content whenever required.
A perl script is written for this purpose which can store our Mozilla Firefox bookmarks on our local disk. It doesn't do anything fancy but it stores all the bookmarked links in a directory under user's profile. It finds the bookmarks.html file, where bookmarks are stored by firefox under a default profile. The program then extracts all the hyperlinks in a text file. This file is given as a input to the wget command. The wget downloads all the webpages, converts them in to a html format and stores it in a newly created directory under user's home.
Download the attached file and make it executable. chmod +x bookmark-extract.pl
When you run the perl script, it will download bookmarked pages within a folder under your home directory.
Attachments
- bookmark-extract.pl (4.1 kB) -
Perl script to download bookmarked pages
, added by pavgi@uab.edu on 07/08/08 17:05:29.
