Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
351e3638
Commit
351e3638
authored
Mar 16, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update project perspective.
parent
b19c2d88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
12 deletions
+29
-12
lib/python/TAL/README
lib/python/TAL/README
+29
-12
No files found.
lib/python/TAL/README
View file @
351e3638
...
@@ -6,9 +6,9 @@ Language. For TAL, see the Zope Presentation Templates ZWiki:
...
@@ -6,9 +6,9 @@ Language. For TAL, see the Zope Presentation Templates ZWiki:
http://dev.zope.org/Wikis/DevSite/Projects/ZPT/FrontPage
http://dev.zope.org/Wikis/DevSite/Projects/ZPT/FrontPage
It is not
yet a Zope product nor is it intended to run inside of Zope,
It is not
a Zope product nor is it designed exclusively to run inside
but you must have a Zope checkout to access the DOM implementation
of Zope, but if you have a Zope checkout that includes
used.
Products/ParsedXML, its Expat parser will be
used.
Prerequisites
Prerequisites
-------------
-------------
...
@@ -16,11 +16,11 @@ Prerequisites
...
@@ -16,11 +16,11 @@ Prerequisites
You need:
You need:
- A recent checkout of Zope2; don't forget to run the wo_pcgi.py
- A recent checkout of Zope2; don't forget to run the wo_pcgi.py
script to compile everything.
script to compile everything.
(See above -- this is now optional.)
- A recent checkout of the Zope2 product ParsedXML, accessible
- A recent checkout of the Zope2 product ParsedXML, accessible
throught <Zope2>/lib/python/Products/ParsedXML; don't forget to run
throught <Zope2>/lib/python/Products/ParsedXML; don't forget to run
the setup.py script to compiles Expat.
the setup.py script to compiles Expat.
(Again, optional.)
- Python 1.5.2; the driver script refuses to work with other versions
- Python 1.5.2; the driver script refuses to work with other versions
unless you specify the -n option; this is done so that I don't
unless you specify the -n option; this is done so that I don't
...
@@ -28,12 +28,12 @@ You need:
...
@@ -28,12 +28,12 @@ You need:
- Edit the setpath.py script to set the proper module search path; the
- Edit the setpath.py script to set the proper module search path; the
variable libPython should be set to the <Zope2>/lib/python directory
variable libPython should be set to the <Zope2>/lib/python directory
that you want to use.
that you want to use.
(Again, optional.)
How To Play
How To Play
-----------
-----------
(
D
on't forget to edit setpath.py, see above!)
(
If you want to use Zope, d
on't forget to edit setpath.py, see above!)
The script driver.py takes an XML file with TAL markup as argument and
The script driver.py takes an XML file with TAL markup as argument and
writes the expanded version to standard output. The filename argument
writes the expanded version to standard output. The filename argument
...
@@ -43,9 +43,9 @@ Regression test
...
@@ -43,9 +43,9 @@ Regression test
---------------
---------------
There are a number of test cases in the test subdirectory, named
There are a number of test cases in the test subdirectory, named
test/test<number>.xml
. The Python script ./runtest.py runs
test/test<number>.xml
and test/test<number>.html. The Python script
./
driver.py for each test case, and should print "<file> OK" for each
./
runtest.py calls driver.main() for each test case, and should print
testcase.
"<file> OK" for each
testcase.
What's Here
What's Here
-----------
-----------
...
@@ -68,11 +68,28 @@ test/ drectory with test files and output
...
@@ -68,11 +68,28 @@ test/ drectory with test files and output
Author and License
Author and License
------------------
------------------
This code is written by Guido van Rossum. It is owned by Digital
This code is written by Guido van Rossum (project lead), Fred Drake,
Creations and can be redistributed under the Zope Public License.
and Tim Peters. It is owned by Digital Creations and can be
redistributed under the Zope Public License.
TO DO
TO DO
-----
-----
- Change tal:insert to tal:content (are there other approved changes
to TAL?)
- HTMLTALParser should reject unknown TAL keywords.
- Implement on-error, when it's approved.
- Finish implementing insertStructure(): attribute replacement isn't
- Finish implementing insertStructure(): attribute replacement isn't
implemented yet.
implemented yet.
- TALInterpreter currently always uses an XML parser to parse inserted
structure; it should use a parser appropriate to the mode.
- Insert line number and offset information into generated code.
- Should we preserve case of tags and attribute names in HTML?
- Optimize more?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment