[SOLVED] How to print listing of Firefox bookmarks?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Many years ago I was able to print a listing of bookmarks in Mozilla browser. I would like to do that again.
The problem is that I'm now using Firefox 3.6.12 and can't find anything in the menus to allow this. I've tried cut and paste from the organize bookmarks view but it doesn't work very well, loosing formatting.
Can anyone suggest a method to obtain a printed listing?
Thanks, Tom
Click here to see the post LQ members have rated as the most helpful post in this thread.
Bookmarks->Organize bookmarks...->Import and Backup...->Backup...
Save the file with the desired name. The extension will be .json which you can read in a human readable format here: http://jsonformat.com/#jsondataurllabel
OR
Bookmarks->Organize bookmarks...->Import and Backup...->Export HTML...
Save the file with you desired name and it results in something like the attached image:
Last edited by Aquarius_Girl; 02-16-2015 at 11:57 PM.
There is a solution in the mozilla forums: http://support.mozilla.com/en-US/questions/748417. Basically you have to export bookmarks as HTML, open the file and then execute a javascript from the address bar:
this will put http addresses near the bookmark names, the you can print the page. You can also apply your own parsing command from a terminal and extract the information you want to print, organizing them at your pleasure. Hope this helps.
Strange, it works for me. I have the usual "Copy link location" in the right-click menu and I can copy and paste in the URL bar where only the address will appear. Do the entries in the transformed page look like normal URLs?
I open that html file in the firefox, press Ctrl - A to select all, press ctrl - c to copy, and ctrl - v to paste and then this is what I get
Code:
Bookmarks Menu
Recently Bookmarked
Recent Tags
bits
5.5 Packing and Unpacking Bit Strings
array of bits - C / C++ answers
comp.lang.c Frequently Asked Questions
Cprogramming.com - Tutorials - Bitwise Operators and Bit Manipulations in C and C++
C syntax - Wikipedia, the free encyclopedia
Handel-C Forum - How do i specify an array of bits ??
How to do bit packing in c++? - Yahoo! Answers
Packing Bits with Bit Fields
unsigned char into array of bits - C
FLTK
#defines
Examples
Fl_JPG_Image() linking path
Fl_JPG_Image() needs const char* FLTK Forum
Function Reference
Man
.........
Last edited by Aquarius_Girl; 02-16-2015 at 11:57 PM.
Now I can see what the problem really is. Indeed the URLs cannot be selected at all. They don't appear as text objects but I cannot explain why. As I mentioned earlier, I retrieved the solution from the Mozilla support forum, but I'm not a javascript expert.
Anyway, I can offer a workaround to print bookmarks in a similar format, without the brief descriptions that appear for some links. Here is an awk code that will print the title and the URL embedded in <> as shown by the java script. The section names of the bookmarks list will be printed out, as well:
I ran it that way and then opened bookmarks.html and selected, copied and pasted here:
Did I miss some point here? and I can't see the file bookmarks_with_urls anywhere!
Code:
5.5 Packing and Unpacking Bit Strings
array of bits - C / C++ answers
comp.lang.c Frequently Asked Questions
Cprogramming.com - Tutorials - Bitwise Operators and Bit Manipulations in C and C++
C syntax - Wikipedia, the free encyclopedia
Handel-C Forum - How do i specify an array of bits ??
How to do bit packing in c++? - Yahoo! Answers
Packing Bits with Bit Fields
unsigned char into array of bits - C
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.