Support HTML embed/@src
This commit is contained in:
parent
16ef7979b0
commit
c25b18f9f5
|
@ -78,7 +78,7 @@
|
||||||
<xsl:apply-templates select="@*|node()"/>
|
<xsl:apply-templates select="@*|node()"/>
|
||||||
</xsl:copy>
|
</xsl:copy>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<xsl:template match="link[@rel='stylesheet']/@href|img/@src|script/@src">
|
<xsl:template match="link[@rel='stylesheet']/@href|img/@src|script/@src|embed/@src">
|
||||||
<xsl:attribute name="{name(.)}">
|
<xsl:attribute name="{name(.)}">
|
||||||
<xsl:variable name="abs" select="substring-before(concat(resolve-uri(., $base), '#'), '#')"/>
|
<xsl:variable name="abs" select="substring-before(concat(resolve-uri(., $base), '#'), '#')"/>
|
||||||
<xsl:variable name="local-name" select="$index/resource[(uri, same-as) = $abs][1]/local-name"/>
|
<xsl:variable name="local-name" select="$index/resource[(uri, same-as) = $abs][1]/local-name"/>
|
||||||
|
|
|
@ -23,7 +23,7 @@ declare namespace util = "http://exist-db.org/xquery/util";
|
||||||
|
|
||||||
for $q in /queue return
|
for $q in /queue return
|
||||||
update
|
update
|
||||||
insert <action priority="0" uuid="{util:uuid()}" type="heritrix-archive-set" url="http://eric.van-der-vlist.com/blog/"/>
|
insert <action priority="0" uuid="{util:uuid()}" type="heritrix-archive-set" url="http://xmlfr.org/"/>
|
||||||
into $q
|
into $q
|
||||||
|
|
||||||
]]></xquery>
|
]]></xquery>
|
||||||
|
|
Loading…
Reference in New Issue