code for merging multiple firefox bookmark.html files
Bookmarks merger allows the user to merge multiple firefox bookmark.html files together, taking care to intelligently merge duplicate folder layouts. The script bookmark_merger.py can be used on a folder of bookmarks.html files or the bookmark_parser.py can be imported as a module. More detailed instructions exist in the README file and on the sourceforge site.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.