changeset 67:37dee99c1f8c

Improve documentation
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 22:30:07 +0200
parents 74f7b64bdb78
children 4dfa3f6a2dc1
files sitemap.php
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sitemap.php	Thu Oct 11 22:11:33 2012 +0200
+++ b/sitemap.php	Thu Oct 11 22:30:07 2012 +0200
@@ -2,7 +2,10 @@
 /**
  * @file
  * Generates a sitemap
+ * @todo reuse functionality from InputParser
  */
+
+/// The final output variable
 $out = '<?xml version="1.0" encoding="UTF-8"?>';
 $out .= "\n";
 $out .= '<urlset
@@ -13,6 +16,7 @@
 ';
 include_once 'CacheTimeCheck.inc';
 
+/// @cond
 $baseDir = dirname(__FILE__);
 $cache = CacheTimeCheck::instance(__FILE__);
 $cache->includeOnce('common-functions.inc', $baseDir);
@@ -20,6 +24,7 @@
 
 $cache = CacheTimeCheck::instance(__FILE__);
 $cache->includeOnce('Options.inc', dirname(__FILE__));
+/// @endcond
 
 $master = new DOMDocument();
 $master->load("master.xml");