Commit b117bad0 authored by Ate Douma's avatar Ate Douma

HIPPLUG-1471 migrate to hcm

parent 61738655
<?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:node>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-feed:
jcr:primaryType: hst:component
hst:componentclassname: org.onehippo.forge.sitemap.components.SitemapFeed
hst:template: forge-sitemap-feed.ftl
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="hippo:initialize">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializefolder</sv:value>
</sv:property>
<!-- Components -->
<sv:node sv:name="forge.onehippo.org.sitemap-hst-components-sitemap-component">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>20001</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>component.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hst:hst/hst:configurations/hst:default/hst:components</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="delete-removed-forge-sitemap-based-on-hst-configuration-feed">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>20001</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentdelete" sv:type="String">
<sv:value>/hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-based-on-hst-configuration-feed</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="forge.onehippo.org.sitemap-hst-components-news-sitemap-component">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>20001</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>news-sitemap-component.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hst:hst/hst:configurations/hst:default/hst:components</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="forge.onehippo.org.sitemap-hst-components-sitemap-index-component">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>20001</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>sitemap-index-component.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hst:hst/hst:configurations/hst:default/hst:components</sv:value>
</sv:property>
</sv:node>
<!-- Templates -->
<sv:node sv:name="forge.onehippo.org.sitemap-hst-components-sitemap-template">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<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>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>template.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hst:hst/hst:configurations/hst:default/hst:templates</sv:value>
</sv:property>
</sv:node>
<!-- Sitemap -->
<sv:node sv:name="forge.onehippo.org.sitemap-hst-components-sitemap-sitemap-entry">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<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>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>sitemap-entry.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hst:hst/hst:configurations/hst:default/hst:sitemap</sv:value>
</sv:property>
</sv:node>
</sv:node>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-based-on-hst-configuration-feed:
.meta:delete: true
<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="forge-news-sitemap-feed" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
<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.NewsSitemapFeed</sv:value>
</sv:property>
<sv:property sv:multiple="true" sv:name="hst:parameternames" sv:type="String">
<sv:value>publicationDateProperty</sv:value>
<sv:value>documentTypes</sv:value>
<sv:value>propertyCriteria</sv:value>
<sv:value>timezone</sv:value>
<sv:value>publicationName</sv:value>
<sv:value>publicationLanguage</sv:value>
<sv:value>newsInformationProvider</sv:value>
</sv:property>
<sv:property sv:multiple="true" sv:name="hst:parametervalues" sv:type="String">
<sv:value>${publicationDateProperty}</sv:value>
<sv:value>${documentTypes}</sv:value>
<sv:value>${propertyCriteria}</sv:value>
<sv:value>${timezone}</sv:value>
<sv:value>${publicationName}</sv:value>
<sv:value>${publicationLanguage}</sv:value>
<sv:value>${newsInformationProvider}</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>
\ No newline at end of file
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:components/forge-news-sitemap-feed:
jcr:primaryType: hst:component
hst:componentclassname: org.onehippo.forge.sitemap.components.NewsSitemapFeed
hst:parameternames: [publicationDateProperty, documentTypes, propertyCriteria,
timezone, publicationName, publicationLanguage, newsInformationProvider]
hst:parametervalues: ['${publicationDateProperty}', '${documentTypes}', '${propertyCriteria}',
'${timezone}', '${publicationName}', '${publicationLanguage}', '${newsInformationProvider}']
hst:template: forge-sitemap-feed.ftl
<?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="hst:hiddeninchannelmanager" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
</sv:node>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:sitemap/sitemap.xml:
jcr:primaryType: hst:sitemapitem
hst:componentconfigurationid: hst:components/forge-sitemap-feed
hst:hiddeninchannelmanager: true
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="forge-sitemap-index-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.SitemapIndexFeed</sv:value>
</sv:property>
<sv:property sv:name="hst:parameternames" sv:type="String" sv:multiple="true">
<sv:value>sitemap-location-foldername</sv:value>
<sv:value>assets-url-prefix</sv:value>
<sv:value>additional-sitemap-file-url</sv:value>
</sv:property>
<sv:property sv:name="hst:parametervalues" sv:type="String" sv:multiple="true">
<sv:value>${sitemap-location-foldername}</sv:value>
<sv:value>${assets-url-prefix}</sv:value>
<sv:value>${additional-sitemap-file-url}</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>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-index-feed:
jcr:primaryType: hst:component
hst:componentclassname: org.onehippo.forge.sitemap.components.SitemapIndexFeed
hst:parameternames: [sitemap-location-foldername, assets-url-prefix, additional-sitemap-file-url]
hst:parametervalues: ['${sitemap-location-foldername}', '${assets-url-prefix}',
'${additional-sitemap-file-url}']
hst:template: forge-sitemap-feed.ftl
<?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:node>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:templates/forge-sitemap-feed.ftl:
jcr:primaryType: hst:template
hst:script: '<#ftl attributes={"content_type": "application/xml"} />${sitemap}'
group: hippo-cms
project:
name: hippo-plugin-sitemap
after: hippo-site-toolkit
module: hippo-plugin-sitemap-content
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