Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Not importing bookmarks from HTML

  • 5 відповідей
  • 2 мають цю проблему
  • 3 перегляди
  • Остання відповідь від axelrock

more options

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)

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)

Обране рішення

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).

Читати цю відповідь у контексті 👍 1

Усі відповіді (5)

more options

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" ?

more options

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.

more options

Вибране рішення

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).

more options

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
more options

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.