### Planet HTML template. ### ### This is intended to demonstrate and document Planet's templating ### facilities, and at the same time provide a good base for you to ### modify into your own design. ### ### The output's a bit boring though, if you're after less documentation ### and more instant gratification, there's an example with a much ### prettier output in the fancy-examples/ directory of the Planet source. ### Lines like this are comments, and are automatically removed by the ### templating engine before processing. ### Planet makes a large number of variables available for your templates. ### See INSTALL for the complete list. The raw value can be placed in your ### output file using . We'll put the name of our ### Planet in the page title and again in an h1. <TMPL_VAR name> ">

### One of the two loops available is the Channels loop. This allows you ### to easily create a list of subscriptions, which is exactly what we'll do ### here. ### Note that we can also expand variables inside HTML tags, but we need ### to be cautious and HTML-escape any illegal characters using the form ###

Subscriptions

### The other loop is the Items loop, which will get iterated for each ### news item. ### Visually distinguish articles from different days by checking for ### the new_date flag. This demonstrates the ... ### check.

### Group consecutive articles by the same author together by checking ### for the new_channel flag.

" title="">

">

">by at


Powered by Planet!
Last updated: