beber pushed a commit to branch master.

commit 3ad22104595dd99034324eee368ae3418607a31a
Author: Bertrand Jacquin <[email protected]>
Date:   Tue Aug 13 22:39:16 2013 +0200

    Initial import
---
 .gitignore                 |  13 +
 .htaccess                  |   4 +
 conf/config.ini            | 137 ++++++++++
 images/feed-icon-10x10.png | Bin 0 -> 469 bytes
 images/foaf.png            | Bin 0 -> 1393 bytes
 images/logo-face.png       | Bin 0 -> 4640 bytes
 images/logo.png            | Bin 0 -> 5413 bytes
 images/opml.png            | Bin 0 -> 804 bytes
 images/planet.png          | Bin 0 -> 426 bytes
 images/tcosm11.gif         | Bin 0 -> 203 bytes
 images/venus.ico           | Bin 0 -> 894 bytes
 images/venus.png           | Bin 0 -> 570 bytes
 style.css                  | 650 +++++++++++++++++++++++++++++++++++++++++++++
 template/atom.xml.xslt     |  80 ++++++
 template/foafroll.xml.xslt |  39 +++
 template/index.php.tmpl    | 211 +++++++++++++++
 template/opml.xml.xslt     |  40 +++
 template/rss10.xml.tmpl    |  44 +++
 template/rss20.xml.tmpl    |  39 +++
 19 files changed, 1257 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8ca5f62
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+# Pre-compiled Template
+template/*.tmplc
+
+# Temporary files
+cache
+
+# Output
+atom.xml
+foafroll.xml
+index.php
+opml.xml
+rss10.xml
+rss20.xml
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..04b7cc1
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,4 @@
+RewriteEngine On
+
+RewriteCond %{REQUEST_URI} ^/(cache|conf|template)
+RewriteRule .* - [F]
diff --git a/conf/config.ini b/conf/config.ini
new file mode 100644
index 0000000..0547157
--- /dev/null
+++ b/conf/config.ini
@@ -0,0 +1,137 @@
+# Every planet needs a [Planet] section
+[Planet]
+name = Planet E
+link = http://planet.enlightenment.org/
+owner_name = Gustavo Sverzut Barbieri
+owner_email = [email protected]
+
+cache_directory = cache
+new_feed_items = 4
+log_level = WARNING
+feed_timeout = 20
+
+template_files = template/index.php.tmpl template/atom.xml.xslt 
template/rss20.xml.tmpl template/rss10.xml.tmpl template/opml.xml.xslt 
template/foafroll.xml.xslt
+output_dir = .
+
+items_per_page = 20
+date_format = %B %d, %Y %I:%M %p
+new_date_format = %B %d, %Y
+
+#activity_threshold = 0
+
+[DEFAULT]
+facewidth = 65
+faceheight = 85
+
+[http://www.enlightenment.org/rss.php?p=news&l=en]
+name = Official Enlightenment News
+face = logo-face.png
+
+[http://e17releasemanager.wordpress.com/feed/]
+name = Go E17 ! Go !
+face = logo-face.png
+
+[http://e18releasemanager.wordpress.com/feed/]
+name = Go E18 ! Go !
+face = logo-face.png
+
+[http://e19releasemanager.wordpress.com/feed/]
+name = Go E19 ! Go !
+face = logo-face.png
+
+[https://phab.enlightenment.org/phame/blog/feed/1/]
+name = Interesting stuff on E
+face = logo-face.png
+link = https://phab.enlightenment.org/phame/live/1
+
+[https://phab.enlightenment.org/phame/blog/feed/3/]
+name = Official Announcements
+face = logo-face.png
+link = https://phab.enlightenment.org/phame/live/3
+
+## DEVELOPERS
+
+[http://andreasvolz.wordpress.com/category/enlightenment-e17/feed/]
+user = andreas
+name = ~Andreas Volz
+face = yes
+
+[http://blog.gustavobarbieri.com.br/feed/atom/]
+user = barbieri
+name = ~Gustavo Sverzut Barbieri
+face = yes
+
+[http://brunodilly.org/blog/feed/]
+user = bdilly
+name = ~Bruno Dilly
+
+[http://billiob.net/blog/tags/enlightenment_rss.xml]
+user = billiob
+name = ~Boris Faure
+
+[http://dev.enlightenment.fr/~captainigloo/category/enlightenmentefl/feed/]
+user = captainigloo
+name = ~Nicolas Aguirre
+face = yes
+
+[http://discomfitor.blogspot.com/feeds/posts/default?alt=rss]
+user = discomfitor
+name = ~Mike Blumenkrantz
+face = yes
+
+[http://glima.wordpress.com/tag/efl/feed/]
+user = glima
+name = ~Gustavo Lima Chaves
+face = yes
+
+[http://kakaroto.homelinux.net/category/development/efl-development/feed/]
+user = kakaroto
+name = ~Youness Alaoui
+
+[http://strano.org/files/feed-efl.xml]
+user = lfelipe
+name = ~Luis Felipe Strano Moraes
+
+[http://www.politreco.com/tag/efl/feed]
+user = lucas
+name = ~Lucas De Marchi
+face = yes
+
+[http://ngc891.blogdns.net/?feed=rss2]
+user = ngc891
+name = ~Jerome Pinot
+face = yes
+
+[http://makall.wordpress.com/tag/efl/feed/]
+user = mello
+name = ~Fábio Mello
+
+[http://omicron.homeip.net/rss/blog.phtml]
+user = morlenxus
+name = ~Brian Miculcy
+face = yes
+
+[http://www.elivecd.org/feed.xml]
+user = princeamd
+name = ~Deon Thomas
+
+[http://www.rasterman.com/rss.php]
+user = raster
+name = ~Carsten Haitzler
+face = yes
+
+[http://www.ravenlock.us/blog/?feed=rss2]
+user = ravenlock
+name = ~Eric Schuele
+
+[http://www.datenfreihafen.org/~stefan/weblog/archives/efl/index-rss.xml]
+user = stefan
+name = ~Stefan Schmidt
+
+[http://www.turran.org/feeds/posts/default?alt=rss]
+user = turran
+name = ~Jorge Luis Zapata Muga
+
+[http://programcounter.net/blog/category/efl-2/feed/]
+user = zehortigoza
+name = ~José Roberto de Souza
diff --git a/images/feed-icon-10x10.png b/images/feed-icon-10x10.png
new file mode 100644
index 0000000..cc869bc
Binary files /dev/null and b/images/feed-icon-10x10.png differ
diff --git a/images/foaf.png b/images/foaf.png
new file mode 100644
index 0000000..0fea5ba
Binary files /dev/null and b/images/foaf.png differ
diff --git a/images/logo-face.png b/images/logo-face.png
new file mode 100644
index 0000000..30535d1
Binary files /dev/null and b/images/logo-face.png differ
diff --git a/images/logo.png b/images/logo.png
new file mode 100644
index 0000000..f277bf9
Binary files /dev/null and b/images/logo.png differ
diff --git a/images/opml.png b/images/opml.png
new file mode 100644
index 0000000..3f18190
Binary files /dev/null and b/images/opml.png differ
diff --git a/images/planet.png b/images/planet.png
new file mode 100644
index 0000000..9606a0c
Binary files /dev/null and b/images/planet.png differ
diff --git a/images/tcosm11.gif b/images/tcosm11.gif
new file mode 100644
index 0000000..548c998
Binary files /dev/null and b/images/tcosm11.gif differ
diff --git a/images/venus.ico b/images/venus.ico
new file mode 100644
index 0000000..e813cb0
Binary files /dev/null and b/images/venus.ico differ
diff --git a/images/venus.png b/images/venus.png
new file mode 100644
index 0000000..685035d
Binary files /dev/null and b/images/venus.png differ
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..6a2c4ed
--- /dev/null
+++ b/style.css
@@ -0,0 +1,650 @@
+/*****************************/
+/*  Body                     */
+/*****************************/
+body {
+  background              : 
url(http://www.enlightenment.org/ti/header_background.png) repeat-x top left;
+  background-color        : #ffffff;
+  padding                 : 0;
+  margin                  : 0;
+  font-family             : "Bitstream Vera","Vera","Trebuchet 
MS",Trebuchet,Tahoma,sans-serif;
+}
+
+html, body {
+  height: 100%;
+}
+
+
+
+/******************************************************/
+/* Centered Layout + 'stay on bottom' footer          */
+/******************************************************/
+#layout {
+  margin                  : 0 auto 0 auto;
+  min-width               : 700px;
+  width                   : 90%;
+/*  background              : 
url(http://www.enlightenment.org/ti/main_background.png) no-repeat center 
150px; */
+}
+
+#wrapper {
+  min-height              : 100%;
+  height                  : auto !important;
+  height                  : 100%;
+  margin                  : 0 auto -53px;
+  text-align              : left;
+  align                   : center;
+}
+
+#footer, #push {
+ height                   : 53px;
+}
+
+#content {
+  margin-top              : 40px;
+   text-align             : justify;
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #444444;
+   font-size              : 0.9em;
+}
+
+#contbl {
+  min-width               : 700px;
+  width                   : 100%;
+}
+
+
+
+/****************************/
+/* Top main menu            */
+/****************************/
+#header_logo {
+  background-image        : url(http://www.enlightenment.org/ti/logo.png);
+  /*background-repeat       : no-repeat;*/
+  width                   : 61px;
+  height                  : 63px;
+}
+
+#header_logo a {
+  position                : absolute;
+  border                  : 0px;
+  background-color        : transparent;
+  top                     : 0px;
+  width                   : 60px;
+  height                  : 60px;
+}
+
+#header_menu {
+  background-image        : 
url(http://www.enlightenment.org/ti/header_menu_background.png);
+  /*background-repeat       : repeat-x;*/
+  font                    : normal 10pt verdana,'Bitstream Vera 
Sans',helvetica,arial,sans-serif;
+  text-align              : right;
+  height                  : 63px;
+}
+
+#header_last {
+  background-image        : 
url(http://www.enlightenment.org/ti/header_menu_background_last.png);
+  /*background-repeat       : no-repeat;*/
+  width                   : 15px;
+  height                  : 63px;
+}
+
+td.nav_passive {
+  background              : 
url(http://www.enlightenment.org/ti/header_menu_unselected_background.png) 0 0 
no-repeat;
+  height                  : 63px;
+  font-family             : "Bitstream Vera","Vera","Trebuchet 
MS",Trebuchet,Tahoma,sans-serif;
+  font-size               : 11px;
+  padding                 : 0px 10px 0px 10px;
+  vertical-align          : middle;
+}
+
+td.nav_active {
+  background              : 
url(http://www.enlightenment.org/ti/header_menu_current_background.png) 0 0 
no-repeat;
+  height                  : 63px;
+  color                   : #646464;
+  font-family             : "Bitstream Vera","Vera","Trebuchet 
MS",Trebuchet,Tahoma,sans-serif;
+  font-size               : 11px;
+  font-weight             : bold;
+  padding                 : 0px 10px 0px 10px;
+  vertical-align          : middle;
+}
+
+#header_menu a {
+  display                 : block;
+  text-decoration         : none;
+  cursor                  : pointer;
+  color                   : #cdcdcd;
+}
+
+/****************************/
+/* Footer                   */
+/****************************/
+#sitefooter {
+  background              : 
url(http://www.enlightenment.org/ti/footer_background.png) repeat-x;
+  height                  : 53px;
+}
+
+#sitefooter td {
+  color                   : #888888;
+  font-size               : 0.8em;
+  white-space             : nowrap;
+  padding-top             : 10px;
+  border                  : 0px;
+}
+
+#sitefooter a {
+  border                  : 0px;
+  background-color        : transparent;
+}
+
+
+
+/*****************/
+/*  SubMenu      */
+/*****************/
+
+#submenu {
+  text-align              : right;
+  padding-top             : 0px;
+  font                    : normal 10px verdana,'Bitstream Vera 
Sans',helvetica,arial,sans-serif;
+  font-weight             : bold;
+}
+
+a.nav:link, a.nav:visited {
+   color                  : #888888;
+}
+
+a.nav:active {
+   color                  : #000000;
+}
+
+a.nav:hover {
+   color                  : #444444;
+}
+
+li.navul {
+   border-right           : 1px solid #ddd;
+   padding-right          : 5px;
+   padding-left           : 3px;
+   display                : inline;
+}
+
+li.selected {
+   text-decoration        : underline;
+}
+
+li.navul:last-child {
+   border: 0px;
+}
+
+a.navul:link, a.navul:visited {
+   color                  : #888888;
+   text-decoration        : none;
+}
+
+a.navul:active {
+   color                  : #000000;
+   text-decoration        : none;
+}
+
+a.navul:hover {
+   color                  : #444444;
+   text-decoration        : none;
+}
+
+/*////////////////////////////////////////////////////////*/
+div.main {
+   text-align             : justify;
+   vertical-align         : top;
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #444444;
+   font-size              : 0.9em;
+}
+
+
+table.main {
+   width                  : 100%;
+   border                 : 0px;
+   margin                 : 0px;
+   padding                : 0px;
+}
+
+td.main {
+   width                  : 33%;
+   margin                 : 4px;
+   text-align             : left;
+   vertical-align         : top;
+   padding                : 8px;
+}
+
+div.bod {
+   column-width           : 15em;
+   -moz-column-width      : 15em;
+   column-gap             : 2em;
+   -moz-column-gap        : 2em;
+   column-rule-style      : solid;
+   -moz-column-rule-style : solid;
+   column-rule-width      : 1px;
+   -moz-column-rule-width : 1px;
+   column-rule-color      : #eeeeee;
+   -moz-column-rule-color : #eeeeee;
+   overflow               : auto;
+   margin                 : 1em;
+   text-align             : left;
+   vertical-align         : top;
+}
+
+
+div.fragment, div.code {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #000;
+   font-size              : 11px;
+   line-height            : 14px;
+   border                 : 1px solid #eee;
+   text-align             : left;
+   vertical-align         : middle;
+   padding                : 8px;
+   overflow               : auto;
+}
+
+hr {
+   width                  : 200px;
+   height                 : 1px;
+   background-color       : #eeeeee;
+   border                 : 0px;
+}
+
+h1 {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #000000;
+   font-size              : 1.5em;
+}
+
+h2 {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #000000;
+   font-size              : 1.3em;
+   margin                 : 0; 
+   padding                : 0;
+}
+
+h3 {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #000000;
+   font-size              : 1.1em;
+   margin                 : 0; 
+   padding                : 0;
+}
+
+p {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #444444;
+   font-size              : 0.9em;
+   margin-top: 2px; 
+   margin-bottom: 10px;
+   padding: 0;
+}
+
+p.tiny {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #888888;
+   font-size              : 0.7em;
+}
+
+a:link {
+   color                  : #445566;
+   text-decoration        : underline;
+}
+
+a:visited {
+   color                  : #667788;
+   text-decoration        : underline;
+}
+
+a:active {
+   color                  : #88cccc;
+   text-decoration        : none;
+}
+
+a:hover {
+   color                  : #112266;
+   text-decoration        : underline;
+}
+
+img {
+   vertical-align         : middle;
+   border                 : 0px;
+}
+
+img.thumb {
+   vertical-align         : middle;
+   border                 : 1px solid;
+}
+
+ul {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #444444;
+   font-size              : 0.9em;
+}
+
+li {
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #444444;
+   font-size              : 0.9em;
+}
+
+pre {
+   font-family            : "Bitstream Vera Mono", "Vera Mono", "Trebuchet MS 
Mono", "Trebuchet Mono", "Tahoma Mono", mono;
+   color                  : #000000;
+   font-size              : 0.9em;
+   border                 : 1px dotted #bbb;
+   text-align             : left;
+   vertical-align         : middle;
+   padding                : 5px;
+   overflow               : auto;
+}
+
+blockquote {
+   color                  : #000000;
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   font-size              : 0.9em;
+}
+
+table.n {
+   width                  : 100px; 
+   height                 : 100px; 
+   clear                  : both; 
+   border                 : 0px; 
+   margin                 : 0px; 
+   padding                : 0px; 
+   border-collapse        : collapse;
+}
+
+table.nl {
+   float                  : left; 
+}
+
+table.nr {
+   float                  : right; 
+}
+
+table.h {
+   width                  : 100%; 
+   padding                : 0px; 
+   margin                 : 0px; 
+   border-collapse        : collapse;
+}
+
+div.l {
+   clear                  : both; 
+   padding                : 7px 8px;
+}
+
+div.ll {
+   float                  : left;
+}
+
+div.lr {
+   float                  : right;
+}
+
+table.tab {
+   width                  : 90%;
+   padding                : 0px;
+   margin                 : 5px; 
+   border                 : 1px solid #cccccc;
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   color                  : #444444;
+   font-size              : 1.0em;
+   border-collapse        : collapse;
+}
+
+th.tab {
+   color                  : #ffffff;
+   background-color       : #000000;
+   padding                : 3px;
+   text-align             : left;
+}
+
+td.tab1 {
+   color                  : #444444;
+   background-color       : #ffffff;
+   padding                : 3px;
+   text-align             : left;
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   font-size              : 0.9em;
+}
+
+td.tab2 {
+   color                  : #444444;
+   background-color       : #eeeeee;
+   padding                : 3px;
+   text-align             : left;
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   font-size              : 0.9em;
+}
+
+table.b {
+   padding                : 0px; 
+   margin                 : 0px; 
+   border                 : 0px; 
+   border-spacing         : 0px;
+   border-style           : none;
+   border-collapse        : collapse;
+   font-size              : 0px;
+   line-height            : 0px;
+}
+
+td.b1 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b1.png'); }
+td.b1[class] { background-image:url("i/b1.png"); }
+td.b2 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b2.png'); }
+td.b2[class] { background-image:url("i/b2.png"); }
+td.b3 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b3.png'); }
+td.b3[class] { background-image:url("i/b3.png"); }
+td.b4 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b4.png'); }
+td.b4[class] { background-image:url("i/b4.png"); }
+td.b5 {
+   background-image       : url("i/b5.png");
+   font-family            : "Bitstream Vera", "Vera", "Trebuchet MS", 
Trebuchet, Tahoma, sans-serif;
+   font-size              : 11px;
+   color                  : #ffffff;
+   text-align             : left;
+   vertical-align         : middle;
+}
+td.b6 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b6.png'); }
+td.b6[class] { background-image:url("i/b6.png"); }
+td.b7 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b7.png'); }
+td.b7[class] { background-image:url("i/b7.png"); }
+td.b8 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b8.png'); }
+td.b8[class] { background-image:url("i/b8.png"); }
+td.b9 { 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, 
sizingMethod=scale src='i/b9.png'); }
+td.b9[class] { background-image:url("i/b9.png"); }
+
+a.b:link {
+   color                  : #ffffff;
+   text-decoration        : none;
+//   display                : block;
+}
+
+a.b:visited {
+   color                  : #ffffff;
+   text-decoration        : none;
+//   display                : block;
+}
+
+a.b:active {
+   color                  : #ffee88;
+   text-decoration        : none;
+//   display                : block;
+}
+
+a.b:hover {
+   color                  : #cccccc;
+   text-decoration        : none;
+//   display                : block;
+}
+
+/** NEWS STYLE */
+
+.post {
+   margin                 : 0 0 2.5em 40px;
+   border-left            : 1px solid #bbb;
+   padding-left           : 2ex;
+   text-align             : left;
+}
+
+.news-title {
+   font-size              : 1.1em;
+}
+
+.news-title a, .news-title a:visited, .news-title a:hover {
+   text-decoration        : none;
+}
+
+.news-title span {
+   font-size              : 0.7em;
+}
+
+.news-content {
+   text-align             : justify;
+}
+
+.news-latest-title {
+  margin-bottom: 0;
+}
+
+.news-latest-date {
+  padding-left: 10px;
+  font-size: .8em;
+}
+
+.news-latest-body {
+  margin-top: 5px;
+}
+
+/** SECTION PLUG STYLE */
+
+.section-plug {
+    width                 : 13em;
+    float                 : right;
+    clear                 : right;
+    margin                : 0px 0px 2em 2em;
+    background-color      : #ededf0;
+    background-image      : url('i/section-plug-header.png');
+    background-repeat     : repeat-x;
+}
+
+.section-plug .left-border {
+    margin: 0px;    
+    background-image      : url('i/section-plug-header-left.png');
+    background-repeat     : no-repeat;
+}
+
+.section-plug .right-border {
+    margin: 0px;
+    padding: 1em;
+    background-image      : url('i/section-plug-header-right.png');
+    background-position   : top right;
+    background-repeat     : no-repeat;
+}
+
+.section-plug h3 {
+    margin                : 0px;
+    padding               : 0px;
+    width                 : 100%;
+    text-align            : left;
+}
+
+.section-plug a {
+    margin                : 0px;
+    padding               : 0px;
+    text-decoration       : none;
+}
+
+.section-plug p {
+    margin                : 1em 0px;
+    padding               : 0px;
+    text-align            : left;
+}
+
+.section-plug ul {
+    margin                : 0px;
+    padding               : 0px;
+    list-style-type       : none;
+}
+
+.section-plug li {
+    margin                : 0px 0px 2px 0px;
+    padding               : 0px;
+    font-size             : 0.8em;
+    font-weight           : bold;
+    text-align            : left;
+}
+
+/* PLANET RELATED */
+
+.channelgroup {
+border-bottom: 1px solid #ccc; 
+margin: 30px; 
+width: 500px;
+}
+
+.sidebar {
+ padding: .5em 1em;
+ margin: 0 0 2em 1em;
+ float: right;
+ border: 1px outset #ddc;
+ background: #ffd;
+ font-size: 85%;
+ position: relative;
+}
+
+.sidebar h2 {
+       font-size: 110%;
+       font-weight: bold;
+       color: black;
+
+       padding-left: 5px;
+       margin-left: 0px;
+}
+
+.sidebar ul {
+       padding-left: 1em;
+       margin-left: 0px;
+
+       list-style-type: none;
+}
+
+.sidebar ul li:hover {
+       color: grey;
+}
+
+.sidebar ul li a {
+        text-decoration: none;
+}
+
+.sidebar ul li a:hover {
+        text-decoration: underline;
+}
+
+.sidebar ul li a img {
+        border: 0;
+}
+
+.sidebar p {
+       border-top: 1px solid grey;
+       margin-top: 30px;
+       padding-top: 10px;
+
+       padding-left: 5px;
+}
+
+.sidebar .message {
+    cursor: help;
+    border-bottom: 1px dashed red;
+}
+
+.sidebar a.message:hover {
+    cursor: help;
+       background-color: #ff0000;
+       color: #ffffff !important;
+       text-decoration: none !important;
+}
diff --git a/template/atom.xml.xslt b/template/atom.xml.xslt
new file mode 100644
index 0000000..c57a938
--- /dev/null
+++ b/template/atom.xml.xslt
@@ -0,0 +1,80 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
+                xmlns:access="http://www.bloglines.com/about/specs/fac-1.0";
+                xmlns:atom="http://www.w3.org/2005/Atom";
+                xmlns:indexing="urn:atom-extension:indexing"
+                xmlns:planet="http://planet.intertwingly.net/";
+                xmlns:xhtml="http://www.w3.org/1999/xhtml";
+                xmlns="http://www.w3.org/1999/xhtml";
+               exclude-result-prefixes="planet xhtml">
+
+  <!-- strip planet elements and attributes -->
+  <xsl:template match="planet:*|@planet:*"/>
+
+  <!-- strip obsolete link relationships -->
+  <xsl:template match="atom:link[@rel='service.edit']"/>
+  <xsl:template match="atom:link[@rel='service.post']"/>
+  <xsl:template match="atom:link[@rel='service.feed']"/>
+
+  <!-- Feedburner detritus -->
+  <xsl:template match="xhtml:div[@class='feedflare']"/>
+
+  <!-- Strip site meter -->
+  <xsl:template match="xhtml:div[comment()[. = ' Site Meter ']]"/>
+
+  <!-- add Google/LiveJournal-esque and Bloglines noindex directive -->
+  <xsl:template match="atom:feed">
+    <xsl:copy>
+      <xsl:attribute name="indexing:index">no</xsl:attribute>
+      <xsl:apply-templates select="@*"/>
+      <access:restriction relationship="deny"/>
+      <xsl:apply-templates select="node()"/>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:copy>
+  </xsl:template>
+
+<!-- popular customization: add planet name to each entry title
+  <xsl:template match="atom:entry/atom:title">
+    <xsl:text>&#10;    </xsl:text>
+    <xsl:copy>
+      <xsl:apply-templates select="@*"/>
+      <xsl:value-of select="../atom:source/planet:name"/>
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="node()"/>
+    </xsl:copy>
+  </xsl:template>
+-->
+
+  <!-- indent atom elements -->
+  <xsl:template match="atom:*">
+    <!-- double space before atom:entries -->
+    <xsl:if test="self::atom:entry">
+      <xsl:text>&#10;</xsl:text>
+    </xsl:if>
+
+    <!-- indent start tag -->
+    <xsl:text>&#10;</xsl:text>
+    <xsl:for-each select="ancestor::*">
+      <xsl:text>  </xsl:text>
+    </xsl:for-each>
+
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+ 
+      <!-- indent end tag if there are element children -->
+      <xsl:if test="*">
+        <xsl:text>&#10;</xsl:text>
+        <xsl:for-each select="ancestor::*">
+          <xsl:text>  </xsl:text>
+        </xsl:for-each>
+      </xsl:if>
+    </xsl:copy>
+  </xsl:template>
+
+  <!-- pass through everything else -->
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/template/foafroll.xml.xslt b/template/foafroll.xml.xslt
new file mode 100644
index 0000000..44726d9
--- /dev/null
+++ b/template/foafroll.xml.xslt
@@ -0,0 +1,39 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
+               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+               xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
+               xmlns:foaf="http://xmlns.com/foaf/0.1/";
+               xmlns:rss="http://purl.org/rss/1.0/";
+               xmlns:dc="http://purl.org/dc/elements/1.1/";
+                xmlns:atom="http://www.w3.org/2005/Atom";
+                xmlns:planet="http://planet.intertwingly.net/";
+                exclude-result-prefixes="atom planet">
+ 
+  <xsl:output indent="yes" method="xml"/>
+
+  <xsl:template match="atom:feed">
+    <rdf:RDF>
+      <foaf:Group>
+        <foaf:name><xsl:value-of select="atom:author/atom:name"/></foaf:name>
+        <foaf:homepage><xsl:value-of 
select="atom:author/atom:uri"/></foaf:homepage>
+
+        <xsl:apply-templates select="planet:source"/>
+      </foaf:Group>
+    </rdf:RDF>
+  </xsl:template>
+
+  <xsl:template match="planet:source">
+    <foaf:member>
+      <foaf:Agent>
+        <foaf:name><xsl:value-of select="planet:name"/></foaf:name>
+        <foaf:weblog>
+          <foaf:Document rdf:about="{atom:link[@rel='alternate']/@href}">
+            <dc:title><xsl:value-of select="atom:title"/></dc:title>
+            <rdfs:seeAlso>
+              <rss:channel rdf:about="{atom:link[@rel='self']/@href}" />
+            </rdfs:seeAlso>
+          </foaf:Document>
+        </foaf:weblog>
+      </foaf:Agent>
+    </foaf:member>
+  </xsl:template>
+</xsl:stylesheet>
diff --git a/template/index.php.tmpl b/template/index.php.tmpl
new file mode 100644
index 0000000..ec899f4
--- /dev/null
+++ b/template/index.php.tmpl
@@ -0,0 +1,211 @@
+<?php 
+  include_once($_SERVER["DOCUMENT_ROOT"] . 
'/../enlightenment.org/site/site.php');
+
+  function nav_button_planet($b) {
+      global $page;
+      global $lang;
+      $c = "passive";
+
+      if (file_exists("p/$b/$lang-label"))
+       $l = read_var("p/$b/$lang-label");
+      else
+       $l = read_var("p/$b/en-label");
+
+      $h = "";
+      if (file_exists("p/$b/page")) {
+         $h = read_var("p/$b/page");
+         $h = "p.php?p=$h&amp;l=$lang";
+      }
+      else if (file_exists("p/$b/link")) {
+         $h = read_var("p/$b/link");
+      }
+
+      if ((strncasecmp($page,$l,strlen($l)) == 0) OR 
+          (($page == "index") AND ($l == "Home") )) {
+         $c = "active";
+          echo "<td class='nav_$c'>$l</td>\n";
+      }
+      echo "<td class='nav_$c'><a class='nav_$c' 
href='http://www.enlightenment.org/$h'>$l</a></td>\n";
+  }
+?>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html>
+<head>
+<title><TMPL_VAR name></title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
+<link rel="stylesheet" href="style.css" type="text/css">
+<TMPL_IF feedtype>
+<link rel="alternate" href="<TMPL_VAR feed ESCAPE="HTML">" title="<TMPL_VAR 
channel_title_plain ESCAPE="HTML">" type="application/<TMPL_VAR feedtype>+xml">
+<link rel="icon" href="http://www.enlightenment.org/favicon.png"; 
type="image/x-icon">
+<link rel="shortcut icon" href="http://www.enlightenment.org/favicon.png"; 
type="image/x-icon">
+<link rel="icon" href="http://www.enlightenment.org/favicon.png"; 
type="image/ico">
+<link rel="shortcut icon" href="http://www.enlightenment.org/favicon.png"; 
type="image/ico">
+</TMPL_IF>
+<?php
+
+if (is_file("p/$page/$lang-head")) include "p/$page/$lang-head";
+
+if (is_file("p/$page/$lang-rss"))
+   echo '<link rel="alternate" type="application/rss+xml" title="RSS" 
href="rss.php?p=$page&l=$lang">';
+
+ ?>
+</head>
+
+<body>
+
+  <div id="wrapper">
+    <div id="layout">
+
+
+
+      <!-- Custom Header -->
+      <table cellspacing="0" cellpadding="0" width="100%"><tr>
+        <td id="header_logo">
+          <a href="http://www.enlightenment.org";></a>
+        </td>
+        <td id="header_menu">
+         <table cellspacing="0" cellpadding="0" align="right"><tr>
+           <?php
+          $dir = getcwd();
+          chdir($_SERVER["DOCUMENT_ROOT"] . '/../enlightenment.org');
+              nav_button_planet("about");
+             nav_button_planet("download");
+             nav_button_planet("contact");
+             nav_button_planet("contribute");
+             nav_button_planet("docs");
+             chdir($dir);
+           ?>
+             <td class="nav_passive"><a 
href="https://phab.enlightenment.org/phame/live/3";>News</a></td>
+             <td class="nav_passive"><a 
href="https://phab.enlightenment.org";>Devel</a></td>
+             <td class="nav_passive"><a 
href="https://phab.enlightenment.org/phame/live/1/";>Blog</a></td>
+             <td class="nav_passive"><a 
href="https://phab.enlightenment.org/w";>Wiki</a></td>
+         </tr></table>
+        </td>
+        <td id="header_last"></td>
+      </tr></table>
+
+     <div id="submenu">
+       <?php nav_subs(); ?>
+     </div>
+
+      <!-- CM contents -->
+      <div id="content">
+      
+      
+<table id="contbl">
+       <tr>
+               <td>  
+      
+<TMPL_LOOP Items>
+<TMPL_IF new_date>
+<TMPL_UNLESS __FIRST__>
+### End <div class="channelgroup">
+</div>
+### End <div class="daygroup">
+</div>
+</TMPL_UNLESS>
+<div class="daygroup">
+<h2></h2>
+</TMPL_IF>
+
+<TMPL_IF new_channel>
+<TMPL_UNLESS new_date>
+### End <div class="channelgroup">
+</div>
+</TMPL_UNLESS>
+
+<div class="channelgroup">
+
+### Planet provides template variables for *all* configuration options for
+### the channel (and defaults), even if it doesn't know about them.  We
+### exploit this here to add hackergotchi faces to our channels.  Planet
+### doesn't know about the "face", "facewidth" and "faceheight" configuration
+### variables, but makes them available to us anyway.
+
+<h3><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR 
channel_title_plain ESCAPE="HTML">"><TMPL_VAR channel_name></a></h3>
+<TMPL_IF channel_face>
+<TMPL_IF channel_user>
+<img class="face" src="http://www.enlightenment.org/DATA/devs/<TMPL_VAR 
channel_user ESCAPE="HTML">/icon-med.png" width="<TMPL_VAR channel_facewidth 
ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">">
+</TMPL_IF>
+<TMPL_UNLESS channel_user>
+<img class="face" src="/images/<TMPL_VAR channel_face ESCAPE="HTML">" 
width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR 
channel_faceheight ESCAPE="HTML">">
+</TMPL_UNLESS>
+</TMPL_IF>
+</TMPL_IF>
+
+<div class="entrygroup" id="<TMPL_VAR id>"<TMPL_IF channel_language> 
lang="<TMPL_VAR channel_language>"</TMPL_IF>>
+<TMPL_IF title>
+<h4<TMPL_IF title_language> lang="<TMPL_VAR title_language>"</TMPL_IF>><a 
href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
+</TMPL_IF>
+<div class="entry">
+<div class="content"<TMPL_IF content_language> lang="<TMPL_VAR 
content_language>"</TMPL_IF>>
+<TMPL_VAR content>
+</div>
+
+### Planet also makes available all of the information from the feed
+### that it can.  Use the 'planet-cache' tool on the cache file for
+### a particular feed to find out what additional keys it supports.
+### Comment extra fields are 'author' and 'category' which we
+### demonstrate below.
+
+<p class="date">
+<a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>by <TMPL_VAR author> 
at </TMPL_IF><TMPL_VAR date><TMPL_IF category> under <TMPL_VAR 
category></TMPL_IF></a>
+</p>
+</div>
+</div>
+
+<TMPL_IF __LAST__>
+### End <div class="channelgroup">
+</div>
+### End <div class="daygroup">
+</div>
+</TMPL_IF>
+</TMPL_LOOP>
+</div>
+</td><td valign="top" width=200>
+<div class="sidebar">
+
+<h2>Feeds</h2>
+<ul>
+<TMPL_LOOP Channels>
+<li>
+<a href="<TMPL_VAR url ESCAPE="HTML">" title="subscribe"><img 
src="images/feed-icon-10x10.png" alt="(feed)"></a> <a <TMPL_IF 
link>href="<TMPL_VAR link ESCAPE="HTML">" </TMPL_IF><TMPL_IF 
message>class="message" title="<TMPL_VAR message 
ESCAPE="HTML">"</TMPL_IF><TMPL_UNLESS message>title="<TMPL_VAR title_plain 
ESCAPE="HTML">"</TMPL_UNLESS>><TMPL_VAR name></a>
+</li>
+</TMPL_LOOP>
+</ul>
+
+<p>
+<strong>Last updated:</strong><br>
+<TMPL_VAR date><br>
+<em>All times are UTC.</em><br>
+<br>
+</p>
+
+</div>
+</td>
+       </tr>
+</table> 
+
+
+
+
+      </div>
+      
+      <div id="push"></div>
+    </div><!-- /layout -->
+  </div><!-- /wrapper -->
+
+
+  <!-- Custom Footer -->
+  <div id="sitefooter">
+    <table width="100%"><tr>
+      <td width="100%" align="center">Powered by: <a 
href="http://intertwingly.net/code/venus";><img src="images/venus.png" 
width="80" height="15" alt="Venus" border="0"></a></td>
+    </tr></table>
+  </div><!-- /sitefooter -->
+
+
+</body>
+</html>
+<html>
diff --git a/template/opml.xml.xslt b/template/opml.xml.xslt
new file mode 100644
index 0000000..dfc172c
--- /dev/null
+++ b/template/opml.xml.xslt
@@ -0,0 +1,40 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
+                xmlns:atom="http://www.w3.org/2005/Atom";
+                xmlns:planet="http://planet.intertwingly.net/";
+                exclude-result-prefixes="atom planet">
+ 
+  <xsl:output indent="yes" method="xml"/>
+
+  <xsl:template name="rfc822" xmlns:date="http://exslt.org/dates-and-times";>
+    <xsl:param name="date"/>
+    <!-- 
http://www.trachtenberg.com/blog/2005/03/03/xslt-cookbook-generating-an-rfc-822-date/
 -->
