topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 12:10 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: FFBookmarkUnpacker  (Read 18924 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
DONE: FFBookmarkUnpacker
« on: May 15, 2010, 12:00 PM »
FFBookmarkUnpacker

Unpacks Firefox bookmarks.html bookmarks as .url files and subfolders.

Download and more information available here
https://www.dcmember.../ffbookmarkunpacker/


Changelog:
180330
fix datestamp bug
fix encoding issue: now uses UTF-16 for ini read/write, UTF-8 for bookmarks.html read
faster unpack with less/better regex

180222
code cleanup
.url datestamp matches bookmark.html date strings

150904
bugfixes: nested subfolders, separator lines, bookmarks without subfolders

131117
fix special characters error
set profile in ini
cleans up old bookmarks before copying

120212
fix: special characters error
fix: profile issue bypassed by letting user set path manually

100515
first version
« Last Edit: March 30, 2018, 05:53 PM by Nod5 »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #1 on: May 15, 2010, 05:52 PM »
Sounds interesting.

...
unpacks Firefox 3 bookmarks.html boomarks as .url files and subfolders
...
This is an easy way to have FF3 bookmarks show up in FARR and Everything.
So does that mean FARR's non-contiguous matching can be applied to find a candidate folder which might contain a bookmark for which I'm having trouble remembering any matching strings for? :)
« Last Edit: May 15, 2010, 09:18 PM by ewemoa »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #2 on: May 15, 2010, 09:18 PM »
nice work, this reminds me of PlainOldFavorites. :up:

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #3 on: May 16, 2010, 03:41 AM »
ewemoa: yeah getting hits on folder keywords is possible with this. I was aiming especially for that because I use Firefox's internal bookmarks only to "bookmark all" on sets of open pages on some topic and put tags in the folder title.

For single bookmarks I use Tourl ( http://nod5.dcmembers.com/tourl.html ) to make a tagged .url in one whopping big folder. No need for sorting when FARR/Everything sorts things out  8)

edit: BTW, the Multicolumn Bookmarks add-on is useful for anyone with many bookmarks folders in Firefox: https://addons.mozil...firefox/addon/74381/
« Last Edit: May 16, 2010, 03:45 AM by Nod5 »

JFrankParnell

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #4 on: June 11, 2010, 10:41 AM »
Apologies if this is not a support thread...

FFBMU does not find my bookmarks, I get an error referencing a non existant profile.  Can the path to the correct profile be set in the ini?

thanks, J

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #5 on: June 11, 2010, 11:51 AM »
Hi Frank,
there's no current ini setting for that. I didn't think it would be needed. To debug this can you tell me the path to the boomarks.html file on your system?

If you have autohotkey installed (or install it, it is free autohotkey.com) then you can easily change the path in FFBookmarkUnpacker.ahk and then run that file instead of the exe (or compile a exe from it). Just replace every instance of this string in the code (3 instances) with a full path to your bookmarks.html file:
%A_AppData%\Mozilla\Firefox\Profiles\kutppos6.default\bookmarks.html

JFrankParnell

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #6 on: June 11, 2010, 12:09 PM »
my path is C:\Users\USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\ez0qx91j.default
the error it gives is the same as the path you mention:
AppData\Mozilla\Firefox\Profiles\kutppos6.default\bookmarks.html

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #7 on: June 11, 2010, 01:12 PM »
That's the path to a regular FF profile. The script only works on the special bookmarks.html file. Maybe you haven't done this:
- type "about:config" in firefox inputbar
- type "browser.bookmarks.autoExportHTML"
- set it to "true"
- close firefox
After that the bookmarks.html file should be generated, and updated, on each firefox restart. And then the FFBookmarkUnpacker should work.

JFrankParnell

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #8 on: June 11, 2010, 05:14 PM »
browser.bookmarks.autoExportHTML;true
but it doesnt make a new profile or book marks

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: DONE: FFBookmarkUnpacker
« Reply #9 on: June 12, 2010, 09:16 AM »
Hm, then I'm afraid I don't know how to solve this. In Firefox 3 doing those steps should result in a bookmarks.html at the standard location. Here is the relevant mozillapage: http://kb.mozillazin...marks.autoExportHTML