Commit 3eaf943c authored by Ard Schrijvers's avatar Ard Schrijvers

HIPPLUG-1069 hide the sitemap.xml sitemap item from channel manager pages

parent 5f1027e6
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="forge-sitemap-feed">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:component</sv:value>
</sv:property>
<sv:property sv:name="hst:componentclassname" sv:type="String">
<sv:value>org.onehippo.forge.sitemap.components.SitemapFeed</sv:value>
</sv:property>
<sv:property sv:name="hst:template" sv:type="String">
<sv:value>forge-sitemap-feed.ftl</sv:value>
</sv:property>
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:component</sv:value>
</sv:property>
<sv:property sv:name="hst:componentclassname" sv:type="String">
<sv:value>org.onehippo.forge.sitemap.components.SitemapFeed</sv:value>
</sv:property>
<sv:property sv:name="hst:template" sv:type="String">
<sv:value>forge-sitemap-feed.ftl</sv:value>
</sv:property>
</sv:node>
......@@ -107,6 +107,9 @@
<sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hippo:version" sv:type="String">
<sv:value>1.07.00</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>20001</sv:value>
</sv:property>
......
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="sitemap.xml">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:sitemapitem</sv:value>
</sv:property>
<sv:property sv:name="hst:componentconfigurationid" sv:type="String">
<sv:value>hst:components/forge-sitemap-feed</sv:value>
</sv:property>
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:sitemapitem</sv:value>
</sv:property>
<sv:property sv:name="hst:componentconfigurationid" sv:type="String">
<sv:value>hst:components/forge-sitemap-feed</sv:value>
</sv:property>
<sv:property sv:name="hst:hiddeninchannelmanager" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
</sv:node>
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="forge-sitemap-feed.ftl">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:template</sv:value>
</sv:property>
<sv:property sv:name="hst:script" sv:type="String">
<sv:value>&lt;#ftl attributes={"content_type": "application/xml"} /&gt;${sitemap}</sv:value>
</sv:property>
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:template</sv:value>
</sv:property>
<sv:property sv:name="hst:script" sv:type="String">
<sv:value>&lt;#ftl attributes={"content_type": "application/xml"} /&gt;${sitemap}</sv:value>
</sv:property>
</sv:node>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment