In firefox, when I try to export my bookmarks as html, it only exports the bookmarks toolbar no matter what I select.
When I try to import a json full backup, the app says "he file submitted for this source should be html" (note the typo)
I looked at some old code of mine and it seems like I had to implement JSON for ff imports.
Sorry, it's a ruby code snippet haha:
def load(content)
@json = JSON.parse(content)
end
def check_element(el)
if el['type'] == 'text/x-moz-place'
@bookmarks.push({
title: el['title'],
url: el['uri']
})
end
(el['children'] || []).each {|c| self.check_element(c) }
end
def get_bookmarks()
self.check_element(@json)
return @bookmarks
bmark = {}
bmark[:url] = child.attribute('href').value
bmark[:title] = child.inner_text
@bookmarks.push bmark
end
Peter Sanchez referenced this ticket in commit e2ea3b3.
Testing on Mac and Linux all bookmarks are exported correctly. You need to be sure to have "All bookmarks" selected when in the Library window. Seems like you only had
Bookmarks toolbar
selected.
Yader Velasquez referenced this ticket in commit da2132e.