Not importing bookmarks from HTML
I reinstalled Win 7 on my laptop. Before this, i saved my bookmarks using Export bookmarks to HTML, created the bookmark.html file, checked it with Edit and it was all there. So now after installing the fresh Win7, installed Firefox 9, updated it, and i'm trying to import the bookmarks. It opens the window, i click on the bookmark.html file, click Open and nothing happens. Nothing. I restarted the win, same thing. (the Win is up to date)
Izabrano rješenje
Hi, that's not HTML, that's JSON. Did you save as a backup instead of exporting to HTML? You can restore that using the same dialog, but you will need to change the file extension to .json (lower case).
Pročitajte ovaj odgovor sa objašnjenjem 👍 1All Replies (5)
I assume that you use this menu item:
- Bookmarks > Show All Bookmarks > Import & Backup > Import Data from Another Browser
Do you see the bookmarks if you open the HTML file in Firefox via "Firefox > New Tab > Open File" ?
I am using the item: Bookmarks > Show All > Import & Backup > Import from HTML. And after pressing Open, and exiting the bookmark library (like i'm supposes to) the bmarks still don't appear.
If i open the file via New Tab > Open file, i get only text, like this:
{"title":"","id":1,"dateAdded":1326123155006000,"lastModified":1328216394707000,"type":"text/x-moz-place-container","root":"placesRoot","children":[{"title":"Bookmarks Menu","id":2,"parent":1,"dateAdded":1326123155006000,"lastModified":1339049877623000,"type":"text/x-moz-place-container","root":"bookmarksMenuFolder","children":[{"title":"Recently Bookmarked","id":4406,"parent":2,"annos":
And it goes on. This i believe means that it is not an error in my bookmarks.html file.
Odabrano rješenje
Hi, that's not HTML, that's JSON. Did you save as a backup instead of exporting to HTML? You can restore that using the same dialog, but you will need to change the file extension to .json (lower case).
That is not an HTML backup, but a JSON backup (last modified: Thu 2 Feb 2012 20:59:54:707 GMT).
You can only use such a backup to replace all current bookmarks and can't merge them with the existing bookmarks like happens with an HTML backup.
To achieve that you will first have to export your current bookmarks to an HTML file and then reimport that HTML file after you've restored the JSON backup.
- Bookmarks > Show All Bookmarks > Import & Backup > Restore > Choose File
Whoa... thank you. I'm so relieved. It worked. I renamed it to .json , exported my current bmarks to hmtl, restored from file the .json, then imported from html, and all my bmarks are now like before.
So it was my mistake after all, although i cant see why. Before reinstalling, i saved backups in .json and .html format, but only saved the .html one (dunno why i forgot about the other one) and i didn't modify anything in it.
Anyways this means i gotta be more careful next time, and thanks for your time.