html export does not back up tags

VERIFIED FIXED in Firefox 30

Status

()

Firefox
Bookmarks & History
P3
normal
VERIFIED FIXED
9 years ago
2 years ago

People

(Reporter: Jim Jeffery not reading bug-mail 1/2/11, Assigned: mak)

Tracking

Trunk
Firefox 30
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [papercuts][migration])

Attachments

(2 obsolete attachments)

Using the Library to 'Export' you bookmarks does not export 'tags' or unfiled bookmarks. 

Wasn't this supposed to be fixed by;
https://bugzilla.mozilla.org/show_bug.cgi?id=396806

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5pre) Gecko/2008031506 Minefield/3.0b5pre Firefox/3.0 Firefox/2.0.0.12 ID:2008031506
Vista HP
Flags: blocking-firefox3?
Please read comment #5 of the referenced bug: https://bugzilla.mozilla.org/show_bug.cgi?id=396806#c5.

This is not a regression, as HTML export has never has supported export of that data.

This is not dataloss, since even if you import it, it copies the imported data into the existing bookmarks collection, does not replace it. Which is the same behavior for quite a while (since the early alphas iirc).

Basically, the HTML serialization is not capable of supporting all the features needed for full and complete backup of Places data (tags, annotations, multiple bookmark roots), without convoluting that format even further. JSON provides full backup and restore capabilities.

I've changed the summary to reflect the specific problem.
Keywords: dataloss, regression
OS: Windows Vista → All
Priority: -- → P3
Hardware: PC → All
Summary: Library Export - does not back up unfiled and tags → html export does not back up unfiled bookmarks and tags

Comment 2

9 years ago
Unfiled bookmark folder export is Bug 405936.
Summary: html export does not back up unfiled bookmarks and tags → html export does not back up tags
This will not block the final release of Firefox 3.
Flags: blocking-firefox3? → blocking-firefox3-
It would be nice to make it work with del.icio.us tags, also.
I tried to import my bookmarks to firefox 3 beta 4 and lost the tagging.

Comment 5

9 years ago
This is important for roaming capabilities. Maintaining bookmarks is a hassle, but I like the tagging feature in FF3 - especially its role in Places - and do not want to resort to a third party add-on like del.icio.us which boasts an experience apart from FF3 Places.
With regards to comment #1, and the fact JSON is now active, and the Library has been updated to reflect that 'export/import' is for html only, and there is not html support for tags and other enhancements now provided by Places, I would guess this bug should now be marked WONTFIX ?

Comment 7

