“ netscape-bookmark-file-1”的文档或参考文献Doctype

发布于 2025-02-10 19:42:47 字数 381 浏览 1 评论 0原文

是否有任何标准(可能是事后创建的)控制<!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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

若无相欠,怎会相见 2025-02-17 19:42:47

甚至没有有效的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...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文