【发布时间】:2013-03-18 18:07:52
【问题描述】:
全部,
我已从 Google Reader 切换到 Thunderbird 来阅读/管理 RSS 提要。
由于某种原因,我导入的订阅源的文件夹视图没有显示在 Thunderbird 中,但在“管理订阅”面板中,文件夹层次结构被保留了。
请参阅随附的屏幕截图。
有什么想法吗?
谢谢!
【问题讨论】:
全部,
我已从 Google Reader 切换到 Thunderbird 来阅读/管理 RSS 提要。
由于某种原因,我导入的订阅源的文件夹视图没有显示在 Thunderbird 中,但在“管理订阅”面板中,文件夹层次结构被保留了。
请参阅随附的屏幕截图。
有什么想法吗?
谢谢!
【问题讨论】:
我认为 Thunderbird 中没有 rss 的文件夹视图。 您可以安装 Bamboo 插件,但也可以在 Firefox 中安装。
这里有一个解决方法:
然后你可以给它一个名字并把它放在你想要的地方。
【讨论】:
.opml 文件是 Xml 格式,因此您可以将每个叶子(outline 元素没有子元素)放在一个人工包装元素中,这将在 Thunderbird 中获得一个可见的文件夹。因此您的初始 .opml 文件:
<opml version="1.0">
<body>
<outline text="Birds">
<outline title="ParrotBlog" xmlUrl="http://parrot.com/feed"/>
</outline>
</body>
</opml>
应该转换成这个:
<opml version="1.0">
<body>
<outline text="Birds">
<outline text="ParrotBlog">
<outline title="ParrotBlog" xmlUrl="http://parrot.com/feed"/>
</outline>
</outline>
</body>
</opml>
您可以使用在线 Xslt 转换器 (here, here) 来执行 (xml+xslt)->xml。使用 Xsl 转换:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="outline[not(child::*)]">
<xsl:element name="outline">
<xsl:attribute name="text"><xsl:value-of select="@title"/></xsl:attribute>
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:element>
</xsl:template>
<xsl:template match="/ | @* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
这种解决方法可能对您有用,直到您找到一个不错的 Feed 聚合器。
【讨论】: