From 938f41199b8576780b50a32a5fcafa2a2cee9009 Mon Sep 17 00:00:00 2001 From: "Chuck Norris (uranus.fritz.box)" Date: Sat, 16 Aug 2014 00:27:00 +0200 Subject: test page --- sedna.buetow.org/SITEMAP | 0 sedna.buetow.org/content/home.xml | 34 +++++++++++++++++++++++ sedna.buetow.org/content/projectlist.inc.pl | 42 +++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 sedna.buetow.org/SITEMAP create mode 100644 sedna.buetow.org/content/home.xml create mode 100644 sedna.buetow.org/content/projectlist.inc.pl diff --git a/sedna.buetow.org/SITEMAP b/sedna.buetow.org/SITEMAP new file mode 100644 index 0000000..e69de29 diff --git a/sedna.buetow.org/content/home.xml b/sedna.buetow.org/content/home.xml new file mode 100644 index 0000000..a5ba793 --- /dev/null +++ b/sedna.buetow.org/content/home.xml @@ -0,0 +1,34 @@ + + + Some programming projects + Mailing List + + Here are some programming projects listed which I programmed in my spare time. Some may be usefull and others may not. Please use the + Development Mailing List + for any considerations. + + + Github + + My Github page is + github.com/rantanplan + and my open source report card is + http://osrc.dfm.io/rantanplan + + Deb repository + Some projects provide packages in .deb format. Please check out each individual project site for available architecture and so on. Basically the debian repository is available via + [deb|deb-src] http://deb.buetow.org/apt DISTRIBUTION main + Where DISTRIBUTION may be squeeze, wheezy.... To trust the repo please run: + curl http://deb.buetow.org/apt/pubkey.gpg | sudo apt-key add - + Project list + + + All hosts ending with + .foo + are most likely dev, test or PoCs. Don't expect to find anything usefull there. + + + + projectlist.inc.pl + + diff --git a/sedna.buetow.org/content/projectlist.inc.pl b/sedna.buetow.org/content/projectlist.inc.pl new file mode 100644 index 0000000..4d1d4f2 --- /dev/null +++ b/sedna.buetow.org/content/projectlist.inc.pl @@ -0,0 +1,42 @@ +my $hostroot = $config->get_hostroot(); + +sub getf ($) { + open my $f, $_[0] or die "$!: $_[0]\n"; + my @slurp = <$f>; + close $f; + @slurp; +} + +sub nl () { "
\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 .= "$host" . nl; + if (@content) { + $ret .= join " ", @content; + $ret .= nl; + } + $ret .= nl; + } + + $ret; +} + +my $ret = list PROJECT; + +$ret .= "Older projects (not active at the moment):" . nl x 2; +$ret .= list OLDPROJECT; +$ret .= "Obsolete projects (no work will be done anymore and the software may be broken):" . nl x 2; +$ret .= list OBSOLETEPROJECT; + +return $ret; -- cgit v1.2.3