Below is the Individual Entry Archive Template for my site. It is the code behind the page you are looking at. Share with MovableType funs. Please note: Changes always under way but the major elements will be stable for a very long time.
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title><$MTEntryTitle$></title>
<link rel=”stylesheet” href=”http://home.wangjianshuo.com/jianshuowangstyle.css” type=”text/css” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”<$MTBlogURL$>index.rdf” />
<meta name=”description” content=”<$MTEntryExcerpt$>” />
<meta name=”keyword” content=”<$MTEntryCategoryLabel$>” />
<link rel=”start” href=”<$MTBlogURL$>” title=”Home” />
<MTEntryPrevious>
<link rel=”prev” href=”<$MTEntryLink$>” title=”<$MTEntryTitle$>” />
</MTEntryPrevious>
<MTEntryNext>
<link rel=”next” href=”<$MTEntryLink$>” title=”<$MTEntryTitle$>” />
</MTEntryNext>
</head>
<body>
<a href=”/”><div id=”banner”><$MTBlogName$><br />
<span class=”description”><$MTBlogDescription$></span></div></a>
<$MTInclude module=”Header”$>
<div class=”blog”><div class=”blogbody”>
<h1><$MTEntryTitle$></h1>
<span class=Adsense>
<script type=”text/javascript”><!–
google_ad_client = “pub-8513779941474461”;
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = “120x600_as”;
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</span>
<!–
<MTEntryCategories glue=” “>
<a href=”<$MTCategoryArchiveLink$>”>
<img border=0 src=”http://<$MTBlogHost$>/archives/2003/03/26/<$MTEntryCategory$>.jpg” alt=”Category: <$MTEntryCategory$>” vspace=5 hspace=5 align=”right”>
</a>
</MTEntryCategories>
–>
<p class=”small-note”>by <$MTEntryAuthor$> | <$MTEntryDate format=”%A, %B %d, %Y”$> | <$MTLinksDirectory$> |
<MTEntryPrevious>
<a href=”<$MTEntryPermalink$>”>«</a>
</MTEntryPrevious>
<MTEntryNext>
<a href=”<$MTEntryPermalink$>”>»</a>
</MTEntryNext>
</p>
<$MTEntryBody$>
<a name=”more”></a>
<$MTEntryMore$>
<span class=”posted”>Posted by <$MTEntryAuthor$> at <$MTEntryDate$>
<MTEntryIfAllowPings>
| <a href=”#trackback”>TrackBack (<$MTEntryTrackbackCount$>)</a>
</MTEntryIfAllowPings></span>
</div>
<$MTInclude module=”Newsletter”$>
<div class=”comments-head”>Related Entries:</div>
<$MTLinksRelatedEntries$>
<MTEntryIfAllowComments>
<div class=”comments-head”><a name=”comments”></a>Comments</div>
<MTComments>
<div class=”comments-body”>
<a name=”<$MTCommentDate format=”%I%M”$>”></a>
<$MTCommentBody$>
<span class=”comments-post”>Posted by: <b><$MTCommentAuthorLink show_email=”0″$></b> on <$MTCommentDate$></span>
</div>
</MTComments>
<div class=”comments-head”><a name=”trackback”>Trackbacks</a></div>
<div class=”comments-body”>TrackBack URL for this entry: <$MTEntryTrackbackLink$>
<MTPings>
<br/><br/><a name=”<$MTPingID$>”></a>
<a href=”<$MTPingURL$>” target=”new”><$MTPingTitle$></a><br />
<b>Excerpt:</b> <$MTPingExcerpt$><br />
<b>Weblog:</b> <$MTPingBlogName$><br />
<b>Tracked:</b> <$MTPingDate$></span>
</MTPings>
</div>
<div class=”comments-head”>Post a comment</div>
<script type=”text/javascript” language=”javascript”>
<!–
function OpenTrackback (c) {
window.open(c,
‘trackback’,
‘width=480,height=480,scrollbars=yes,status=yes’);
}
var HOST = ‘<$MTBlogHost$>’;
// Copyright (c) 1996-1997 Athenia Associates.
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.
function setCookie (name, value, expires, path, domain, secure) {
var curCookie = name + “=” + escape(value) + ((expires) ? “; expires=” + expires.toGMTString() : “”) + ((path) ? “; path=” + path : “”) + ((domain) ? “; domain=” + domain : “”) + ((secure) ? “; secure” : “”);
document.cookie = curCookie;
}
function getCookie (name) {
var prefix = name + ‘=’;
var c = document.cookie;
var nullstring = ”;
var cookieStartIndex = c.indexOf(prefix);
if (cookieStartIndex == -1)
return nullstring;
var cookieEndIndex = c.indexOf(“;”, cookieStartIndex + prefix.length);
if (cookieEndIndex == -1)
cookieEndIndex = c.length;
return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}
function deleteCookie (name, path, domain) {
if (getCookie(name))
document.cookie = name + “=” + ((path) ? “; path=” + path : “”) + ((domain) ? “; domain=” + domain : “”) + “; expires=Thu, 01-Jan-70 00:00:01 GMT”;
}
function fixDate (date) {
var base = new Date(0);
var skew = base.getTime();
if (skew > 0)
date.setTime(date.getTime() – skew);
}
function rememberMe (f) {
var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
setCookie(‘mtcmtauth’, f.author.value, now, ‘/’, HOST, ”);
setCookie(‘mtcmtmail’, f.email.value, now, ‘/’, HOST, ”);
setCookie(‘mtcmthome’, f.url.value, now, ‘/’, HOST, ”);
}
function forgetMe (f) {
deleteCookie(‘mtcmtmail’, ”, HOST);
deleteCookie(‘mtcmthome’, ”, HOST);
deleteCookie(‘mtcmtauth’, ”, HOST);
f.email.value = ”;
f.author.value = ”;
f.url.value = ”;
}
//–>
</script>
<div class=”comments-body”>
<form method=”post” action=”<$MTCGIPath$><$MTCommentScript$>” name=”comments_form” onsubmit=”if (this.bakecookie.checked) rememberMe(this)”>
<input_HIDDEN type=”hidden” name=”static” value=”http://home.wangjianshuo.com/scripts/thanksforcomment/thankyou.htm” />
<input type=”hidden” name=”static” value=”1″>
<input type=”hidden” name=”entry_id” value=”<$MTEntryID$>” />
<input type=”hidden” name=”src” value=”home.wangjianshuo.com” />
Name: <br />
<input name=”author” /><br />
Email Address: (will not show)<br />
<input name=”email” /><br />
<input name=”url” /><br />
Comments:<br />
<textarea name=”text” rows=”12″ cols=”60″ style=”width:80%”></textarea><br /><br />
It may take up to <b>30 seconds</b> before the server returns a result. IP address recorded. Spam/advertisement comment will be deleted<br/>
<input type=”checkbox” name=”bakecookie” />Remember info?
<input type=”checkbox” name=”subscribe” />Subscribe this thread?
<br /><br />
<input type=”submit” name=”preview” value=” Preview ” />
<input type=”submit” name=”post” value=” POST ” style=”font-weight: bold;” /> <– Please click POST only once<br />
<input type=”button” onclick=”forgetMe(this.form)” value=”FORGET PERSONAL INFORMATION” />
</form>
<script type=”text/javascript” language=”javascript”>
<!–
document.comments_form.email.value = getCookie(“mtcmtmail”);
document.comments_form.author.value = getCookie(“mtcmtauth”);
document.comments_form.url.value = getCookie(“mtcmthome”);
//–>
</script>
</MTEntryIfAllowComments>
</div>
<div class=”comments-head”>Featured Topics</div>
<br>
<script src=”http://home.wangjianshuo.com/scripts/ads/ads.cgi”></script>
<p><center>
© 2002 – 2003 Jian Shuo Wang. All right reserved.
<a target=”_blank” href=”http://home.wangjianshuo.com/mt26/mt.cgi?__mode=view&_type=entry&id=<$MTEntryID$>&blog_id=1″><img src=”http://www.wangjianshuo.com/about/logos/dot.gif” width=3 height=3 border=0></a>
<br/>
Email me:<img alt=”screen-jianshuo.at.hotmail.com-logo.PNG” src=”http://home.wangjianshuo.com/archives/2003/03/26/screen-jianshuo.at.hotmail.com-logo.PNG” width=”152″ height=”19″ border=”0″ align=”texttop”></center>
</p>
<script language=”VBScript” src=”http://www.wangjianshuo.com/include/pubs.vbs”>
</script>
</body>
</html>
Jian Shuo, I think this web site needs a specific “pictures” folder. I’d love to see some “up to date” photos of Shanghai and the developments in it. Maybe you could write a simple script that would automatically scan each directory for photos and then show as small thumbnails (enlarged when clicked).
Thanks!
Sounds very good suggestion. I will add one within the next week.
Pingback: bigwin138
Pingback: dating advice and commentary
Pingback: Marriage counselors