Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## seancribbs.com blog Radius code ## /weblog (non-archive) <r:aggregate urls="/tech; /music; /philosophy"> <r:children:each order="desc" limit="6"> <div class="hentry"> <h1 class="entry-title"><r:title /></h1> <div class="entry-content"> <r:content /> </div> <p class="post-footer"> <span class="readmore">Posted in <r:parent:link /><r:if_content part="extended"> | <r:link anchor="extended">Continue reading...</r:link></r:if_content></span> <span class="date updated" title="<r:rfc1182_date />"><r:date format="%a, %b %d, '%y" /></span> </p> </div> </r:children:each> </r:aggregate> ## Category archive roots - 'body' part <r:children:each order="desc" limit="5"> <div class="hentry"> <h1 class="entry-title"><r:title /></h1> <div class="entry-content"> <r:content /> </div> <p class="post-footer"> <span class="readmore">Posted in <r:parent:link /><r:if_content part="extended"> | <r:link anchor="extended">Continue reading...</r:link></r:if_content></span> <span class="date updated" title="<r:rfc1182_date />"><r:date format="%a, %b %d, '%y" /></span> </p> </div> </r:children:each> ## 'sidebar' part <h1>Philosophy Archives</h1> <ul class="sidemenu"> <r:children:each order="desc"> <r:header><li><a href="<r:date format="/philosophy/%Y/%m/" />"<r:date format="%B %Y" /></a></li></r:header> </r:children:each> </ul> ## Month Archive page (child of each category) <r:archive:children:each order="desc"> <div class="hentry"> <h1 class="entry-title"><r:title /></h1> <div class="entry-content"> <r:content /> </div> <p class="post-footer"> <r:if_content part="extended"><span class="readmore"><r:link anchor="extended">Continue reading...</r:link></span></r:if_content> <span class="date updated" title="<r:rfc1123_date />"><r:date format="%a, %b %d, '%y" /></span> </p> </div> </r:archive:children:each> ## Atom feed /atom.xml <?xml version="1.0" encoding="UTF-8" ?> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-us"> <title type="text">Sean Cribbs</title> <link rel="self" href="http://seancribbs.com<r:url />" /> <link rel="alternate" type="text/html" href="http://seancribbs.com/" /> <id>http://seancribbs.com/</id> <generator uri="http://radiantcms.org/" version="0.6.7">Radiant CMS</generator> <author> <name>Sean Cribbs</name> <uri>http://seancribbs.com/</uri> </author> <r:aggregate urls="/tech; /music; /philosophy"> <updated><r:children:first order="desc"><r:date format="%Y-%m-%dT%H:%M:%SZ" /></r:children:first></updated> <r:children:each limit="10" order="desc"> <entry> <author><name><r:author /></name></author> <published><r:date format="%Y-%m-%dT%H:%M:%SZ" /></published> <updated><r:date format="%Y-%m-%dT%H:%M:%SZ" /></updated> <title><r:title /></title> <link rel="alternate" type="text/html" href="http://seancribbs.com<r:url />" /> <id>http://seancribbs.com<r:url /></id> <content type="html"><r:escape_html><r:content /><r:if_content part="extended"> <r:content part="extended" /></r:if_content></r:escape_html></content> </entry> </r:children:each> </r:aggregate> </feed>
This paste will be private.
From the Design Piracy series on my blog: