From 297e838b5a08ccc4d7eaae94d7ed06ecda1a0d9e Mon Sep 17 00:00:00 2001 From: "Paul Buetow (mars.fritz.box)" Date: Tue, 1 Oct 2013 20:14:34 +0200 Subject: add sitemap --- awksite.buetow.org/SITEMAP | 0 calculator.buetow.org/SITEMAP | 0 cbars.buetow.org/SITEMAP | 0 cpphomepage.buetow.org/SITEMAP | 0 cpuinfo.buetow.org/SITEMAP | 0 dev.buetow.org/SITEMAP | 0 fype.buetow.org/SITEMAP | 0 httpbench.buetow.org/SITEMAP | 0 irssi.buetow.org/SITEMAP | 0 jsmstrade.buetow.org/SITEMAP | 0 loadbars.buetow.org/SITEMAP | 0 netcalendar.buetow.org/SITEMAP | 0 paul.buetow.org/SITEMAP | 0 perldaemon.buetow.org/SITEMAP | 0 pwgrep.buetow.org/SITEMAP | 0 sitemap.buetow.org/SITEMAP | 0 sitemap.buetow.org/content/home.xml | 59 +++++++++++++++++++++++++++++++++++++ stud.buetow.org/SITEMAP | 0 vs-sim.buetow.org/SITEMAP | 0 xerl.buetow.org/SITEMAP | 0 ychat.buetow.org/SITEMAP | 0 yhttpd.buetow.org/SITEMAP | 0 22 files changed, 59 insertions(+) create mode 100644 awksite.buetow.org/SITEMAP create mode 100644 calculator.buetow.org/SITEMAP create mode 100644 cbars.buetow.org/SITEMAP create mode 100644 cpphomepage.buetow.org/SITEMAP create mode 100644 cpuinfo.buetow.org/SITEMAP create mode 100644 dev.buetow.org/SITEMAP create mode 100644 fype.buetow.org/SITEMAP create mode 100644 httpbench.buetow.org/SITEMAP create mode 100644 irssi.buetow.org/SITEMAP create mode 100644 jsmstrade.buetow.org/SITEMAP create mode 100644 loadbars.buetow.org/SITEMAP create mode 100644 netcalendar.buetow.org/SITEMAP create mode 100644 paul.buetow.org/SITEMAP create mode 100644 perldaemon.buetow.org/SITEMAP create mode 100644 pwgrep.buetow.org/SITEMAP create mode 100644 sitemap.buetow.org/SITEMAP create mode 100644 sitemap.buetow.org/content/home.xml create mode 100644 stud.buetow.org/SITEMAP create mode 100644 vs-sim.buetow.org/SITEMAP create mode 100644 xerl.buetow.org/SITEMAP create mode 100644 ychat.buetow.org/SITEMAP create mode 100644 yhttpd.buetow.org/SITEMAP diff --git a/awksite.buetow.org/SITEMAP b/awksite.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/calculator.buetow.org/SITEMAP b/calculator.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/cbars.buetow.org/SITEMAP b/cbars.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/cpphomepage.buetow.org/SITEMAP b/cpphomepage.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/cpuinfo.buetow.org/SITEMAP b/cpuinfo.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/dev.buetow.org/SITEMAP b/dev.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/fype.buetow.org/SITEMAP b/fype.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/httpbench.buetow.org/SITEMAP b/httpbench.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/irssi.buetow.org/SITEMAP b/irssi.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/jsmstrade.buetow.org/SITEMAP b/jsmstrade.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/loadbars.buetow.org/SITEMAP b/loadbars.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/netcalendar.buetow.org/SITEMAP b/netcalendar.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/paul.buetow.org/SITEMAP b/paul.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/perldaemon.buetow.org/SITEMAP b/perldaemon.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/pwgrep.buetow.org/SITEMAP b/pwgrep.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/sitemap.buetow.org/SITEMAP b/sitemap.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/sitemap.buetow.org/content/home.xml b/sitemap.buetow.org/content/home.xml new file mode 100644 index 0000000..39e615f --- /dev/null +++ b/sitemap.buetow.org/content/home.xml @@ -0,0 +1,59 @@ + + + Sitemap + All sites hosted + + Here are all sites hosted within this instance of + Xerl + . + + + + All hosts ending with + .foo + are most likely dev, test or PoCs. Don't expect to find anything usefull there. Also, generally here is lots of crap listed. + + + + + # Ugly but works for now + my $hostroot = $config->get_hostroot(); + + sub getf ($) { + open my $f, $_[0] or die "$!: $_[0]\n"; + my @slurp = !!LT!!$f!!GT!!; + close $f; + @slurp; + } + + sub nl () { "!!LT!!br /!!GT!!\n" } + + sub list (*) { + my $tag = shift; + my @found = sort `find $hostroot -name $tag`; + my $ret = ''; + + + for my $found (@found) { + $found =~ /.*hosts.(.*?).$tag/; + my $host = $1; + + my @content = getf $found; + + $ret .= "!!LT!!b!!GT!!!!LT!!a href=http://$host!!GT!!$host!!LT!!/a!!GT!!!!LT!!/b!!GT!!" . nl;; + if (@content) { + $ret .= join " ", @content; + $ret .= nl; + } + $ret .= nl; + } + + $ret; + } + + my $ret = list SITEMAP; + + $ret; + + + diff --git a/stud.buetow.org/SITEMAP b/stud.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/vs-sim.buetow.org/SITEMAP b/vs-sim.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/xerl.buetow.org/SITEMAP b/xerl.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/ychat.buetow.org/SITEMAP b/ychat.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/yhttpd.buetow.org/SITEMAP b/yhttpd.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3