+    <xsl:value-of select="concat(date:day-abbreviation($date), ', ',
+      format-number(date:day-in-month($date), '00'), ' ',
+      date:month-abbreviation($date), ' ', date:year($date), ' ',
+      format-number(date:hour-in-day($date), '00'), ':',
+      format-number(date:minute-in-hour($date), '00'), ':',
+      format-number(date:second-in-minute($date), '00'), ' GMT')"/>
+  </xsl:template>
+
+  <xsl:template match="atom:feed">
+    <opml version="1.1">
+      <head>
+        <title><xsl:value-of select="atom:title"/></title>
+        <dateModified>
+          <xsl:call-template name="rfc822">
+            <xsl:with-param name="date" select="atom:updated"/>
+          </xsl:call-template>
+        </dateModified>
+        <ownerName><xsl:value-of select="atom:author/atom:name"/></ownerName>
+        <ownerEmail><xsl:value-of 
select="atom:author/atom:email"/></ownerEmail>
+      </head>
+
+      <body>
+        <xsl:for-each select="planet:source">
+          <outline type="rss" text="{planet:name}" title="{atom:title}"
+            xmlUrl="{atom:link[@rel='self']/@href}"/>
+        </xsl:for-each>
+      </body>
+    </opml>
+  </xsl:template>
+</xsl:stylesheet>
diff --git a/template/rss10.xml.tmpl b/template/rss10.xml.tmpl
new file mode 100644
index 0000000..750bf4f
--- /dev/null
+++ b/template/rss10.xml.tmpl
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<rdf:RDF
+       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+       xmlns:dc="http://purl.org/dc/elements/1.1/";
+       xmlns:foaf="http://xmlns.com/foaf/0.1/";
+       xmlns:content="http://purl.org/rss/1.0/modules/content/";
+       xmlns:atom="http://www.w3.org/2005/Atom";
+       xmlns="http://purl.org/rss/1.0/";
+>
+<channel rdf:about="<TMPL_VAR link ESCAPE="HTML">">
+       <title><TMPL_VAR name ESCAPE="HTML"></title>
+       <link><TMPL_VAR link ESCAPE="HTML"></link>
+       <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link 
ESCAPE="HTML"></description>
+       <TMPL_IF pubsubhubbub_hub>
+       <atom:link rel="hub" href="<TMPL_VAR pubsubhubbub_hub ESCAPE="HTML">"/>
+       </TMPL_IF>
+       <TMPL_IF fullurl>
+       <atom:link rel="self" href="<TMPL_VAR fullurl ESCAPE="HTML">" 
type="application/rss+xml"/>
+       </TMPL_IF>
+
+       <items>
+               <rdf:Seq>
+<TMPL_LOOP Items>
+                       <rdf:li rdf:resource="<TMPL_VAR id ESCAPE="HTML">" />
+</TMPL_LOOP>
+               </rdf:Seq>
+       </items>
+</channel>
+
+<TMPL_LOOP Items>
+<item rdf:about="<TMPL_VAR id ESCAPE="HTML">">
+       <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR 
title_plain ESCAPE="HTML"></TMPL_IF></title>
+       <link><TMPL_VAR link ESCAPE="HTML"></link>
+       <TMPL_IF content>
+       <content:encoded><TMPL_VAR content ESCAPE="HTML"></content:encoded>
+       </TMPL_IF>
+       <dc:date><TMPL_VAR date_iso></dc:date>
+       <TMPL_IF author_name>
+       <dc:creator><TMPL_VAR author_name></dc:creator>
+       </TMPL_IF>
+</item>
+</TMPL_LOOP>
+
+</rdf:RDF>
diff --git a/template/rss20.xml.tmpl b/template/rss20.xml.tmpl
new file mode 100644
index 0000000..217051c
--- /dev/null
+++ b/template/rss20.xml.tmpl
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom";>
+
+<channel>
+       <title><TMPL_VAR name></title>
+       <link><TMPL_VAR link ESCAPE="HTML"></link>
+       <language>en</language>
+       <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link 
ESCAPE="HTML"></description>
+       <TMPL_IF pubsubhubbub_hub>
+       <atom:link rel="hub" href="<TMPL_VAR pubsubhubbub_hub ESCAPE="HTML">"/>
+       </TMPL_IF>
+       <TMPL_IF fullurl>
+       <atom:link rel="self" href="<TMPL_VAR fullurl ESCAPE="HTML">" 
type="application/rss+xml"/>
+       </TMPL_IF>
+
+<TMPL_LOOP Items>
+<item>
+       <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR 
title_plain ESCAPE="HTML"></TMPL_IF></title>
+       <guid isPermaLink="<TMPL_VAR guid_isPermaLink>"><TMPL_VAR id 
ESCAPE="HTML"></guid>
+       <link><TMPL_VAR link ESCAPE="HTML"></link>
+       <TMPL_IF content>
+       <description><TMPL_VAR content ESCAPE="HTML"></description>
+       </TMPL_IF>
+       <pubDate><TMPL_VAR date_822></pubDate>
+       <TMPL_IF author_email>
+       <TMPL_IF author_name>
+       <author><TMPL_VAR author_email> (<TMPL_VAR author_name>)</author>
+       <TMPL_ELSE>
+       <author><TMPL_VAR author_email></author>
+       </TMPL_IF>
+       </TMPL_IF>
+       <TMPL_IF enclosure_href>
+        <enclosure url="<TMPL_VAR enclosure_href ESCAPE="HTML">" 
length="<TMPL_VAR enclosure_length>" type="<TMPL_VAR enclosure_type>"/>
+       </TMPL_IF>
+</item>
+</TMPL_LOOP>
+
+</channel>
+</rss>

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to