The documentation on ttree is incredibly sparse. (For example, there are no examples of actually doing something useful with ttree, only how to set options and configure the app.)

I never understood where it gets the actual content that will be fed into the templates. If you had a collection of text files for your content, how would you feed them to ttree? The docs just say ttree will "process ... template files," as though that is somehow useful in and of itself (??). Template files without corresponding content files don't seem very interesting to me.

I just never bothered messing with ttree. Easier to write my own perl scripts and use Template; than to figure out what this script (which I'm sure is useful to those in the know) is supposed to be doing.

Update: To avoid sounding too much like an ungrateful twit, I should note the Template Toolkit generally ROCKS, and I appreciate the time Andy put into it.


In reply to Re^2: What are your favorite tools for building a static site? by ryantate
in thread What are your favorite tools for building a static site? by webfiend

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.