def start_folder(self, f, level):
self.outfile.write(ind_s*level + '<DT><H3 ADD_DATE="%s"' % f.add_date)
- if (BKMK_FORMAT == "MOZILLA") and f.last_modified:
- self.outfile.write(' LAST_MODIFIED="%s"' % f.last_modified)
+ if BKMK_FORMAT == "MOZILLA":
+ if f.last_modified:
+ self.outfile.write(' LAST_MODIFIED="%s"' % f.last_modified)
+ if (f.guid == "toolbar_____") or (f.name == "Bookmarks Toolbar"):
+ self.outfile.write(' PERSONAL_TOOLBAR_FOLDER="true"')
+ if (f.guid == "unfiled_____") or (f.name == "Other Bookmarks"):
+ self.outfile.write(' UNFILED_BOOKMARKS_FOLDER="true"')
self.outfile.write('>%s</H3>\n' % quote_title(f.name))
self._folder(f, level)