<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
   <channel>
      <title>Trucy Weblog</title>
      <link>http://www.trucy.org/blog/</link>
      <description>楚 水 网 志</description>
      <language>en</language>
      <copyright>Copyright 2010</copyright>
      <lastBuildDate>Tue, 02 03 2010 20:53:18 +0800</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=4.1</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

      
      <item>
         <title>nokia ovi 正在设置...</title>
         <description>　看到了Nokia的新的支持软件OVI，于是下载下来试用，据说还有免费语音导航，我也可以试试GPS了，虽然驾照刚被注销……
　　安装过程没问题，就是连接后一直显示“正在设置...”，无论是蓝牙连接还是USB数据线连接，sync all同步所有的按钮总是出不来，其他功能也都无法使用，好像是连接根本没有成功。
　　不知何故。
　　免费导航支持新推出的使用新平台的E72,71还不行，好像是处在免费试用90天，但是我也安装出声音了，就是不知道是不是走流量的高额收费，没敢太多试验。
　　据说，很快就会普及到E71等机型了。


　　装个英文版的ovi解决了正在设置...的问题。</description>
         <link>http://www.trucy.org/blog/archives/2010/03/nokia_ovi_oyoue.html</link>
         <guid>http://www.trucy.org/blog/archives/2010/03/nokia_ovi_oyoue.html</guid>
         <category></category>
         <pubDate>Tue, 02 03 2010 20:53:18 +0800</pubDate>
      </item>
      
      <item>
         <title>Movable Type 4.0</title>
         <description><![CDATA[<h2 id="archive-title">What's New in Movable Type 4</h2>

<div class="entry" id="entry-101">
    <div class="entry-content">

        <div class="entry-body">
            Listed below is a comprehensive list of new features that you will find in Movable Type 4.0. <br /><br /><font style="font-size: 1.25em;"><b>Understanding Your Blogs Better</b></font><br /><br /><ol><li>A completely reinvented user interface</li><li>Built in reports on blog activity</li><li>Blog-style presentation of your recent content makes it easy to skim and know at a glance how your blogs are doing</li><li>Customize your reports and user interface using the same MT template language that publishes your blog</li><li>A customizable dashboard to display just the information each user finds valuable</li><li>Smarter defaults throughout the system, offering more power with fewer configuration settings than MT 3.0</li><li>Powerful
listing screens with quick keyboard access keys and the ability to work
with multiple selections of entries, comments, or authors</li><li>Quick Filters on every listing screen let you jump to the most-frequently-accessed views of your information</li><li>Built-in
file manager for uploading and reusing assets like images or media
files lets you keep track of all the content in your blog, not just
entries</li></ol><font style="font-size: 1.25em;"><b>Better Publishing</b></font><br /><br /><ol start="10"><li> A powerful and simple re-sizable WYSIWYG Editor, with automatic
saving of drafts of entries and templates -- never lose a half-written
post again
</li><li> Built-in cross-blog aggregation: Publish pages that include data from some, all, or just one of your blogs
</li><li> The world's smartest template language, with boolean logic
for choosing which content to display. ("Show me posts by 'Jane' in the
category 'music' with tags 'bass NOT fish'.")
</li><li> Live preview shows you your entry before you publish, with full fidelity to your live blog
</li><li> Smart controls like auto-complete for tags, a calendar
selector for scheduling future-dated entries, and a completely redone
UI for selecting and creating categories
</li><li> Support for publishing standalone pages that automatically use blog templates and designs
</li><li> Better plain-text entry with built-in support for Markdown
and Textile, and conversion of MS Word "smart" quotes to HTML entities
</li><li> Even more SEO-friendly with customizable URLs per entry, per-template, or per-page
</li><li> A simple integrated IDE for templates, with smart error reporting for template typos
</li><li> Paginated archives -- easily walk your users through posts by date or author or category
</li></ol>

<font style="font-size: 1.25em;"><b>Build Real Community Sites<br /><br /></b></font>

<ol start="20"><li>OpenID support built in</li><li>Built-in user registration</li><li>Powerful profile pages for every user in your system</li><li>Customizable roles and even more granular user permissions let you control exactly what users can access</li><li>A
ratings framework that lets users rate any item in the system --
entries, comments, and in the future even authors or entire blogs</li><li>Easily reply to comments from right within the administration UI</li><li>Built in per-author archives let your readers connect with the people who publish the site</li><li>Automatically provision a new blog for each user who registers with the system</li><li>Built-in support for integrated spam fighting and optionally displaying a CAPTCHA for comments</li><li>Integrated email notifications -- let your readers know when a thread they're interested in has updated</li></ol><b><font style="font-size: 1.25em;">

The Most Powerful Management Tools Available</font></b>

<br /><br /><ol start="30"><li>A dramatically improved installation experience</li><li>Cross-blog management of entries, authors, comments, and community</li><li>Customizable, filterable RSS feeds for every management and listing screen in the application</li><li>Built-in diagnostic tools for system configuration information and troubleshooting</li><li>Blog cloning -- with one click, you can create a new blog that
inherits the styles, settings, templates, and configuration of any blog
in your system</li><li>Full Backup and Restore -- securely archives all your entries, comments, images, files, settings, and templates for safekeeping</li><li>Better import and export, with support for importing content all
previous versions of Movable Type as well as other popular blogging
platforms</li></ol><b><font style="font-size: 1.25em;">A Reinvigorated Community<br /><br /></font></b><ol start="37"><li> Create plugins without programming -- plain-text configuration files make it easier than ever to customize MT to your needs
</li><li> The world's largest single audience of shared templates and
themes -- the ability to reuse themes and templates from <a href="http://www.livejournal.com/">LiveJournal</a>,
<a href="http://www.vox.com/">Vox</a>, and <a href="http://www.typepad.com/">TypePad</a> lets MT developers create themes that work on over 15
million blogs, with support for the same styles in <a href="http://www.habariproject.org/en/">Habari</a> and <a href="http://www.drupal.org/">Drupal</a>
</li><li> A fully <a href="http://www.movabletype.org/opensource/">open-source GPL version of Movable Type</a>
</li><li> Powerful solution packs -- all the features you want, with no unnecessary complexity
</li><li> A reborn <a href="http://www.movabletype.org/">MovableType.org</a>, acting as a hub for the MT community
</li><li> A completely reinvented Movable Type Plugin directory, due to be released alongside MT4 -- MT
invented blogging plugins and had the <a href="http://www.sixapart.com/pronet/plugins">first plugin directory</a>, now you
can rate, rank, sort, search, and discover plugins, and learn more
about their creators
</li><li> Support for the open source infrastructure shared with other
Six Apart platforms, including <a href="http://www.movabletype.org/documentation/mt_and_memcached.html">Memcached support right out of the box</a>
</li><li> A public subversion repository for Movable Type, featuring nightly builds of fixes and improvements to the platform
</li><li> An all-new <a href="http://wiki.movabletype.org/">community wiki</a> that is just getting off the ground for capturing conversations and documentation for future reference by the community
</li><li> A single shared code base for all versions of Movable Type,
meaning personal users can benefit immediately from platform
improvements created for Enterprise users, or for other Six Apart
platforms
</li></ol>
        </div>





    </div>
</div>]]></description>
         <link>http://www.trucy.org/blog/archives/2007/08/movable_type_40.html</link>
         <guid>http://www.trucy.org/blog/archives/2007/08/movable_type_40.html</guid>
         <category>楚水历史</category>
         <pubDate>Thu, 16 08 2007 19:24:23 +0800</pubDate>
      </item>
      
      <item>
         <title>Upgrading Your MT3 Templates to Movable Type 4.0</title>
         <description><![CDATA[<div class="entry-body"><font style="font-size: 1em;"><b>大家请暂时不要升级，我们会在后台稳定后，想办法统一为大家升级，或者提供其他简便的升级方法。</b></font>
            <br /><p><br /></p><p>官方升级方法如下：<br /></p><p>Movable Type 4.0 has introduced
tons of new features including a completely re-envisioned templating
and archiving system to make blog publishing faster in addition to
making site wide design changes easier. </p>

<p>This document will give users an overview of some the enhancements
made to Movable Type's templates and help users update their templates
to take advantage of these features.</p>

<h2>What's New - an Overview</h2>

<p>Here is a list of just some of the new features and enhancements made to Movable Type 4.0's templates:</p>

<ul><li><strong>New archive types</strong> giving publishers a greater range of the types of archives they can create including a variety of category and author archives.</li><li><strong>Paginated archives</strong> allowing publishers to generate more page views, increase ad revenue and speed up publishing.</li><li><strong>Consolidated archive templates</strong> preventing
designers from needlessly editing multiple templates that are virtually
identical - now edits can happen in one template to affect archives
site-wide.</li><li><strong>Restructured default blog templates</strong> to easily affect the look and feel of their entire site (not just archives) by editing fewer templates.</li><li><strong>New widgets</strong> have been added to make blogs more dynamic and richer in content, such as a "Recently Uploaded Photos" widget and more.</li></ul>

<h3>New Archive Types</h3>

<p>Here is a list of the archive types available in Movable Type 4.0:</p>

<ul><li>Entry</li><li>Daily</li><li>Weekly</li><li>Monthly</li><li>Yearly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Author <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Author-Daily <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Author-Weekly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Author-Monthly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Author-Yearly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Category</li><li>Category-Daily <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Category-Weekly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Category-Monthly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Category-Yearly <img src="http://www.movabletype.org/images/new_icon.gif" /></li><li>Page <img src="http://www.movabletype.org/images/new_icon.gif" /></li></ul>

<h3>New Archive Templates</h3>

<p>To reduce the number of templates a designer would need to edit to affect changes to their archives, the <em>Date-Based Archive</em> and <em>Category Archive</em>
templates found in Movable Type 3.x, which had about 99% in common with
one another, have been merged into a single template named "Entry
Listing." </p>

<p>Here then are the three archive templates that new blogs are populated with in Movable Type 4.0:</p>

<ol><li><strong>Entry</strong> - default template for publishing an entry (previously <em>individual entry archive</em>)</li><li><strong>Entry Listing</strong> - default template for all archive lists of entries</li><li><strong>Page</strong> - default template for publishing a page (sister to Entry archive template)</li></ol>

<p>Archive templates are mapped to archive types to determine which
template publishes which archive type. Archive types are managed at the
bottom of each edit template screen.</p>

<h2>Upgrading Your Movable Type 3.x Templates</h2>

<p>The archive pagination that is introduced by Movable Type 4.0 has
shown to increase build times by at least 20%. So while Movable Type
4.0 may actually be publishing more (in regards to the number of
files), publishing time overall is decreased because the size of each
file being published is smaller.</p>

<p>Users who have upgraded from an earlier version of Movable Type can
take advantage of this enhancement by making a few changes to their
existing Movable Type 3.x templates.</p>

<h3>Paginate Your Category Archives</h3>

<p>The first thing to make the changes necessary to paginate your category archives.</p>

<ol><li>Navigate to the edit screen for your Date-Based Archive template.
At the bottom of the page click the "Create New Archive Mapping" button.</li><li>Select "Category Monthly" (or Daily, Weekly or Yearly)</li><li>Click the "Add" button</li></ol>

<h3>Edit Your Category Archive Template</h3>

<p>Now, let's reduce the number of entries that get displayed on your
Category Archive pages to decrease the time it takes to publish them.</p>

<ol><li>Edit your Category Archive template.</li><li>Look for the <code>&lt;MTEntries&gt;</code> tag found in that template and change it to <code>&lt;MTEntries limit="auto"&gt;</code> or <code>&lt;MTEntries limit="10"&gt;</code></li></ol>

<p>Setting <code>limit</code> to "auto" limits the output to the number
of entries or the number of days of entries specified as the Entry
Listing Default in Entry Settings. Specifing a specific number limits
the output to that number of entries. The <code>limit</code> modifier is only available in the context of an archive template.</p>

<h3>Link to Your New Archives</h3>

<p>Now that your category archives do not display the entire contents
for that category, you will need to provide links to the category
archives. The following code will produce an index of the various
months within the current category that have entries available:</p>

<pre><code>&lt;mt:ArchiveList archive_type="Category-Monthly"&gt;<br />  &lt;a href="&lt;mt:ArchiveLink /&gt;"&gt;&lt;mt:ArchiveTitle /&gt; (&lt;mt:ArchiveCount /&gt;)&lt;/a&gt;<br />&lt;/mt:ArchiveList&gt;<br /></code></pre>

<p>Place this code at bottom of your Category Archive template. An
advanced option would be to place this code in a conditioned block of
code in a sidebar template; find an example of this code in one of the
sidebar templates of the MT4 default blog templates.</p>

<h3>Create a Page Archive Template</h3>

<p>To take advantage of Movable Type's Pages feature, you will need to create a page archive template and mapping. </p>

<ol><li>Create a new archive template called "Page"</li><li>Copy the contents of the "Individual Entry Archive" template in to the new "Page" template</li><li>At the bottom of the template click the "Create New Archive Mapping" button.</li><li>Select "Page" and click "Add"</li><li dragover="true">Save the template</li><li dragover="true">Now when you create new pages, they will use this template.</li></ol>

<p>You can optionally use an <a href="http://www.movabletype.org/default_templates/3.3/page_archive.tmpl">adapted version of the Individual Archive Template</a> for your pages.</p>

<h2>For the Brave at Heart</h2>

<p>Though it may be time consuming... in order to take advantage of all
the new features, new archive types, new template tags, new widgets,
new template strucure and more... we highly recommend using the Movable
Type 4.0 default blog templates and re-implementing your site's design.</p>

<p dragover="true">Implementing your site's design using the new blog
templates will be much simpler than it was with MT3 blog templates due
to the restructured templates.</p>

        </div>]]></description>
         <link>http://www.trucy.org/blog/archives/2007/08/mt3eaaaeymt4.html</link>
         <guid>http://www.trucy.org/blog/archives/2007/08/mt3eaaaeymt4.html</guid>
         <category>楚水历史</category>
         <pubDate>Wed, 15 08 2007 14:42:40 +0800</pubDate>
      </item>
      
      <item>
         <title>blog save出错请看这里，谢谢！</title>
         <description><![CDATA[如果您保存文件出错，则需要手动修改一下模板，因为我们取消scode这个输入码回复的功能，更方便大家留言，后台采用了别的方法来防止作弊。这次模板变动比较大，请大家不用更新模板，我们会在稳定后统一给大家更新模板，谢谢！<br><br>进入方法：<br>进入后台 -&gt; Design菜单 -&gt; 打开Templates&nbsp; -&gt; 右侧打开Archieve Templates -&gt; 打开 Individual Entry Archive<br><br>查找下面的代码：<br><br><blockquote>1,<br>&lt;p&gt;&lt;MTSCodeInsert&gt;&lt;/MTSCodeInsert&gt;&lt;/p&gt;<br></blockquote>&nbsp;&nbsp;&nbsp;&nbsp; <blockquote>2,<br>&lt;!-- Security Code Check --&gt;<br>&lt;label for="scode"&gt;Security Code:&lt;/label&gt;&lt;br /&gt; <br>&lt;input type="hidden" id="code" name="code" <br>value="&lt;$MTSecurityCode$&gt;" /&gt;<br>&lt;img border="0" src="&lt;$MTCGIPath$&gt;&lt;$MTSecurityImage$&gt;?<br>code=&lt;$MTSecurityCode$&gt;"&gt;&lt;br /&gt;<br>&lt;input tabindex=3 id="scode" name="scode" /&gt;&lt;br /&gt;&lt;br /&gt;<br>&lt;!-- end of Security Code Check --&gt;</blockquote><br><br>您的模板可能含有以上一种代码，请您手动删除，重新编辑帖子即可发帖成功，如果您有其他问题，请到论坛或者直接和我们联系，谢谢！<br>]]></description>
         <link>http://www.trucy.org/blog/archives/2007/07/blog-saveoiceoa.html</link>
         <guid>http://www.trucy.org/blog/archives/2007/07/blog-saveoiceoa.html</guid>
         <category>其他杂记</category>
         <pubDate>Tue, 31 07 2007 17:55:11 +0800</pubDate>
      </item>
      
      <item>
         <title>楚水邮局</title>
         <description><![CDATA[<p>基于Gmail的信任，我认为我们可以给大家提供邮箱服务了，因为我们的服务没有特殊原因会一直为大家提供，所以可以认为是永久服务，如果有意外发生，我们也会提前和大家沟通，让大家保存所有信息。  </p><p>采用了google提供的domains服务，可以为大家提供YourName@Trucy.Org的邮箱服务了。该帐户信息也可以享受google提供的其他服务内容：譬如gtalk，日历等服务，而且一般的gmail相关的插件都可以很方便的使用，pop3，smtp和gmail一样可以配置使用。  </p><p>如果大家有兴趣请到论坛发帖提出需求，或给我们邮件：admin@trucy.org </p><p>譬如： </p><p>&nbsp;&nbsp;&nbsp; 我想要的邮箱名：cyril@trucy.org </p><p>&nbsp;&nbsp;&nbsp; 我想设置的密码是：****** *&nbsp; (自然只能<strong>信件</strong>中使用；发帖的请求，我们会设置一个默认密码，并邮件通知你)。</p><p>&nbsp;邮局登录地址： </p><p><a href="http://gmail.trucy.org">http://gmail.trucy.org</a>  </p><p>或</p><p> <a href="https://www.google.com/a/trucy.org/">https://www.google.com/a/trucy.org/</a></p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/12/eeoeoe_1.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/12/eeoeoe_1.html</guid>
         <category>楚水历史</category>
         <pubDate>Tue, 12 12 2006 21:40:04 +0800</pubDate>
      </item>
      
      <item>
         <title>Pro*c编程</title>
         <description><![CDATA[<p>&nbsp;&nbsp;&nbsp; PROC是ORACLE数据库提供的编程接口之一，其应用十分的广泛，本文通过一个具体的例子，介绍PROC编程的一些经验及应注意的地方。<br />　　<br />　　例子程序：<br />　　#include &lt;stdio.h&gt;<br />　　#include &lt;string.h&gt;<br />　　#include &lt;stdlib.h&gt;<br />　　#include &lt;sqlda.h&gt;<br />　　#include &lt;sqlcpr.h&gt;<br />　　<br />　　EXEC SQL INCLUDE sqlca;<br />　　/*RELEASE_CURSOR=YES 使PROC 在执行完后释放与嵌入SQL有关资源*/<br />　　EXEC ORACLE OPTION (RELEASE_CURSOR = YES);<br />　　<br />　　EXEC SQL BEGIN DECLARE SECTION;<br />　　varchar vc_user[20];<br />　　long al_empno=0;<br />　　char ac_ename[11]=&quot;&quot;;<br />　　char ac_hiredate[20]=&quot;&quot;;<br />　　double af_sal=0;<br />　　<br />　　EXEC SQL VAR ac_ename IS STRING(11);<br />　　EXEC SQL VAR ac_hiredate IS STRING(20);<br />　　<br />　　EXEC SQL END DECLARE SECTION;<br />　　<br />　　/*错误处理函数*/<br />　　void sql_error(char *msg)<br />　　{<br />　　printf(&quot;\n%s,%ld,%s\n&quot;, msg,sqlca.sqlcode,(char *)sqlca.sqlerrm.sqlerrmc);<br />　　EXEC SQL ROLLBACK RELEASE;<br />　　exit(-1);<br />　　}<br />　　<br />　　main()<br />　　{<br />　　EXEC SQL WHENEVER SQLERROR DO sql_error(&quot;ORACLE ERROR: &quot;);<br />　　<br />　　/*连接数据库*/<br />　　strcpy(vc_user.arr,&quot;<a href="mailto:scott/tiger@DEMO">scott/tiger@DEMO</a>&quot;);<br />　　vc_user.len=16;<br />　　exec sql connect :vc_user;<br />　　<br />　　EXEC SQL DECLARE cur_emp CURSOR FOR<br />　　SELECT EMPNO, ENAME,to_char(HIREDATE,'yyyy/mm/dd hh24:mi:ss'),SAL FROM EMP;<br />　　<br />　　EXEC SQL OPEN cur_emp;<br />　　while(1)<br />　　{<br />　　al_empno=0;<br />　　strcpy(ac_ename,&quot;&quot;);<br />　　strcpy(ac_hiredate,&quot;&quot;);<br />　　af_sal=0;<br />　　EXEC SQL FETCH cur_emp INTO :al_empno, :ac_ename:ename_ind,<br /> :ac_hiredate:hiredate_ind, :af_sal:sal_ind;<br />　　if( sqlca.sqlcode == 1403)<br />　　{<br />　　break;<br />　　}<br />　　printf(&quot;empno=%ld,ename=%s,hiredate=%s,<br />sal=%lf\n&quot;,al_empno,ac_ename,ac_hiredate,af_sal);<br />　　}<br />　　EXEC SQL CLOSE cur_emp;<br />　　EXEC SQL ROLLBACK WORK RELEASE;<br />　　}<br />　　<br /></p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/08/procuaee.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/08/procuaee.html</guid>
         <category>技术文档</category>
         <pubDate>Tue, 22 08 2006 15:17:54 +0800</pubDate>
      </item>
      
      <item>
         <title>毕业回首</title>
         <description><![CDATA[<p class="style7" style="word-break: break-all">读书的日子对我来说是如此漫长!从1985年的9月到现在2006年的6月，这差不多21年来，我都在读书！古人曾经曰过：十年寒窗苦。对我来说，这可是二十年寒窗苦啊。其实，仔细想想，这多年来也不见得有多苦，倒是老爸老妈辛苦阿。<br /><br />遥想21年前，说实在的，其实也不记得什么了。只不过入学面试那天背诵的《卖炭翁》和《木兰辞》如今已然忘却，只记得当时却技惊四座，连校长都为之感叹：小小年纪，不简单啊！呵呵，现在想来，自己都觉得不可思议。<br /><br />转眼就匆匆六年过去，上了初中。那时候，读的学校不是重点中学，班级也不是重点班级，但我们班在黑道上很是有名。记得有一次，我们班一个男生被人拦路打劫，当他说出他是我们班的之后，那些个打劫的居然乖乖的双手把钱奉上，还请他大人不要记小人过。人说：近朱者赤，近墨者黑。我在这班里凭着每次考试都入前五，就变得骄傲，不可一世。<br /><br />风光无限的初中之后，我考入了重点高中。高中，那简直就是大海，任凭如何坚硬的石头都会被磨得圆润，光滑。在高中，我学会了把不会做的题目丢在一边，学会了虚心向别人请教问题，学会了有很多事情即使自己再努力，也有可能不成功的道理。在接连的挫折之后，我以比平时低大约50分左右的成绩考入了大学。<br /><br />幸亏比较好命，虽然当初考上的不是名牌大学，但在经历大学合并之后，我的大学居然变成了浙江大学，传说中的名校。虽然没有清华北大的有名，但也是不错了。本科的四年被一个政治老师归纳为四句话：大一时不知道自己不知道，大二时知道自己不知道，大三时不知道自己知道，大四时知道自己知道。如今想来果然如此。<br /><br />不知不觉地就读了硕士，在硕士还没毕业的时候就转了博士，呵呵，成了一般人眼中的第三类人。以前，我觉得&ldquo;博士&rdquo;是多么让人敬仰的人啊，如此高不可攀！可如今，我才发现，博士也没什么了不起的，反正一个字混，两个字混混。只不过听上去很牛就是了。这年头，听上去很牛的，又有几个是真的很牛的呢？当然，也有牛的，只不过多乎哉，不多也。<br /><br />读了这多年的书，别的不多，同学多。同学是我最可宝贵的财富！如果没有他们，我想我一定不会如现在这般快乐。小学，初中，高中，本科，硕士，博士，都有我的知心好友。和他们一起的岁月，让我不觉得学习的烦闷，不觉得读书的孤寂。<br /><br />读书的日子就要结束了，即将踏上工作岗位，我充满期待。 </p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/06/ieooee_1.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/06/ieooee_1.html</guid>
         <category>其他杂记</category>
         <pubDate>Wed, 21 06 2006 14:50:43 +0800</pubDate>
      </item>
      
      <item>
         <title>正则表达式系统教程(转)</title>
         <description><![CDATA[<strong>前言<br /><br /></strong>　　正则表达式是烦琐的，但是强大的，学会之后的应用会让你除了提高效率外，会给你带来绝对的成就感。只要认真去阅读这些资料，加上应用的时候进行一定的参考，掌握正则表达式不是问题。]]></description>
         <link>http://www.trucy.org/blog/archives/2006/06/oooiieeieiii.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/06/oooiieeieiii.html</guid>
         <category>技术文档</category>
         <pubDate>Fri, 16 06 2006 00:05:15 +0800</pubDate>
      </item>
      
      <item>
         <title>关于mt升级后，无法生成javascript的问题</title>
         <description><![CDATA[<p><a href="http://www.sixapart.com/movabletype/kb/entries/javascript_erro.html">Javascript Errors on Individual Entry Archives</a><br />
<strong>Question</strong></p>

<p>I upgraded to 3.2 and updated my Individual Entry Archive template to use the latest default; but I'm getting Javascript errors when viewing those pages and/or there is no comment posting form or sign-in link for TypeKey commenters.<br />
<strong>Answer</strong></p>

<p>If you're seeing Javascript errors which say individualArchivesOnLoad is not defined and/or writeTypeKeyGreeting is not defined, then this means Movable Type cannot find the mt-site.js file. This is a new file introduced in version 3.2 which contains all of the Javascript used for commenting, and is generated from the Site Javascript Index Template.</p>

<p>See Creating The Site Javascript Template so you can generate this file for your weblog and eliminate the Javascript errors.</p>

<p><a href="http://www.sixapart.com/movabletype/kb/upgrading/creating_the_si.html">Creating the Site Javascript Template</a><br />
<strong>Question</strong></p>

<p>How do I create the new "Site Javascript" template after upgrading to version 3.2?<br />
<strong>Answer</strong></p>

<p>There are two basic ways to create this template.</p>

<p>You can go to System Overview > Weblogs, choose your weblog, and then select Refresh Template(s). This this will revert all relevant templates in the weblog to the defaults, and also create a Site JavaScript template in that weblog for you.</p>

<p>OR</p>

<p>You can take the following steps to create only this template with the correct default code:</p>

<p>1. In your weblog, on the Templates > Indexes tab, select Create New Index Template.<br />
2. Specify Site JavaScript1 as the Template Name, and mt-site.js as the Output File.<br />
3. Make sure that "Rebuild this template automatically when rebuilding index templates" is checked, and then click SAVE.<br />
4. Click Templates in either the left sidebar or the breadcrumbs menu to return to the Templates listing.<br />
5. Select the new Site JavaScript template you just created.<br />
6. Select Refresh Template(s) from the More Actions dropdown menu, and click GO.</p>

<p>This will create a new Site JavaScript template with the default code, as well as a "backup" template which can just be deleted (since it will be empty).</p>

<p>After creating this new template, you'll need to rebuild it to generate the mt-site.js file in your blog path. </p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/05/oeoumteoieuejav.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/05/oeoumteoieuejav.html</guid>
         <category>技术文档</category>
         <pubDate>Fri, 12 05 2006 00:37:43 +0800</pubDate>
      </item>
      
      <item>
         <title>免费计数器和公益广告代码</title>
         <description><![CDATA[<p>推荐需要计数器的朋友到：<br />
<a href="http://www.statcounter.com">http://www.statcounter.com</a><br />
申请该站提供的免费计数器。</p>

<p>另外本站的免费公益广告也欢迎大家放置，虽然本站为非盈利的个人站点，但不反对大家在自己的blog上放置google ads这样的广告。大家可以按自己的喜好和兴趣设定。</p>

<p>本站的免费公益代码如下：(前一段时间该代码曾经失效，目前已经恢复正常了)</p>

<blockquote>
&lt;script language='JavaScript' type='text/javascript' src='http://www.trucy.org/link/adx.js'&gt;&lt;/script&gt;<br>
&lt;script language='JavaScript' type='text/javascript'&gt;<br>
&lt;!--<br>
   if (!document.phpAds_used) document.phpAds_used = ',';<br>
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);<br>
   
   document.write ("&lt;" + "script language='JavaScript' type='text/javascript' src='");<br>
   document.write ("http://www.trucy.org/link/adjs.php?n=" + phpAds_random);<br>
   document.write ("&amp;exclude=" + document.phpAds_used);<br>
   if (document.referrer)<br>
      document.write ("&amp;referer=" + escape(document.referrer));<br>
   document.write ("'&gt;&lt;" + "/script&gt;");<br>
//--&gt;<br>
&lt;/script&gt;&lt;noscript&gt;&lt;a href='http://www.trucy.org/link/adclick.php?n=afe93307' target='_blank'&gt;&lt;img src='http://www.trucy.org/link/adview.php?n=afe93307' border='0' alt=''&gt;&lt;/a&gt;&lt;/noscript&gt;<br>
</blockquote>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/04/aaneioauaee.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/04/aaneioauaee.html</guid>
         <category>楚水历史</category>
         <pubDate>Fri, 14 04 2006 23:49:36 +0800</pubDate>
      </item>
      
      <item>
         <title>后台本次更新说明</title>
         <description><![CDATA[<p>主要更新了mt后台到3.2版:</p>

<p>添加google 网站分析代码到各个主要模板。</p>

<p>添加scode到相应模板。</p>

<p>增加wysiwyg编辑器插件。</p>

<p>采用插件支持楚水首页自动更新，取消了修改源码的做法，便于调整。</p>

<p>我们会在以后多为大家尽力提供更多的模板。</p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/04/oiiueaeea.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/04/oiiueaeea.html</guid>
         <category>楚水历史</category>
         <pubDate>Thu, 06 04 2006 18:36:44 +0800</pubDate>
      </item>
      
      <item>
         <title>更新模板说明</title>
         <description><![CDATA[<p>模板操作下方会有：“Select a Design using StyleCatcher”字样。打开即可查看和选择式样。</p>

<p>使用该插件的blog示范：</p>

<p><a href="http://www.trucy.org/blog/">http://www.trucy.org/blog/</a></p>

<p>使用方法：先打开Templates，把各类模板通过more actions进行refresh操作，更新到mt3.2的默认模板，这样就可以通过上方的插件选择您的显示风格了。原来的模板会得到自动备份。</p>

<p>然后进入模板，下方会有：“Select a Design using StyleCatcher”字样。打开可以选择您所喜欢的模板。</p>

<p>然后进入您的后台，Settings-->>Plugins-->>Scode的Show Settings 打开scode功能即可。</p>

<p>如果没有scode，你的读者留言将直接进入垃圾留言中，您可以查看修正。（更新为直接过滤掉，为了减少服务器的数据库访问压力）</p>

<p>然后重建所有网页，即可更新。</p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/04/ceeueascodeuaee.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/04/ceeueascodeuaee.html</guid>
         <category>其他杂记</category>
         <pubDate>Thu, 06 04 2006 16:30:18 +0800</pubDate>
      </item>
      
      <item>
         <title>mt升级到3.2的一个问题</title>
         <description><![CDATA[<p>mt3.2直接上传准备更新，但是主程序无法运行，提示如下：<br />
<blockquote>The specified CGI application misbehaved by not returning a complete set of HTTP headers.</blockquote><br />
但是mt-check.cgi执行无误。</p>

<p>iis的问题，直接修改各个程序，把lib调用写成绝对路径即可。</p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/03/mte32aeooeieia.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/03/mte32aeooeieia.html</guid>
         <category>楚水历史</category>
         <pubDate>Sat, 25 03 2006 05:14:56 +0800</pubDate>
      </item>
      
      <item>
         <title>如何在发贴的时候自动更新索引页面</title>
         <description><![CDATA[<p>应胖子的要求，每个用户发布blog的时候，楚水网站的相应索引页面需要自动进行相应的更新。</p>

<blockquote>$app-&gt;rebuild_indexes( BlogID =&gt; $special_blog_id ) or return;</blockquote>

<p>在mt适当的流程中添加这样一句即可，暂时放在了CMS.pm中，省去了mt-rebuild类似的插件。</p>]]></description>
         <link>http://www.trucy.org/blog/archives/2006/02/ecuouiuaeeoouea.html</link>
         <guid>http://www.trucy.org/blog/archives/2006/02/ecuouiuaeeoouea.html</guid>
         <category>楚水历史</category>
         <pubDate>Mon, 20 02 2006 07:19:58 +0800</pubDate>
      </item>
      
      <item>
         <title>Http://www.google.com/analytics/</title>
         <description><![CDATA[<p>为楚水做了访问记录，大家如果有需要，请拷贝下面代码：</p>

<blockquote>
&lt;script src="http://www.trucy.org/urchin.js" type="text/javascript"&gt;<br>
&lt;/script&gt;<br>
&lt;script type="text/javascript"&gt;<br>
_uacct = "UA-103566-1";<br>
urchinTracker();<br>
&lt;/script&gt;
</blockquote>

<p><br />
将代码输入到所有你要监测的网页中，位于 &lt;head&gt; 和 &lt;/head&gt; 标记之间，以及该段的所有 &lt;meta&gt; 标记之后。blog一般直接使用模板修改则可。</p>

<p>楚水相关网页都已经加上了该代码，包括论坛提供的blog服务，另外独立的blog用户请自行按上述方式操作。</p>

<p><br />
大家可以查看谁来访问了自己的网页，从哪儿来的等统计信息和详细信息，具体功能由google提供，大家需要，请按上面的操作，然后查看结果请和<a href="mailto:sunshaoxuan@gmail.com">胖子</a>联络 ：）</p>]]></description>
         <link>http://www.trucy.org/blog/archives/2005/12/httpwwwgoogleco.html</link>
         <guid>http://www.trucy.org/blog/archives/2005/12/httpwwwgoogleco.html</guid>
         <category>楚水历史</category>
         <pubDate>Thu, 01 12 2005 10:12:41 +0800</pubDate>
      </item>
      
   </channel>
</rss>
