|
Revision 51, 0.8 kB
(checked in by rintaro, 2 years ago)
|
|
README
|
| Line | |
|---|
| 1 | This is Perl module Nenshi. |
|---|
| 2 | |
|---|
| 3 | DESCRIPTION |
|---|
| 4 | |
|---|
| 5 | This package was inspired the Python package |
|---|
| 6 | Genshi <http://genshi.edgewall.org>. Genshi is made by Edgewall Software. |
|---|
| 7 | |
|---|
| 8 | Nenshi is basically a Perl port of Python package Genshi. |
|---|
| 9 | Differences are: |
|---|
| 10 | |
|---|
| 11 | * (Python like) Mini language for template language. |
|---|
| 12 | * No Processing Instructions support. |
|---|
| 13 | * Another XML namespace for template directives. |
|---|
| 14 | * A little bit Perlish API |
|---|
| 15 | |
|---|
| 16 | INSTALLATION |
|---|
| 17 | |
|---|
| 18 | Nenshi installation is straightforward. If your CPAN shell is set up, |
|---|
| 19 | you should just be able to do |
|---|
| 20 | |
|---|
| 21 | % cpan Nenshi |
|---|
| 22 | |
|---|
| 23 | Download it, unpack it, then build it as per the usual: |
|---|
| 24 | |
|---|
| 25 | % perl Makefile.PL |
|---|
| 26 | % make && make test |
|---|
| 27 | |
|---|
| 28 | Then install it: |
|---|
| 29 | |
|---|
| 30 | % make install |
|---|
| 31 | |
|---|
| 32 | DOCUMENTATION |
|---|
| 33 | |
|---|
| 34 | Nenshi documentation is available as in POD. So you can do: |
|---|
| 35 | |
|---|
| 36 | % perldoc Nenshi |
|---|
| 37 | |
|---|
| 38 | to read the documentation online with your favorite pager. |
|---|
| 39 | |
|---|
| 40 | Rintaro Ishizaki |
|---|