patch to extract license data
Sam Ruby
rubys at intertwingly.net
Mon Dec 10 01:16:17 EST 2007
Nathan Kinkade wrote:
>
> As far as documentation for the template, as you mentioned in a
> previous post, this case is simple enough that it may not really
> require specific documentation. It simply requires adding <TMPL_VAR
> license> and/or <TMPL_VAR default_license> somewhere in the template.
> In our specific case, and this will probably be most useful, we check
> for "license," if it doesn't exist we check for "default_license," if
> it doesn't exist we print nothing.
Documentation and a test case would be helpful.
http://www.intertwingly.net/code/venus/docs/templates.html
http://intertwingly.net/code/venus/tests/data/filter/tmpl/
The first URI above contains a simple table of all of the supported
variables. Anything added should be listed.
The second URI contains a set of files, one per test. A test contains a
simple feed and an assertion of what template data should be produced
from that feed.
- Sam Ruby
More information about the devel
mailing list