Firefox offers us two ways to keep our bookmarks, 1: backup as a json formatted file or 2: export as an html file.
This tip is for the json backup crowd 🙂
When we backup our bookmarks from Firefox, they come out formatted as json. The dates found therein are stored in what’s known as epoch dates ( read this ) though include millesecond precision – meaning 1,000 trailing milliseconds. So, for example, the firefox bookmark lastModified date of 1366313580447014 is really just 1366313580447. So when we write code, we divide by 1,000 to remove that part. My groovy code sample seemed to work when it looked like this :
def convertDate(def epoch)
long dv = epoch / 1000; // divide by 1,000 to avoid milliseconds
String dt = new java.text.SimpleDateFormat("dd/MMM/yyyy HH:mm:ss").format(new java.util.Date (dv));
// to get epoch date:
// long epoch = new java.text.SimpleDateFormat("MM/dd/yyyy HH:mm:ss").parse("01/01/1970 01:00:00").getTime() * 1000;
} // end of def
So for a test sample, i did a firefox backup to get bookmarks-2013-04-29.json. Then added some groovy sugar to parse the text with json slurper.
convert from epoch date:18/Apr/2013 21:33:00
from : println “convert from epoch date:”+convertDate(json.lastModified)
The staff at Floodgap Software have worked overtime to keep us older Apple iMac people happy by reworking the Mozilla source code for Firefox. This allows them to produce a version of this famous browser for the PowerPC chipsets found in older Apple iMac, Powerbooks, etc. Supported chipsets include G3, G4 and G5 processors. You can look at their Floodgap Intro Page here: http://www.floodgap.com/software/tenfourfox/
This tutorial may cure issues where a vimeo movie that YOU have created will not play in facebook. If you see this screen when you attempt to play a vimeo video, then this tip should correct that issue. If the facebook box does not look like this, then this tip may or may not solve your issues. You do NOT need to buy the Vimeo Plus feature to make this work.
Log into your vimeo account. https://vimeo.com/ If you have more than one vimeo account, you will need to use the credentials and user name that you used when you created the video that does not work. Note that you CANNOT change the copyholder rights of videos that you did not create. You cannot change someone else’s videos.
This problem is because of copyrights and distribution rights you, as the video author, have given or withheld to each video you create. When you upload a video, you declare an undertaking that the video work is your own and that you are the owner of it, and that you have the right to do it. If you are not the owner or do not have the rights to exhibit it, then you should not upload it.
Follow these steps :
Log into your vimeo account.
Look at the menu choices at the top of your vimeo dashboard. Click the menu item Videos.
You should see My Videosas this sample shows. It will show you all the videos you’ve created with this user account.
Find the video that does not play in facebook. At the top right edge of that thumbnail, is a small icon of GEARS. Click that.
A panel appears showing you the basic info for this video, plus further menu options that you can play with and do other things with your video. You can put in a title and description of this video, tags that people can use to search for your video. You must save these changes as described below.
Find the PRIVACY choice in the menu bar. Click that.
You should see the Video Settings / Privacy panel. Notice that near the middle of this panel is a choice Where can this video be embedded ?As you can see here in my example, the choice was Nowhere which restricted the playing of this video to the vimeo site only. Confirm or change this choice to Anywhere. Also confirm that the other choices allow Anyone to have access to your video.
Click the Save Changes button at the bottom of the screen to update your settings for this video within vimeo.
Go back to your browser and log into your facebook account.
Try to play your video now. It should play normally. If it does not, then it may be because your browser has stored a copy of the video link in it’s own cache. If you clear out the cache on your browser, you can try to play the video again. It should play normally now. If it does not, then either you have not made these changes correctly, you have the wrong address for the vimeo video, or your browser is unhappy. Try to use a different browser so determine if this is a browser issue, or an issue with the rights on your video.
A feature of Firefox that i particularly like is the ability to import all my book marks from other browsers that i use. Since i often have several hundred bookmarks, it would be quite tedious to copy all those bookmarks over from my Google Chrome, Apple Safari, Opera and Internet Explorer browsers.
So to import those bookmarks into Firefox, click the Bookmarks menu option in the menu bar. It should look like this :
and the Show All Bookmarks menu option should be clicked. This will open the Library panel where we can manage our bookmarks. Because i wanted to pull in my bookmarks from other browsers, i chose to click the button that looks like a star. It should look like this :
and from here we can click to see a panel of yet more options :
We have a number of choices here. We can choose to Import bookmarks from an external file encoded as html. We can Export all our Firefox bookmarks into an external file encoded in html, perhaps to send to someone or load into another browser. We can Backup all our bookmarks into an external file that can later be used to Restore if our bookmarks are lost or blitzed. Did i tell you that Firefox now automatically makes a copy of it’s bookmarks at the start of each day that you use it ? Click Restore to view a list of prior day’s automatic backups we can restore from. Days may appear to be missing because if we did not use Firefox, then it will not have made a bookmark backup.
My purpose this time is to take in bookmarks from another brower, so I click Import Data from Another Browser and should see this panel :
Click the radio button in front of the browser you want to be the donor, then click Continue. This feature will cause Firefox to look into the bookmark storage area of the browser you choose from this list and read all those bookmarks. This is a direct read from thta browser’s internal file system. Cool ! After doing that, my choice of bookmarks has been vastly increased. This pix shows how i imported both Safari and Google Chrome bookmarks.
Now, here is something i’d forgotten that i had tried some time ago – to import Firefox bookmarks into Google Chrome. That must have worked too as if we look at bottom right of this pix, we can see a folder called Imported From Firefox. 🙂 You should try it. It’s not hard 🙂
Just loaded version 14 which looks almost the same as previous versions, even the bookmark export feature seems to be the same. I have a shed load of history and old bookmarks in all my browsers : Firefox, Safari, Google Chrome, Opera and Internet Explorer.
On the menu bar, click Bookmarks and select Show All Bookmarks to open the Library window.
In the Library window, click the Import and Backup button and then select Backup….
In the Bookmarks backup filename window that opens, choose a location to save the file, which is named bookmarks-“date”.json by default. The desktop is usually a good spot, but any place that is easy to remember will work.
Save the bookmarks json file. The Bookmarks backup filename window will close and you can close the Library window.
Here are some screenshots :To work with bookmarks, click Bookmarks in the menu. this should offer you a sub menu like this. Then click Show All Bookmarks to follow the trail to the next step.
See that button top left that looks like a Star ? Click that to open a sub-menu with options. Because the tool i’m writing can consume HTML, i clicked the Export Bookmarks To HTML choice.
Here you can see the Save As menu from my Apple.Typically, i export and import lots of stuff to my downloads folder. I know i can go back later and delete those items as they are typically short-lived. The Firefox export feature suggests a filename of bookmarks.html and as that is ok with me i click SAVE button, then run my tools over the exported HTML file.
Just loaded version 13 which looks almost the same as previous versions. I’ve been exploring some of the latest features in this version of the venerable browser.
I’m assuming you are reading this post as you are interested in the bookmarking process of Firefox. Perhaps you have problems with your bookmarks, or want to collect all your bookmarks that you made earlier in different browsers into a single collection, or you just want to know more, so read on.
What Are Bookmarks ?
Each time you visit website pages on the internet, your browser remembers the address of those pages and keeps them in a history file. All browsers do this, not just Firefox. Using the HISTORY menu option at the top of your browser screen, you can review the web pages you’ve visited. Bookmarks are addresses that you choose to remember, or rather, to ask your browser to remember, so that you can reach them again later.
Copy Bookmarks From Other Browsers
The new version of Firefox 13.0 has a shiny new feature to copy all the bookmarks from other browsers on your computer. It does this by finding out which browsers are located on your system, and then reading the bookmarks from their bookmark respoitory. This allows a copy process to include bookmarks that you might have made while using another internet browser on the same computer.
Here is an example, i did on my Apple Mac using Firefox 13.0.
Click the BOOKMARKS option to see a choice starting with SHOW ALL BOOKMARKS. Click this to reach this display :
This is the option you need to choose.
Choose which browsers to copy from. Note that Firefox may not ‘see’ all the browsers on your system. On my systems it did not find my Opera or Arora web browsers but it did find Safari, Google Chrome and Internet Explorer.
You can pick which resources to copy from other browser(s). This is a non-destructive copy so you will not loose anything in the other browsers.
Successful Imports look like this. Hope yours worked ok.
Sample Bookmarks Successfully Imported – If you export as an html file now, your exported file will show the complete collection of bookmarks from your selected import browsers.
I’m assuming you are reading this post as you are interested in the bookmarking process of Firefox. Perhaps you have problems with your bookmarks, you need to find bookmarks that you made earlier, or you just want to know more, so read on.
What Are Bookmarks ?
Each time you visit website pages on the internet, your browser remembers the address of those pages and keeps them in a history file. All browsers do this, not just Firefox. Using the HISTORY menu option at the top of your browser screen, you can review the web pages you’ve visited.
Suppose you vist a website page on knitting and want to keep the address / location of that page for future use. You can use the BOOKMARKS menu option to do that. Click that menu option to reach a smaller set of menu options, one of which is BOOKMARK THIS PAGE. If you click that option, your browser will remember the address of your current web page in a bookmark file. You may be asked to choose a folder where your bookmark will be stored. Remember that the history file and the bookmark file are different and are not stored together. They are not used for the same purpose.
You can maintain the bookmark file as you would any other file. You can add more bookmarks, you can delete them, you can move them between folders and topics.
Often it becomes necessary to preserve your bookmarks. Perhaps you want to move your bookmarked website addresses between different versions of a browser, between different browser’s bookmark systems or even between different computer systems. With Firefox 13.0, you have two choices. You can either :
Backup Bookmarks to HTML file
Do a Full System Backup
Which choice depends on what you want to do, Neo.
Full System Backup
A full system backup is typically used when you wish to preserve a full copy of the existing bookmarks against future problems so you could reload them later. This is a manual task on your part to preserve your bookmarks. Firefox 13.0 has an automatic backup feature ( dunno about prior to 13.0 ) to save your bookmarks at the start of each day. The first time each day you use Firefox, it will check if a backup has been taken for today and if not, it will make a full bookmark backup copy for you so that you can restore from it later. If you do not use Firefox for a few days, or if you leave Firefox running for several days, there may not be an automatic backup for those days. This will appear as a gap in the dates of the backups.
The Backup and Restore feature uses a file format known as JSON. This is an internal format that browsers use to transport data within/between themselves and other systems. It looks a bit like this:
A backup to an HTML file would be used when you wish to transport your bookmarks to another system or browser, or maybe email them to Aunt June, etc. It is a full copy of all your bookmarks, you cannot choose to export just a piece of it. Beware of your bank details!
You can also view this exported file as a web page just by clicking it in your file finder / explorer tool to open it. It has a different format from JSON and is the HTML format we use to construct web pages. A sample HTML file that was exported, might look like this:
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<DT><A HREF="place:folder=BOOKMARKS_MENU&folder=UNFILED_BOOKMARKS&folder=TOOLBAR&sort=12&excludeQueries=1&maxResults=10&queryType=1">Recently Bookmarked</A>
<DT><A HREF="place:sort=14&type=6&maxResults=10&queryType=1">Recent Tags</A>
<DT><A HREF="https://addons.mozilla.org/en-US/firefox/bookmarks/" ADD_DATE="1288945923" LAST_MODIFIED=
Restore All Bookmarks
We can restore our bookmarks from a previously created backup file, either one made automatically by Firefox or manually by a menu option. A restore process completely removes any existing traces of current bookmarks. In other words, it returns your bookmark file to the same way it was on a certain date.
To do this, click BOOKMARKS then SHOW ALL BOOKMARKS then click the STAR to open a menu of five options. The first two options are to BACK or RESTORE. Let your mouse cursor hover over the restore choice, or you may need to click it to see this panel :
Choose a date that your bookmarks were in a good state. Click the date with the entry matching that date. If all goes according to plan, all your existing bookmarks will be removed and in their place, a set of bookmarks for the start of day for your chosen date will now exist.
You might want to export your current bookmarks before you do this, so if anything goes arwy, you may be able to preserve some existing bookmarks.