#from manager import WikiText #from time import localtime, strftime <div class="blog_trackback" id="trackback-`str(index)`"> #if blog and blog.startswith('http://'): <h4><a href="`&blog`">`&blog`</a> @ `strftime('%Y.%m.%d %H:%M', localtime(int(issued)))`:</h4> <h5><a href="`&url`">`&title or url`</a></h5> #elif blog: <h4>`&blog` @ `strftime('%Y.%m.%d %H:%M', localtime(int(issued)))`:</h4> <h5><a href="`&url`">`&title or url`</a></h5> #else: <h4><a href="`&url`">`&title or url`</a> @ `strftime('%Y.%m.%d %H:%M', localtime(int(issued)))`:</h4> #pass #from manager import WikiText #if len(excerpt) > 1024: excerpt = excerpt[:768] + '...' `manager.part(WikiText, excerpt)` </div>