darcsden :: simon -> planetsqueakorg -> blob

config for planet.squeak.org and friendshttp://planet.squeak.org

root / index.html.tmpl

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

### Fancy Planet HTML template.
### 
### When combined with the stylesheet and images in the output/ directory
### of the Planet source, this gives you a much prettier result than the
### default examples template and demonstrates how to use the config file
### to support things like faces
### 
### For documentation on the more boring template elements, see
### examples/config.ini and examples/index.html.tmpl in the Planet source.

  <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="planet.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">
    </TMPL_IF>
  </head>

  <body>
    <h1><TMPL_VAR name></h1>
    <div class="description">
      blogs about Squeak, Pharo, Croquet and family<br>
          <a href="http://planet.squeak.org">planet squeak</a>
          - <a href="http://planetes.squeak.org">planet squeak es</a>
          - <a href="http://planetjp.squeak.org">planet squeak jp</a>
          - <a href="http://planetfr.squeak.org">planet squeak fr</a>
          - <a href="http://planetcroquet.squeak.org">planet croquet</a>
          - <a href="http://planetmisc.squeak.org">planet squeak code</a>
          <!-- - <a href="http://planetarchive.squeak.org">planet squeak archive</a> -->
          - <a href="http://planet.smalltalk.org">planet smalltalk</a><br />
    </div>

    <div class="sidebar">
      <img src="images/logo.png" alt="">

      <p>
        <a href="atom.xml"><img class="button" src="images/atom.png" width="80" height="15" alt="[Atom Feed]"></a>
<!--        <a href="http://validator.w3.org/feed/check.cgi?url=<TMPL_VAR link>/atom.xml">(validate)</a><br> -->
        <a href="rss20.xml"><img class="button" src="images/rss20.png" width="80" height="15" alt="[RSS 2.0 Feed]"></a>
<!--        <a href="http://validator.w3.org/feed/check.cgi?url=<TMPL_VAR link ESCAPE="HTML">/rss20.xml">(validate)</a> -->
        <br>
        <!--
        <a href="rss10.xml"><img class="button" src="images/rss10.png" width="80" height="15" alt="[RSS 1.0 Feed]"></a>
        <a href="http://validator.w3.org/feed/check.cgi?url=<TMPL_VAR link ESCAPE="HTML">/rss10.xml">(validate)</a><br>
        -->
        Last updated:<br>
        <TMPL_VAR date><br>
          All times are UTC.
      </p>

      <p>
        <strong>Sources:</strong>
        <br>
        (send updates to <a href="mailto:simon@joyful.com">simon@joyful.com</a> or
        the <a href="http://joyful.com/darcsden/simon/planetsqueakorg">darcs&nbsp;repo</a>)

        <ul>
          <TMPL_LOOP Channels>
            <li><a href="<TMPL_VAR link ESCAPE="HTML">" title="<TMPL_VAR title ESCAPE="HTML">"><TMPL_VAR name></a></li>
          </TMPL_LOOP>
        </ul>
      </p>

      <p>
        <strong>See also:</strong>
        <ul>
          <li><a href="http://squeak.org">squeak.org</a></li>
          <li><a href="http://squeakland.org/">squeakland.org</a></li>
          <li><a href="http://opencroquet.org/">opencroquet.org</a></li>
          <li><a href="http://wiki.squeak.org/squeak">wiki.squeak.org</a></li>
          <li><a href="http://squeak.joyful.com">squeak.joyful.com</a></li>
        </ul>
      </p>

      <p>
        <strong>Contact:</strong><br>
        <a href="http://joyful.com/Squeak#planet-squeak">Simon Michael</a>
        <br>
        <br>
        <strong>Logo by:</strong> ? 
        <br>found on the squeak wiki
        <br>
        <br>
        <strong>Powered by:</strong>
        <a href="http://intertwingly.net/code/venus/"><img src="images/venus.png" width="80" height="15" alt="Venus" border="0"></a>
      </p>

    </div>

    <div id="items">
    <TMPL_LOOP Items>
      <TMPL_IF new_date>
        <h2><TMPL_VAR new_date></h2>
      </TMPL_IF>

      <TMPL_IF new_channel>

### 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><TMPL_VAR channel_name></h3>
        <TMPL_IF channel_face>
          <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">" alt="">
        </TMPL_IF>
      </TMPL_IF>

      <TMPL_IF title>
        <a href="<TMPL_VAR link ESCAPE="HTML">">
          <h4><TMPL_VAR title></h4>
        </a>
      </TMPL_IF>
      <div class="entry">
        <p>
          <TMPL_VAR content>
        </p>

### 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">
          <TMPL_IF author>by <TMPL_VAR author> at </TMPL_IF><TMPL_VAR date><TMPL_IF category> under <TMPL_VAR category></TMPL_IF>
        </p>
      </div>
    </TMPL_LOOP>
    </div>

  </body>

</html>