.opml Xml, ( ) , 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 (, ) (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>
This workaround may work for you until you find a decent feed aggregator.
source
share