summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/sitemap.xml.latte
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:56:48 +0200
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:57:07 +0200
commit3069eaf35e833ffe4a1c1c7829dd7e168ae27420 (patch)
treed0c2e4d934cc34ba7d4232f759923b5a257dcb21 /buildscripts/apigen/pradosoft/sitemap.xml.latte
parentb833247ce597ec26159b46c8dfbea7f1e265950b (diff)
Merge up to r3319
Diffstat (limited to 'buildscripts/apigen/pradosoft/sitemap.xml.latte')
-rw-r--r--buildscripts/apigen/pradosoft/sitemap.xml.latte35
1 files changed, 35 insertions, 0 deletions
diff --git a/buildscripts/apigen/pradosoft/sitemap.xml.latte b/buildscripts/apigen/pradosoft/sitemap.xml.latte
new file mode 100644
index 00000000..65070b57
--- /dev/null
+++ b/buildscripts/apigen/pradosoft/sitemap.xml.latte
@@ -0,0 +1,35 @@
+{*
+ApiGen 2.8.0 - API documentation generator for PHP 5.3+
+
+Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com)
+Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich)
+Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville)
+
+For the full copyright and license information, please view
+the file LICENSE.md that was distributed with this source code.
+*}
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+<url>
+ <loc>{$config->baseUrl}/index.html</loc>
+</url>
+<url n:foreach="$namespaces as $namespace">
+ <loc>{$config->baseUrl}/{$namespace|namespaceUrl}</loc>
+</url>
+<url n:foreach="$packages as $package">
+ <loc>{$config->baseUrl}/{$package|packageUrl}</loc>
+</url>
+
+{define #elements}
+<url n:foreach="$elements as $element">
+ <loc>{$config->baseUrl}/{$element|elementUrl}</loc>
+</url>
+{/define}
+
+{include #elements, elements => $classes}
+{include #elements, elements => $interfaces}
+{include #elements, elements => $traits}
+{include #elements, elements => $exceptions}
+{include #elements, elements => $constants}
+{include #elements, elements => $functions}
+</urlset>