CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 16:04:03 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20110812014858
location: https://web.archive.org/web/20110812014858/https://wiki.python.org/moin/CommentBasedSyntax
server-timing: captures_list;dur=0.790972, exclusion.robots;dur=0.037715, exclusion.robots.policy;dur=0.012424, esindex;dur=0.013573, cdx.remote;dur=29.528314, LoadShardBlock;dur=176.766519, PetaboxLoader3.datanode;dur=62.541954, PetaboxLoader3.resolve;dur=94.406495
x-app-server: wwwb-app213
x-ts: 302
x-tr: 237
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app213; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 16:04:04 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Fri, 12 Aug 2011 01:48:58 GMT
x-archive-orig-server: Apache/2.2.16 (Debian)
x-archive-orig-vary: Cookie,User-Agent,Accept-Language
x-archive-orig-set-cookie: MOIN_SESSION_80_ROOT_moin=07e8ae286c51b110fd07af415ed0c44c15a37995; expires=Fri, 12-Aug-2011 02:48:00 GMT; Max-Age=3600; Path=/
x-archive-orig-content-length: 8908
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 12 Aug 2011 01:48:58 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 15 May 2006 10:55:51 GMT", ; rel="prev memento"; datetime="Sat, 08 Dec 2007 11:02:51 GMT", ; rel="memento"; datetime="Fri, 12 Aug 2011 01:48:58 GMT", ; rel="next memento"; datetime="Fri, 08 Jul 2022 02:38:24 GMT", ; rel="last memento"; datetime="Fri, 08 Jul 2022 02:38:24 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: WPO-20110812003648-crawl438/WPO-20110812014751-01659.warc.gz
server-timing: captures_list;dur=0.717863, exclusion.robots;dur=0.025045, exclusion.robots.policy;dur=0.012256, esindex;dur=0.013437, cdx.remote;dur=19.435689, LoadShardBlock;dur=82.679132, PetaboxLoader3.datanode;dur=174.643092, load_resource;dur=349.553788, PetaboxLoader3.resolve;dur=244.994912
x-app-server: wwwb-app213
x-ts: 200
x-tr: 490
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
CommentBasedSyntax - PythonInfo Wiki
User
Comment-based syntax typically uses XML-like comments or special preprocessed comment-like elements to either annotate parts of a Web page (see StructureAnnotation) or to introduce program code into the document (see PythonInWebPage).
See PythonInWebPage for an example using JSP-like syntax. Here is a StructureAnnotation version using HTML-like syntax:
<table> <!-- loop:item in items --> <tr> <th>Name</th> <td><!-- expr:item.name --></td> </tr> <!-- loop:end --> </table>
One potential advantage of comment-based syntax is that HTML-aware tools can ignore the comments, should the syntax have been chosen correctly.
CommentBasedSyntax (last edited 2008-11-15 14:00:29 by localhost)