File: talsample.html.tal

package info (click to toggle)
pygopherd 2.0.17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,872 kB
  • ctags: 589
  • sloc: python: 3,872; makefile: 94; sh: 56
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>