9 years ago
(In reply to comment #6)
There's also no HTML support for the date when a bookmark was added or for either an encoded icon or icon URL, but they are in bookmarks.html now. A simple solution for truly exporting bookmarks and, more importantly, backing them up - since people would not want their tags lost, and backup should be just that - is to have, for example, an attribute TAGS that is simply a comma-delimited list just like how you enter tags.

Duplicate of this bug: 453769

Comment 9

9 years ago
This is how delicious do it:

<DT><A HREF="http://www.longshot.com/~kmixter/gmailui.html" LAST_VISIT="1210301148" ADD_DATE="1210301148" TAGS="thunderbird,extension,software,e-mail">GMailUI: Thunderbird Extension</A> 

Couldn't Mozilla adopt this format for export and import through HTML?

Ma.gnolia.com:

<A HREF="http://www.tiddlywiki.com/" ADD_DATE="1137664267" LAST_MODIFIED="1172879027" TAGS="wiki, free, open, source, wikiwiki, tiddlywiki">TiddlyWiki - a reusable non-linear personal web notebook</A> 
 <DD>Welcome to TiddlyWiki, a free MicroContent WikiWikiWeb by JeremyRuston. It's written in HTML, CSS and JavaScript to run on any modern browser without needing any ServerSide logic. It allows anyone to create personal SelfContained hypertext documents that
 <DT>

What is the point of having all the trouble of adding tags the bookmarks if we can't export them with the bookmarks?

These two services understand this, do you?
Duplicate of this bug: 460529
Severity: blocker → normal
I just hit this bug when I was trying to move a set of bookmarks from my trunk profile to my 1.9.1 profile. I found it odd that the tag data did not go with the bookmarks. And since the JSON export would replace my bookmarks, I am not sure I had too many other options when I was trying to move my bookmarks from one profile to another without losing the tags.
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks

Comment 13

7 years ago
This bug is still here, and with Delicious shutting down it seems a fair number
of people are trying to move bookmarks around, but failing in part because of
the import/export path through Firefox is broken (losing the tags). 


See bug #416611 for the import bug.

Comment 14

6 years ago
This bug is still present in Firefox 5.

The format proposed on comment 9 would be a simple and elegant solution to the problem.
Whiteboard: [papercuts][migration]

Comment 15

6 years ago
Created attachment 544411 [details] [diff] [review]
write TAGS to bookmarks.html on export

this seems to work for me.  when i export my bookmarks, i now get a nice TAGS="..." tag in each <a> bookmark tag as appropriate.

note: ive never hacked on mozilla/firefox before, so i have no idea if this code is correct or how to go about getting it merged.

Comment 16

5 years ago
#15 works for import? I'm looking for import from delicious... WITH tags.

Comment 17

5 years ago
please read comment 13

Comment 18

5 years ago
(In reply to Mike Frysinger from comment #15)
> Created attachment 544411 [details] [diff] [review]
> write TAGS to bookmarks.html on export
> 
> this seems to work for me.  when i export my bookmarks, i now get a nice
> TAGS="..." tag in each <a> bookmark tag as appropriate.
> 
> note: ive never hacked on mozilla/firefox before, so i have no idea if this
> code is correct or how to go about getting it merged.

hi bro, could you please tell me or give some instructions to be able to install your patch? i really need export with tags...
thanks...

Comment 19

5 years ago
Comment on attachment 544411 [details] [diff] [review]
write TAGS to bookmarks.html on export

so... what do i have to do with this? please tell me...

Comment 20

5 years ago
I made a binary version for OSX with this patch and #416611 from Firefox 12.0 so it's easier to try and test.

http://dl.dropbox.com/u/10215109/Firefox-patched.dmg
Created attachment 621187 [details] [diff] [review]
unbitrotted

needs to remove spaces after comma maybe, and also needs a unit test.
Attachment #544411 - Attachment is obsolete: true

Comment 22

5 years ago
(In reply to gagarine from comment #20)
> I made a binary version for OSX with this patch and #416611 from Firefox
> 12.0 so it's easier to try and test.
> 
> http://dl.dropbox.com/u/10215109/Firefox-patched.dmg

could you help me to try this patch in my pc please? i really need it and i dnt kown what to do please please man

Comment 23

5 years ago
If it is not possible to embed tag data within HTML could it at least be made clear that tags will not be saved as part of export HTML?

Comment 24

5 years ago
(In reply to royroyers from comment #22)
> (In reply to gagarine from comment #20)
> > I made a binary version for OSX with this patch and #416611 from Firefox
> > 12.0 so it's easier to try and test.
> > 
> > http://dl.dropbox.com/u/10215109/Firefox-patched.dmg
> 
> could you help me to try this patch in my pc please? i really need it and i
> dnt kown what to do please please man

Nop sorry the binary is only for OSX. If you want to do it for PC you will have to try to patch... The easiest will be to use a mac of a friend.

Comment 25

4 years ago
Couldn't we just repurpose description field for coma separated tags list for the first line and add description on next line? (just like multiline description is done in html export)
Flags: blocking-firefox3-
(Assignee)

Updated

3 years ago
Depends on: 968177
(Assignee)

Comment 26

3 years ago
with bug 968177, we are now exporting tags in html
Assignee: nobody → mak77
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
(Assignee)

Updated

3 years ago
Attachment #621187 - Attachment is obsolete: true

Updated

3 years ago
Keywords: verifyme
This issue is verified fixed on Aurora 30 2014-04-23 (Build ID: 20140423004003) and Nightly 31 2014-04-23 (Build ID: 20140423030202), using:
- Windows 7 64-bit [1],
- Ubuntu 12.04 32-bit [2],
- Mac OS X 10.9 [3].

1. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
2. Mozilla/5.0 (X11; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0
3. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0
Status: RESOLVED → VERIFIED
Keywords: verifyme

Comment 28

2 years ago

I recently lost all my recent bookmarks as well. 

I few days ago decided to reinstall eveything all my data was backed up exept my firefox bookmarks.
I used my laptop to confirme that the import bookmarks feature worked. ( I was mistaken )

After two days i decided to re-install eveything again. but I lost my recent bookmarks. More than a few of them were important. I had to track them down by hand. 

After some experimentation i found , one can backup there bookmarks with the following procedure.

In order to backup your favorites, can must first back with the .JSON option. 
then import the html file to resore ones icons.

This appears to work but, I highly recommend setting up the firefox sync feature as part of backing up ones data. 

****************************************************************************************************
I found a workarrond for this problem which is to install chrome and load and extension for tags. 
[Problem Solved]
(Assignee)

Updated

2 years ago
Duplicate of this bug: 1141755
You need to log in before you can comment on or make changes to this bug.