Firefox allows end user to export bookmarks to the XBEL bookmark exchange format. But I would like to programmatically:
- Export some (not all) of the bookmarks and
- Import xbel bookmarks into Firefox.
Preferably using a web language so that I can run the script from web server.
Can anyone suggest a solution?
Except by writing a firefox extension, I don’t think you can do it. The only language that could have access to the navigator is JavaScript, and browser are designed to prevent JS from acessing them (for security purpose).