Suppress extraneous namespace declarations in output file
strip <link rel="service.feed" /> elements
This commit is contained in:
parent
e029e9354e
commit
6428cfd56d
@ -2,7 +2,9 @@
|
|||||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||||
xmlns:indexing="urn:atom-extension:indexing"
|
xmlns:indexing="urn:atom-extension:indexing"
|
||||||
xmlns:planet="http://planet.intertwingly.net/"
|
xmlns:planet="http://planet.intertwingly.net/"
|
||||||
xmlns="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
||||||
|
xmlns="http://www.w3.org/1999/xhtml"
|
||||||
|
exclude-result-prefixes="planet xhtml">
|
||||||
|
|
||||||
<!-- strip planet elements and attributes -->
|
<!-- strip planet elements and attributes -->
|
||||||
<xsl:template match="planet:*|@planet:*"/>
|
<xsl:template match="planet:*|@planet:*"/>
|
||||||
@ -10,6 +12,10 @@
|
|||||||
<!-- strip obsolete link relationships -->
|
<!-- strip obsolete link relationships -->
|
||||||
<xsl:template match="atom:link[@rel='service.edit']"/>
|
<xsl:template match="atom:link[@rel='service.edit']"/>
|
||||||
<xsl:template match="atom:link[@rel='service.post']"/>
|
<xsl:template match="atom:link[@rel='service.post']"/>
|
||||||
|
<xsl:template match="atom:link[@rel='service.feed']"/>
|
||||||
|
|
||||||
|
<!-- Feedburner detritus -->
|
||||||
|
<xsl:template match="xhtml:div[@class='feedflare']"/>
|
||||||
|
|
||||||
<!-- add Google/LiveJournal-esque noindex directive -->
|
<!-- add Google/LiveJournal-esque noindex directive -->
|
||||||
<xsl:template match="atom:feed">
|
<xsl:template match="atom:feed">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user