Open Bug 1419545 Opened 8 years ago Updated 2 years ago

Export mobile bookmarks when exporting as HTML

Categories

(Toolkit :: Places, defect, P3)

defect

Tracking

()

People

(Reporter: lazymonkey, Unassigned)

Details

(Whiteboard: [fxsearch])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: 1) configure nightly to sync bookmarks with android. 2) make sure you have bookmarks on mobile section in nightly (synced from android) 3) on nightly export bookmarks Actual results: mobile section is not exported in bookmarks.html
Component: Untriaged → Bookmarks & History
I think we need to teach https://searchfox.org/mozilla-central/rev/797c93d81fe446f78babf20894f0729f15f71ee6/toolkit/components/places/BookmarkHTMLUtils.jsm#362,952 about the mobile root. JSON backups should already handle this correctly. ni? myself to look into this tomorrow, unless Mak or Standard8 get to it first.
Flags: needinfo?(kit)
I wonder if there's a specific use-case to export mobile bookmarks to html. I suppose it's ok to do so, since html is the interchange format with third parties, but surely not a priority.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fxsearch]
Just to confirm, mobile bookmarks do already get exported for the json format. So making this clear it is specific to html.
Flags: needinfo?(kit)
Summary: export mobile bookmarks → Export mobile bookmarks when exporting as HTML
Component: Bookmarks & History → Places
Product: Firefox → Toolkit

Chrome may be able to import from the .json file used by Firefox desktop when you choose "Import from Firefox" option, but this import process does not import the mobile bookmarks folder found in Firefox desktop / Firefox Android.

Also, Microsoft Edge browser only has the ability to import from an HTML file, not a .json file.

The main value of the Export Bookmarks feature in Firefox for many users is going to be to migrate their data from Firefox to another browser.

I have an alternate use-case for this feature. I like to review my bookmarks periodically and discard dead sites. If I can export as HTML, I can run the file through an automated link-checker. It was when I tried this recently that I discovered to my dismay that the resulting file didn't include my mobile bookmarks.

Need to fix. Attempting to work around the problem by dragging "Mobile Bookmarks" into the Bookmarks Menu then exporting only adds the text "Mobile Bookmarks" hyperlinked to <place:parent=mobile______>.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.