“ netscape-bookmark-file-1”的文档或参考文献Doctype
是否有任何标准(可能是事后创建的)控制<!doctype netscape-book-book-file-1>
文件?如果您从Chrome或Firefox(在Windows 10上尝试)导出书签,您会得到此类文件,这似乎是html。
我已经尝试了搜索Web 但是找到了只有务实的结果,例如特定编程堆栈中的解析器,或导入和导出它的提示和技巧。
是否有任何标准,RFC,格式描述或参考解析器或类似的内容?
Is there any standard (possibly created after-the-fact) that governs <!DOCTYPE NETSCAPE-Bookmark-file-1>
files? If you export bookmarks from either Chrome or Firefox (tried on Windows 10) you get this kind of file, which seems to be HTML of sorts.
I've tried searching the web but found only pragmatic results like parsers in specific programming stacks, or tips and tricks on importing and exporting it.
Is there any standard, RFC, format description, or reference parser, or something similar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
甚至没有有效的html,从技术上讲也不是语义上。而且,现代浏览器似乎在编写此类文件时会松散地解释事实标准,但在导入时也很幸运。
最好的可用格式描述(可能是逆向工程,是的)似乎是:
,这是由Microsoft撰写的。
Not even valid HTML it is, neither technically, nor semantically. And it seems that modern browsers interpret the factual standard loosely when writing such files, but luckily also when importing.
The best available format description (probably reverse engineered, yes) seems to be this one:
And it's by Microsoft of all things...