Internal structure / JSON bookmark backup file specification
My current version of Firefox is 28.0.
What I already know, is:
-backup of bookmarks (JSON) files are stored in folder
"...\Mozilla\Firefox\Profiles\ < xxxxx >. default\bookmarkbackups
in the files like for example bookmarks-2014-04 - 27_770.json
(or in any other place when you manually save).
-only Favorites export files are stored in any place under HTML (XML) as a Netscape bookmark on your export demand.
-the main difference between these two formats is that in the HTML ONLY the BOOKMARKS export file (URL / URI) and no. TAGS are stored.
-the JSON backup file stores the bookmarks (Uri), tags and complete the structure of the tree. Firefox is therefore able to restore the menu bookmark complete with all its information.
I do a lot of searching for information in internet. To support a work sophisticated with hundreds or even thousands of boomarks collected tags are absolutely necessary. And I often export bookmarks with tags to other browsers or social bookmark sites. So I have no idea why firefox doesn't support tags in the export files - because a large amount of bookmarks without tags is not easy to manage.
My idea is to program a tool or an extension that reads a file backup JSON and constructs an HTML export file which also contains tags.
The problem is that the internal structure of the JSON backup file is quite complex. It contains in fact 'id', 'index', information from 'parent' (fully digital) which allows to reconstruct the original directory structure. Same information on labels is somehow related to bookmarks. Actually the file has a complicated structure of lists and trees. And do not think that there is any identifier, e.g. "tags" which precedes the list labels attached to a bookmark (as in HTML export). In fact I could identify some of my tags in the file, but they are not named for example with 'tag' - I could identify them because I know they are some of my tags defined, but a program does not have this information and needs in General, identification tags in the file. Currently, I don't know any way to do this!
Is there someone who has a better understanding of the structur of this file or know a specification that could be somewhere? Thans so much in advance...
Tags are basically this structure if you are looking for backup bookmarks for tags JSON:
{ 'title': 'Tags', 'type': 'text/x-moz-place-container', 'root': 'tagsFolder', 'children': [ { 'title': '<tag title>', 'id': <tag id>, 'type': 'text/x-moz-place-container', 'children': [ { 'title': '', 'id': <id of child>, 'parent': <parent id>, 'type': 'text/x-moz-place', 'uri': 'http://', 'charset': 'UTF-8' },{ <more children> } ] },{ <more children> } ] },
Note that easier to inspect a backup JSON is opening the file in Notepad, and then click the print enough to make Firefox display the file in the format.
Tags: Firefox
Similar Questions
-
When is the backup file for bookmarks created?
My current bookmarkbackups folder is dated 8.18.15. I've added new bookmark today - 8.20.15. When the new bookmarks will be added to a bookmarkbackups folder? I closed Firefox thinking that would invoke the backup, but he did not. Thank you
A JSON bookmark backup is created when you start Firefox when a comparing the current hash obtained with previous shows a difference, but you might give some additional downtime if you have a large amount of bookmarks in Firefox.
If necessary, you can manually create a JSON backup.
This is an uncompressed backup (.json).If this isn't the case, then maybe do a check of the places.sqlite database.
-
"Failed to process the backup file" - bookmarks JSON file
I deleted my appdata files without thinking and then allowed my trash. When I opened firefox again all my favorites have disappeared. I used piriform recuva to find my deleted files and recover the backup JSON files 10 bookmark. When I try to restore my bookmarks, I get the message "failed to process the backup file". "Files are 95 KB in size, but when I open them with Notepad that they are empty, however, when you use the Restore tool, it is said ' elements of 480", which I assume is the amount of bookmarks, I had, which means that firefox can see data. The same happens for all ten backups that I recovered.
Any help would be appreciated.
What is the name of this file?
Firefox can only look at the file name for the number of items.
- < number > _ < hash > .json bookmark-YYYY-MM-JJ_
The files in the bookmarkbackups folder are currently in compressed format .jsonlz4 (i.e., they show data binary like a ZIP compressed archive) and cannot be easily unzipped for access the JSON text format.
The files are compressed means that a single error in the file will make it impossible to unpack the file.Have you checked all the available JSON backup to see if everything works?
A backup created manually JSON is always not compressed, so can be easily inspected or opened in a text editor (Notepad > "Pretty Print"), but with a compressed file, it is much more difficult.
Recovery of a file via an undelete utility is no guarantee that the space occupied by the file has not been used by another file, and so is corrupt.
-
Hi all
What is the difference between the use of a backup Favorites file ".json" and a file of bookmarks ".html"? It seems that both of them do the same job. If this is the case, then why there are two options (.json and .html) to do the same job? If this isn't the case, then what is the reason for the availability of the two options and how are they different? Although I read the material, it didn't quite clear form me again. Please be so kind enough to elaborate on the question so that I can get a clear understanding of their good use (s).
Thank you very much in advance for your time and skillsHello
See questions/684284
-
After trying to import my favorites saved in an html file, using bookmarks > organize bookmarks > import and backup > import html, nothing is being updated from saved files
This isn't "machine code", it's like a JSON backup file is formatted (except it usually shows no line breaks, it's a long line when displaying in most text programs or in Firefox). Rename a JSON file as HTML does not work, the formats are completely different.
If you replace this file in jsonextension, you should be able to restore these data in Firefox.
Bookmarks > organize bookmarks-> import and backup - restore - Choose file... -
When I try to restore my bookmarks I get the message "Failed to process the backup file."
I lost my favorites and when I try to get back them, I can see the backup files in the recover window, but when I try to restore my bookmarks I get the message "Failed to process the backup file." Can help you? Thank you
You can check for problems with the database places.sqlite file in the Firefox profile folder.
-
I accidentally replaced my backup with current bookmarks while trying to import from it. The original bookmarks were not present to Bookmark Backup in the profiles, so I used Recuva for recovering. Now, Firefox gives the "unable to process backup file" thingy.
System Restore didn't help either.
I managed to recover intact bookmarked using Recuva, deep search in the Profiles folder.
-
The ability to access saved previuosly bookmarks disappeared recently. I work in the system to get a restore from an earlier date (10 files appear), but to all the world I get the message - Impossible to treat the backup file - I think that this has coincided with a recent update. Are you able to help?
CarlOne possible cause is a problem with the places.sqlite file that stores the bookmarks and history.
-
power outage this morning... dunno if Firefox was open
Now the go bookmarks
library completely empty
Restore backup gives the message: "failed to process the backup file".
cannot save new bookmarks
One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.
-
don't know what details to tell you, that all important data are written in the question. Thank you.
You have now two folders of Bookmarks Toolbar. One of the installation of Firefox (the main one) and a 2nd file to import a bookmarks.html file.
Find the Bookmarks Toolbar folder that is under the bookmarks Menu folder and copy or drag ' drop these bookmarks in the Bookmarks Toolbar folder that is above the bookmarks Menu folder.
-
operating system is windows vista laptop.
I went into system restore settings and couldn't find how to locate my saved files. I think they take a LOT of space, I deleted all other unused files and I have more than 6 GB of free space out of 67 concert. Help, please? I don't know much about computers at all.
Hello
Follow the method of deleting a file of older backup using sub steps and check later if the problem persists.
(a) open backup and restore by clicking the Start button, click Control Panel, click system and Maintenanceand then clicking backup and restore.
(b) click on Manage space. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
(c) to delete older backups of files under that data backup file, click on view backups.
You can then select the backups of files that you want to delete, which will free up disk space. Remove an entry in the list will not affect the other backups. If you think that you don't need one version of your files from a certain backup period, you can delete that backup. We recommend that you always keep the most recent backup.
Backup and restore: frequently asked questions:
http://Windows.Microsoft.com/en-us/Windows7/back-up-and-restore-frequently-asked-questions
Should what backup settings I use to maximize my disk space?
Hope this information is useful.
-
Bookmark backup partially damaged. How to restore?
I just needed to restore my bookmarks, and unfortunately, several files are now empty.
I did not hesitate and save current bookmarks (places.sqlite).I found that on 9 and 10 may, the bookmark backup has failed. He returned to work a day later with a 1.7 MB file that contains the files, I'm looking for. Since May 12, my bookmarks file shrunk to 1.3 MB, but claims a greater number of bookmark entries. From this date, bookmarks, I am looking have disappeared.
So, I would like to know if there is
(1) a way to combine the .json files two to one. The combination of the backup of today and 11 would be perfect. But how?
or
(2) a way to repair the obviously corrupt current backup missing bookmarks in entire folders?
I thank very you much in advance!
I have a thought. I don't know if it will work. With a new profile, to avoid
problems with your normal profile, load one of the bad files. Then
< Shift > < control > B to open the main window of bookmarks. At the top of the
page, select import and backup. Then press
Export bookmarks as HTML.
Then, clear the system and do the same thing with the other bad files. The
You should be able to combine HTML files later, because -
Bookmark Backup does not work.
I recently had to uninstall and reinstall Firefox, because I could not get rid of text improve malware. Before that, I created a backup of all my favorites. However, once the resettlement of Firefox was over and I went to restore my bookmarks I discovered that the file did not work. After trying a few things, I realized that when I created the backup and the file name was changed so that I could more easily ID, the file was not saved in JSON format. It is saved as just a FILE. I have no idea why. Is anyway to fix this?
Try to use the tiny .json - and that file looks like it has some characters added that the beginning of the file - 1 character and a space white or two.
-
Hello 0457 GMT in the United Kingdom on Thursday, February 28, 2013.
I would like to disable the automatic daily bookmark update files that Firefox creates and also delete all my previous Firefox backups daily automatic bookmark in my account. How long are the automatic daily backups of bookmark stored for it please.
I would just make one. JSON back manually please.
Thank you
pingu70The value of the integer pref browser.bookmarks.max_backups to 0 on the topic: config page.
-
I've saved my favorites before uninstalling Firefox and reinstall tried to restore my favorites, it says file unsupported after checking type everything said json so I thought it was the json file, then I just saw on my bookmarks file that isn't Google the JSON or html so how do I restore a bookmarks file that is a FILE run Firefox 27.0.1 x 86 we windows 8
You must add a tiny .json: bookmarks-2014-02 - 15.json
Maybe you are looking for
-
Cannot install the Trusted Platform Module Driver / software
I am not able to install the driver of the TPM secure and so I'm not able to install the TPM software... I have a satellite u200, and it's on my tools and utitilities cd. Installation always says "Trusted Platform Module not found" someone at - it th
-
I wonder how my documents are appearing as WPS 97, I bought the University Office365 package and it should work to open my documents in Word. I'm puzzled as to why this WPS was overpowerd my computer and will not open or edit documents. How can I a
-
I have not been able to empty my trash for a while. I am slot that Win7 Ultimate 64-bit.Through this forum I see that others have had the same problem, but not "Found this helpful" or "Solved" assignments. I tried various solutions proposed, but in v
-
The blackBerry torch Smartphone e-mail account configuration Internet inactive
Hello When I go to home > Setup > email accounts the Internet e-mail account button seems to be disabled, and that's why I can never create an account through my phone. I have my personal emails etc. added by the carrier to my phone, but I'm curious
-
Unable to update Windows 8.1 for "not being is not administrator.
I opened the store and try to upgrade to Windows 8.1 but I got rejected with a message saying "you must use an account with administrator privileges to install Windows 8.1." Try to connect with the user of an administrator on this PC account and try