• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/H20-May-2020-6,0403,098

t/H20-May-2020-4,5323,100

ChangesH A D20-May-202013.7 KiB389313

MANIFESTH A D20-May-20205.6 KiB221220

META.jsonH A D20-May-20201.1 KiB4746

META.ymlH A D20-May-2020656 2827

Makefile.PLH A D20-May-2020850 4027

READMEH A D21-Dec-20121.8 KiB8053

README

1Petal - TAL for Perl
2====================
3
4Petal stands for "Perl Template Attribute Language". It is inspired from the
5Zope Page Templates TAL specification, and lets you write elegant, WYSIWYG
6friendly templates such as:
7
8<ul petal:condition="user/list">
9  <li petal:repeat="user user/list"
10      petal:content="user/login">
11    Dummy UserName
12  </li>
13</ul>
14
15Petal by default processes XML template files (i.e. SVG, XHTML, VoiceXML,
16whatever) using XML::Parser, however for convenience HTML is also supported
17(using HTML::TreeBuilder).
18
19
20INSTALLATION
21
22To install this module type the following:
23
24  perl Makefile.PL
25  make
26  make test
27  make install
28
29Or better, use CPAN.pm
30
31
32DEPENDENCIES
33
34This module requires these other modules and libraries:
35
36  HTML::TreeBuilder
37  XML::Parser
38
39
40CONTRIBUTORS
41
42Those people (sorted by chronological order of first contribution) have helped
43Petal under the form of suggestions, bug reports, patches or tests. Thanks to
44everybody!
45
46William McKee <william@knowmad.com>
47Lucas Saud <lucas.marinho@uol.com.br>
48Sean M. Burke <sburke@cpan.org>
49Chris Croome <chris@webarchitects.co.uk>
50Paul Arzul <patricka@mkdoc.com>
51Bruno Postle <bruno@mkdoc.com>
52Kurt Stephens <kstep@pepsdesign.com>
53Steve Purkis <spurkis@mkdoc.com>
54Holland, Mark <Mark.Holland@commerzbankib.com>
55Ronald Hayden <rhayden@apple.com>
56Peter Wilson <pwilson@apple.com>
57Fergal Daly <fergal@esatclear.ie>
58Grant McLean <grant@mclean.net.nz>
59
60(hopefully I didn't forget anybody...)
61
62
63MISCELLEANOUS
64
65  Join the Petal community!
66  http://lists.webarch.co.uk/mailman/listinfo/petal
67
68
69COPYRIGHT AND LICENCE
70
71  This module free software and is distributed under the
72  same license as Perl itself.
73
74  Copyright (C) 2003 MKDoc Ltd.
75
76  Authors: Jean-Michel Hiver,
77           Fergal Daly <fergal@esatclear.ie>,
78           and others.
79
80