Commit b117bad0 authored by Ate Douma's avatar Ate Douma

HIPPLUG-1471 migrate to hcm

parent 61738655
<?xml version="1.0" encoding="UTF-8"?> definitions:
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="forge-sitemap-feed"> config:
<sv:property sv:name="jcr:primaryType" sv:type="Name"> /hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-feed:
<sv:value>hst:component</sv:value> jcr:primaryType: hst:component
</sv:property> hst:componentclassname: org.onehippo.forge.sitemap.components.SitemapFeed
<sv:property sv:name="hst:componentclassname" sv:type="String"> hst:template: forge-sitemap-feed.ftl
<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>
<?xml version="1.0" encoding="UTF-8"?> definitions:
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="hippo:initialize"> config:
<sv:property sv:name="jcr:primaryType" sv:type="Name"> /hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-based-on-hst-configuration-feed:
<sv:value>hippo:initializefolder</sv:value> .meta:delete: true
</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>
<?xml version="1.0" encoding="UTF-8"?> definitions:
<sv:node sv:name="forge-news-sitemap-feed" xmlns:sv="http://www.jcp.org/jcr/sv/1.0"> config:
<sv:property sv:name="jcr:primaryType" sv:type="Name"> /hst:hst/hst:configurations/hst:default/hst:components/forge-news-sitemap-feed:
<sv:value>hst:component</sv:value> jcr:primaryType: hst:component
</sv:property> hst:componentclassname: org.onehippo.forge.sitemap.components.NewsSitemapFeed
<sv:property sv:name="hst:componentclassname" sv:type="String"> hst:parameternames: [publicationDateProperty, documentTypes, propertyCriteria,
<sv:value>org.onehippo.forge.sitemap.components.NewsSitemapFeed</sv:value> timezone, publicationName, publicationLanguage, newsInformationProvider]
</sv:property> hst:parametervalues: ['${publicationDateProperty}', '${documentTypes}', '${propertyCriteria}',
<sv:property sv:multiple="true" sv:name="hst:parameternames" sv:type="String"> '${timezone}', '${publicationName}', '${publicationLanguage}', '${newsInformationProvider}']
<sv:value>publicationDateProperty</sv:value> hst:template: forge-sitemap-feed.ftl
<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
<?xml version="1.0" encoding="UTF-8"?> definitions:
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="sitemap.xml"> config:
<sv:property sv:name="jcr:primaryType" sv:type="Name"> /hst:hst/hst:configurations/hst:default/hst:sitemap/sitemap.xml:
<sv:value>hst:sitemapitem</sv:value> jcr:primaryType: hst:sitemapitem
</sv:property> hst:componentconfigurationid: hst:components/forge-sitemap-feed
<sv:property sv:name="hst:componentconfigurationid" sv:type="String"> hst:hiddeninchannelmanager: true
<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"?> definitions:
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="forge-sitemap-index-feed"> config:
<sv:property sv:name="jcr:primaryType" sv:type="Name"> /hst:hst/hst:configurations/hst:default/hst:components/forge-sitemap-index-feed:
<sv:value>hst:component</sv:value> jcr:primaryType: hst:component
</sv:property> hst:componentclassname: org.onehippo.forge.sitemap.components.SitemapIndexFeed
<sv:property sv:name="hst:componentclassname" sv:type="String"> hst:parameternames: [sitemap-location-foldername, assets-url-prefix, additional-sitemap-file-url]
<sv:value>org.onehippo.forge.sitemap.components.SitemapIndexFeed</sv:value> hst:parametervalues: ['${sitemap-location-foldername}', '${assets-url-prefix}',
</sv:property> '${additional-sitemap-file-url}']
<sv:property sv:name="hst:parameternames" sv:type="String" sv:multiple="true"> hst:template: forge-sitemap-feed.ftl
<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>
<?xml version="1.0" encoding="UTF-8"?> definitions:
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="forge-sitemap-feed.ftl"> config:
<sv:property sv:name="jcr:primaryType" sv:type="Name"> /hst:hst/hst:configurations/hst:default/hst:templates/forge-sitemap-feed.ftl:
<sv:value>hst:template</sv:value> jcr:primaryType: hst:template
</sv:property> hst:script: '<#ftl attributes={"content_type": "application/xml"} />${sitemap}'
<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>
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