04-22-2014 08:09 AM
page/sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<page>
<id>sitemap</id>
<description>specific page for sitemap</description>
<template-instance>sitemap</template-instance>
<authentication>none</authentication>
<components>
<component>
<region-id>content</region-id>
<url>/content/content-sitemap</url>
</component>
</components>
</page>
template/sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<template-instance>
<title>sitemap</title>
<description>Template for sitemap</description>
<template-type>sitemap</template-type>
<components></components>
</template-instance>
template/sitemap.ftl
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<@region id="content" scope="page"/>
</root>
webscripts/sitemap.get.desc.xml
<webscript>
<shortname>Simple sitemap</shortname>
<description>Display simple sitemap</description>
<url>/content/content-sitemap</url>
<format default="xml"></any>
</webscript>
webscripts/sitemap.get.xml.ftl
<#if collection??>
// iterate and build tags–>
// ….
// <—
</#if>
04-22-2014 01:43 PM
04-22-2014 03:16 PM
04-22-2014 05:21 PM
response.setContentType(MIMETYPE_HTML);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.