开发者

Reading Firefox Bookmarks

Apparently开发者_开发技巧, latest Firefox versions stores its bookmarks in a file called 'places.sqlite'. Like a browser can import the bookmarks from another browser, I would want to import the bookmarks to a file, but I need to know what would you need to do it?


SQLite is an embedded, serverless, relational database. Besides the mentioned ODBC drivers, it has its own C API.


You can try the SyncPlaces Firefox extension, some kind of successor of the old Bookmarks Synchronizer which is no longer maintained.

I use it to keep my bookmarks and cached passwords on Firefox on several computers in sync.

The file format it uses for export is XBEL, an XML based format, which was originally designed for a Python bookmarks management program, and which you might probably be able to use in your C++ program.

In principle, if you link to the SQLite library, you can access *.sqlite files directly using SQL. Or, if it's a one shot program, you can try SQLite Browser to open such a file and export the tables to CSV.


Try using SQLite DBC driver. http://www.zentus.com/sqlitejdbc/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