#from xml.sax.saxutils import escape #from template import xmlchars, html2xml #from urlparse import urljoin #import os,time,spamthrottle,re #set ContentType = "text/html; charset=utf-8" #if $os.environ.get('HTTP_ACCEPT', '').find('application/xhtml+xml') > -1 ##if $os.environ.get('HTTP_ACCEPT', '').find('application/xhtml+xml;q=0') == -1 #set ContentType = "application/xhtml+xml; charset=utf-8" ##end if #end if Content-type: $ContentType X-Pingback: $service.pingback $channel.title: $html2xml($re.sub('<.*?>','',$parent.title)) #if $age <= 90 #end if #set $comment = $parent.get('comment','') #if $parent.get('warning','') #if 'block' in $parent.warning #set $comment = '' #end if #end if #if $comment #set secret = spamthrottle.captcha() #end if #if $parent.get('warning','') and $comment #else #end if
#if $parent.title

$html2xml($parent.title) #else

#end if

#if $parent.id
#else
#end if $html2xml($parent.description) #if $parent.id #if $age <= 90 #end if #end if
#if $parent.id #set $threedays=$time.time-(3*86400.0) #if $time.mktime($parent.mtime) < $threedays
#end if #end if #set phead = '' #for $item in $children #set $head = $time.strftime('%a %d %b %Y', $item.mtime) #if $head <> $phead

#set $phead = $head #end if

#if not $item.title==$re.sub('<.*?>','',$parent.title)

$html2xml($item.title)

#end if $html2xml($item.description) at
#end for
#if $parent.id

Add your comment

#else

Edit your comment

#end if #if $parent.get('warning','') #if 'block' in $parent.warning

This comment has been blocked

#else #if 'openid' in $parent.warning

$xmlchars($parent.url) is an OpenID enabled website.  In order to use this URI, you need to be able to authenticate with the OpenID Provider for that website.

#end if #if 'moderate' in $parent.warning

Welcome! You seem to be new here. In order to minimize spam, your comment will not appear on the weblog until it has been moderated in by the owner of this weblog

Be aware that all links you enter in your comment or as your URI will be marked as NOFOLLOW and therefore not indexed by major search engines like Google, MSN, or Yahoo!.

Be advised that your ip address is being tracked, and this weblog owner is very diligent about removing spam and adding both the ip address and the address of any urls referenced by such posts to his blacklist

#end if #if 'age' in $parent.warning

This blog entry is more than 30 days old, so it is unlikely that people are actively following this discussion. However, anybody who is subscribed to the general comment feed for this site will see all such posts, so feel free to post a comment.

Placing comments on old weblog entries is a common technique used by spammers. Be advised that your ip address is being tracked, and this weblog owner is very diligent about removing spam and adding both the ip address and the address of any urls referenced by such posts to his blacklist

#end if #if 'rate' in $parent.warning

Placing multiple comments in quick sucession from the same ip address with the same content or same url is a comment techique used by spammers. This comment will be allowed through, but subsequent comments may be blocked. If the owner of this weblog deems such a post to be spam, both the ip address and url will be added to his blacklist.

If this does not apply to you, please feel free to post your comment

#end if #if 'spam' in $parent.warning

This comment has been flagged as being likely to be spam. If the owner of this weblog deems such a post to be spam, both the ip address and the url will be placed on this weblog's blacklist

#end if #end if #end if











#if $comment #import nonce #set $log="%s\n%s\n\nPosted by %s\n" % ($xmlchars($parent.title), $xmlchars($comment), $parent.get('url',''), $os.environ.get('REMOTE_ADDR', ''), $parent.get('name','')) #if $parent.get('warning','') $secret[0]

#else #end if
#end if #if not $parent.id #end if
#if not $parent.id

Formatting Rules

  • naked URIs become [link]s
  • <a href>, <em>, <i>, <b>, <strong>, <abbr title>, <blockquote>, <br>, <p> passthru
  • {{{ code }}} becomes code
  • other XML/HTML characters used in text become escaped
  • wiki like support: _em_, *b*, [url title]
  • unordered lists: consecutive lines starting with indented asterisks
  • blockquotes: leading > signs on lines
  • white space is preserved

Please be respectful in comments. I reserve the right to mark portions of comments as flamebait.

#end if

Nav Bar

#set $threedays=$time.time-(3*86400.0) #if $time.mktime($parent.mtime) < $threedays
#end if