File: talsample.html.tal

package info (click to toggle)
pygopherd 2.0.18.3%2Bnmu2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,312 kB
  • ctags: 586
  • sloc: python: 3,865; sh: 99; makefile: 95
file content (16 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head>
<title>TAL Test</title>
</head>
<body>
My selector is: <b tal:content="selector">selector</b><br>
My MIME type is: <b tal:content="entry/mimetype">foo/bar</b><br>
Another way of getting that is: <b tal:content="handler/getentry/mimetype">foo/bar</b><br>
Gopher type is: <b tal:content="entry/gettype">X</b><br>
My handler is: <b tal:content="handler">handlername</b><br>
My protocol is: <b tal:content="protocol">protocol</b><br>
Python path enabling status: <b tal:content="allowpythonpath">123</b><br>
My vfs is: <b tal:content="handler/vfs">vfs</b><br>
Math: <b tal:content="python:2 + 2">5</b>
</body>
</html>