+ elif record["type"] == "text/x-moz-place":
+ bookmark = Bookmark(
+ href=record["uri"].encode('utf-8'),
+ add_date=convert_date_from_json(record.get("dateAdded")),
+ last_modified=convert_date_from_json(record.get("lastModified")),
+ keyword=get_str(record, "keyword"),
+ comment=get_comment(record.get("annos")),
+ icon_href=record.get("iconuri"),
+ charset=get_str(record, "charset"))
+ bookmark.guid = record.get("guid")
+ bookmark.id = record["id"]
+ bookmark.index = record.get("index")
+ bookmark.name = encode_title(record["title"])
+ self.current_folder.append(bookmark)
+