<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>robertbao.com</title>
	
	<link>http://www.robertbao.com</link>
	<description>Program, Internet, Record, Pastime...</description>
	<pubDate>Sun, 21 Sep 2008 08:49:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><image><link>http://www.b9527.net</link><url>http://www.b9527.net/i/l/b9527site.png</url><title>&amp;#32769;&amp;#24247;&amp;#20043;&amp;#23478;</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/robertb9527" type="application/rss+xml" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>中国加油！</title>
		<link>http://feedproxy.google.com/~r/robertb9527/~3/dNLuy7gDpkE/1145</link>
		<comments>http://www.robertbao.com/archives/1145#comments</comments>
		<pubDate>Sat, 24 May 2008 15:59:47 +0000</pubDate>
		<dc:creator>robertbao</dc:creator>
		
		<category><![CDATA[Record]]></category>

		<guid isPermaLink="false">http://www.robertbao.com/?page_id=1145</guid>
		<description><![CDATA[
随机文章

2005-10-07 &#8212; 十一假期结束 (2)
2005-06-09 &#8212; Java内容仓库API(JSR-170) (9)
2006-01-02 &#8212; 用 CSS 实现的特效&#8211;滚动图片 (0)
2004-01-20 &#8212; 世界上最早的100个域名 (0)
2005-12-16 &#8212; Tim O&... ]]></description>
			<content:encoded><![CDATA[<p><img title="地震不足畏" src="i/xuan18.jpg" border="0" /></p>
<h3>随机文章</h3>
<ul class="related_post">
<li>2005-05-24 &#8212; <a href="http://www.robertbao.com/archives/237" title="这两天在看《豪杰春香》">这两天在看《豪杰春香》 (19)</a></li>
<li>2005-03-03 &#8212; <a href="http://www.robertbao.com/archives/435" title="需要Orkut邀请在这里留言">需要Orkut邀请在这里留言 (214)</a></li>
<li>2006-03-31 &#8212; <a href="http://www.robertbao.com/archives/1023" title="百度发布互联网新闻开放协议">百度发布互联网新闻开放协议 (2)</a></li>
<li>2005-06-06 &#8212; <a href="http://www.robertbao.com/archives/526" title="“老康之家”荣登老康排行榜第一位！">“老康之家”荣登老康排行榜第一位！ (19)</a></li>
<li>2005-08-06 &#8212; <a href="http://www.robertbao.com/archives/738" title="百度昨夜登陆纳市">百度昨夜登陆纳市 (0)</a></li>
<li>2005-09-03 &#8212; <a href="http://www.robertbao.com/archives/796" title="Yahoo！推出域名注册优惠">Yahoo！推出域名注册优惠 (1)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/robertb9527/~4/dNLuy7gDpkE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.robertbao.com/archives/1145/feed</wfw:commentRss>
		<feedburner:origLink>http://www.robertbao.com/archives/1145</feedburner:origLink></item>
		<item>
		<title>drupal向wp的移植过程</title>
		<link>http://feedproxy.google.com/~r/robertb9527/~3/y1foIGIk88Q/1153</link>
		<comments>http://www.robertbao.com/archives/1153#comments</comments>
		<pubDate>Sat, 24 May 2008 00:37:00 +0000</pubDate>
		<dc:creator>robertbao</dc:creator>
		
		<category><![CDATA[Program]]></category>

		<guid isPermaLink="false">http://www.robertbao.com/?p=1153</guid>
		<description><![CDATA[1、wp的表结构比drupal简单多了，要移植的主要就是四张表，
分类表wp_categories：
insert into wp_categories (cat_id, cat_name, category_nicename, category_description, category_parent) select term_data.tid, name, name, description,... ]]></description>
			<content:encoded><![CDATA[<p>1、wp的表结构比drupal简单多了，要移植的主要就是四张表，</p>
<p>分类表wp_categories：</p>
<p><code lang="mysql">insert into <br/>wp_categories (cat_id, cat_name, category_nicename, category_description, category_parent) <br/>select term_data.tid, name, name, description, parent <br/>from term_data, term_hierarchy <br/>where term_data.tid=term_hierarchy.tid;</code></p>
<p><code>update wp_categories <br/>set category_count = (select count(post_id) <br/>from wp_post2cat <br/>where wp_categories.cat_id = wp_post2cat.category_id);</code></p>
<p>文章表wp_posts：</p>
<p><code>insert into <br/>wp_posts (id, post_date, post_content, post_title, post_excerpt, post_name, post_modified) <br/>select distinct n.nid, from_unixtime(created), body, n.title, teaser, <br/>replace(replace(replace(replace(lower(n.title),&#8217; &#8216;, &#8216;_&#8217;),&#8217;.', &#8216;_&#8217;),&#8217;,', &#8216;_&#8217;),&#8217;+', &#8216;_&#8217;), from_unixtime(changed) <br/>from node n, node_revisions r <br/>where n.vid = r.vid;</code></p>
<p><code>update wp_posts set post_name = replace(post_name, '_', '-');</code></p>
<p>文章分类关系表wp_post2cat：</p>
<p><code>insert into <br/>wp_post2cat (post_id,category_id) <br/>select nid,tid <br/>from term_node ;</code></p>
<p>评论表wp_comments：</p>
<p><code>insert into <br/>wp_comments(comment_post_id, comment_date, comment_content, comment_parent, comment_author, comment_author_email, comment_author_url) <br/>select nid, from_unixtime(timestamp), comment, thread, name, mail, homepage <br/>from comments ;</code></p>
<p><code>update wp_posts <br/>set comment_count = (select count(comment_post_id) from wp_comments where wp_posts.id = wp_comments.comment_post_id);</code></p>
<p>2、移植过程中一些问题的修正，</p>
<p>分类表中文章数：</p>
<p><code>update wp_categories set category_count =84 where cat_id=1; <br/>update wp_categories set category_count =205 where cat_id=5; <br/>update wp_categories set category_count =142 where cat_id=6; <br/>update wp_categories set category_count =274 where cat_id=11;</code></p>
<p>参数表：</p>
<p><code>update wp_options set option_value='http://www.robertbao.com' where option_id=40 or option_id=1;</code></p>
<p>3、三个post转为page，并将post调整从1149开始继续计数，</p>
<p><code>alter table wp_posts auto_increment = 1149;</code></p>
<p><code>delete from wp_post_counter_time where post_id&gt;='9527'; <br/>delete from wp_post_counter where post_id&gt;=&#8217;9527&#8242;; <br/>delete from wp_postmeta where post_id&gt;=&#8217;9527&#8242;;</code></p>
<p><code>delete from wp_posts where id='1'; <br/>delete from wp_posts where id=&#8217;2&#8242;; <br/>delete from wp_posts where id=&#8217;3&#8242;;</code></p>
<p><code>update wp_posts set id='1',guid ='http://www.robertbao.com/?page_id=1' where id='1151'; <br/>update wp_posts set id=&#8217;2&#8242;,guid =&#8217;http://www.robertbao.com/?page_id=2&#8242; where id=&#8217;1150&#8242;; <br/>update wp_posts set id=&#8217;3&#8242;,guid =&#8217;http://www.robertbao.com/?page_id=3&#8242; where id=&#8217;1149&#8242;;</code></p>
<h3>随机文章</h3>
<ul class="related_post">
<li>2005-03-02 &#8212; <a href="http://www.robertbao.com/archives/20" title="索爱首款Walkman手机发布">索爱首款Walkman手机发布 (3)</a></li>
<li>2007-01-09 &#8212; <a href="http://www.robertbao.com/archives/1109" title="今日吉日">今日吉日 (1)</a></li>
<li>2004-07-21 &#8212; <a href="http://www.robertbao.com/archives/41" title="2004世界五百强企业">2004世界五百强企业 (1)</a></li>
<li>2005-06-19 &#8212; <a href="http://www.robertbao.com/archives/564" title="基于gmail的blog">基于gmail的blog (4)</a></li>
<li>2005-08-01 &#8212; <a href="http://www.robertbao.com/archives/723" title="Hotmail邮箱扩容今天自动升级">Hotmail邮箱扩容今天自动升级 (0)</a></li>
<li>2005-06-20 &#8212; <a href="http://www.robertbao.com/archives/568" title="圆角矩形的表示">圆角矩形的表示 (4)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/robertb9527/~4/y1foIGIk88Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.robertbao.com/archives/1153/feed</wfw:commentRss>
		<feedburner:origLink>http://www.robertbao.com/archives/1153</feedburner:origLink></item>
		<item>
		<title>drupal升级记录</title>
		<link>http://feedproxy.google.com/~r/robertb9527/~3/GWDqzEGOsgI/1152</link>
		<comments>http://www.robertbao.com/archives/1152#comments</comments>
		<pubDate>Fri, 23 May 2008 23:22:00 +0000</pubDate>
		<dc:creator>robertbao</dc:creator>
		
		<category><![CDATA[Record]]></category>

		<guid isPermaLink="false">http://www.robertbao.com/?p=1152</guid>
		<description><![CDATA[1、drupal： 备份数据库，备份ftp文件
2、theme： 保存themes/b9527 注意：engines中phptemplate升级
themes/b9527/node.tpl.php中删除原来添加的flexiblock：
&#60;?php $blocks = theme(&#8217;flexiblock_blocks&#8217;, 1); ?&#62; &#60... ]]></description>
			<content:encoded><![CDATA[<p>1、drupal： <br/>备份数据库，备份ftp文件</p>
<p>2、theme： <br/>保存themes/b9527 <br/>注意：engines中phptemplate升级</p>
<p>themes/b9527/node.tpl.php中删除原来添加的flexiblock：</p>
<p>&lt;?php $blocks = theme(&#8217;flexiblock_blocks&#8217;, 1); ?&gt; <br/>&lt;?php foreach ( $blocks as $block ) { ?&gt; <br/>&lt;?php echo $block['content'] ?&gt; <br/>&lt;?php } ?&gt;</p>
<p>themes/b9527/node.tpl.php第二行删除：</p>
<p>&lt;?php if ($picture) { <br/>print $picture; <br/>}?&gt;</p>
<p>3、module： <br/>tinymce× <br/>trackback× <br/>poormanscron <br/>spam <br/>glossary× <br/>flexiblock× <br/>nodewords× <br/>sitemenu× <br/>interwiki× <br/>comment_info</p>
<p>4、index.php最后加入bbclone统计代码</p>
<p>5、注释掉blog.module中blog_link函数的主要内容，不显示单篇blog下的链接</p>
<p>6、comment模块中 <br/>function _comment_per_page() {} <br/>评论数从300改为900</p>
<p>7、用自己的favicon.ico替换/misc/favicon.ico</p>
<p>8、设置中文件系统路径files改为i</p>
<h3>随机文章</h3>
<ul class="related_post">
<li>2005-09-05 &#8212; <a href="http://www.robertbao.com/archives/802" title="再整理一下网站">再整理一下网站 (14)</a></li>
<li>2005-05-11 &#8212; <a href="http://www.robertbao.com/archives/152" title="Alexa被攻击了？">Alexa被攻击了？ (1)</a></li>
<li>2005-08-20 &#8212; <a href="http://www.robertbao.com/archives/770" title="2005《财富》全球500强出炉">2005《财富》全球500强出炉 (1)</a></li>
<li>2006-04-01 &#8212; <a href="http://www.robertbao.com/archives/998" title="人间四月芳菲尽">人间四月芳菲尽 (2)</a></li>
<li>2006-04-12 &#8212; <a href="http://www.robertbao.com/archives/1038" title="Foxmail6.0 Beta3下载">Foxmail6.0 Beta3下载 (15)</a></li>
<li>2005-05-12 &#8212; <a href="http://www.robertbao.com/archives/165" title="老康之家 blog 宗旨">老康之家 blog 宗旨 (3)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/robertb9527/~4/GWDqzEGOsgI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.robertbao.com/archives/1152/feed</wfw:commentRss>
		<feedburner:origLink>http://www.robertbao.com/archives/1152</feedburner:origLink></item>
		<item>
		<title>上来看看</title>
		<link>http://feedproxy.google.com/~r/robertb9527/~3/nvkxCfRdZAI/1144</link>
		<comments>http://www.robertbao.com/archives/1144#comments</comments>
		<pubDate>Thu, 22 May 2008 15:58:42 +0000</pubDate>
		<dc:creator>robertbao</dc:creator>
		
		<category><![CDATA[Record]]></category>

		<guid isPermaLink="false">http://www.robertbao.com/?page_id=1144</guid>
		<description><![CDATA[真是时光似箭，转眼都一年没上来写点啥了&#8230;
随机文章

2005-10-17 &#8212; IBM向Eclipse基金会捐献部分RUP代码 (0)
2004-06-22 &#8212; 停靠在八楼的2路汽车!!! (0)
2005-04-09 &#8212; 最新TIOBE2005年4月程序语言... ]]></description>
			<content:encoded><![CDATA[<p>真是时光似箭，转眼都一年没上来写点啥了&#8230;</p>
<h3>随机文章</h3>
<ul class="related_post">
<li>2005-05-18 &#8212; <a href="http://www.robertbao.com/archives/170" title="珊瑚虫4.0下周开始内测">珊瑚虫4.0下周开始内测 (1)</a></li>
<li>2005-08-29 &#8212; <a href="http://www.robertbao.com/archives/789" title="在Eclipse中显示JVM当前内存使用量">在Eclipse中显示JVM当前内存使用量 (5)</a></li>
<li>2005-12-24 &#8212; <a href="http://www.robertbao.com/archives/953" title="Merry Christmas！">Merry Christmas！ (9)</a></li>
<li>2005-06-17 &#8212; <a href="http://www.robertbao.com/archives/555" title="好像快了？">好像快了？ (5)</a></li>
<li>2005-03-25 &#8212; <a href="http://www.robertbao.com/archives/73" title="我还就是有反日情绪！">我还就是有反日情绪！ (1)</a></li>
<li>2005-04-15 &#8212; <a href="http://www.robertbao.com/archives/113" title="近来萧蔷很活跃呀">近来萧蔷很活跃呀 (3)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/robertb9527/~4/nvkxCfRdZAI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.robertbao.com/archives/1144/feed</wfw:commentRss>
		<feedburner:origLink>http://www.robertbao.com/archives/1144</feedburner:origLink></item>
		<item>
		<title>Word 2007 中的书法字帖</title>
		<link>http://feedproxy.google.com/~r/robertb9527/~3/r_WpYdq5pTQ/1140</link>
		<comments>http://www.robertbao.com/archives/1140#comments</comments>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<dc:creator>robertbao</dc:creator>
		
		<category><![CDATA[Pastime]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[<p><img src="http://www.b9527.net/i/shufa_tn.jpg" style="DISPLAY: inline; WIDTH: 467px; HEIGHT: 295px" title="shufa.jpg" height="295" width="467" alt="shufa.jpg" id="urn:zoundry:jid:shufa.jpg"/></p>
<p>看到上面的书法字体了吗，太帅了，可... ]]></description>
			<content:encoded><![CDATA[<p><img id="urn:zoundry:jid:shufa.jpg" style="display: inline; width: 467px; height: 295px" title="shufa.jpg" src="i/shufa_tn.jpg" alt="shufa.jpg" width="467" height="295" /></p>
<p>看到上面的书法字体了吗，很帅吧，可别以为是我写的，我现在都不知道笔咋握了~~~</p>
<p>上面的字其实都是用 Word 2007 中的&#8221;书法字帖&#8221;功能写出来的，这项功能可以灵活地创建字帖文档，自定义字帖中的字体颜色、网格样式、文字方向等，然后将它们打印出来，就像小时候练字的字帖一样了。</p>
<p>具体创建过程很简单：</p>
<p>1、在&#8221;新建文档&#8221;对话框中选择&#8221;书法字帖&#8221;；</p>
<p>2、在&#8221;书法&#8221;选项卡中点击&#8221;增减字符&#8221;，在&#8221;书法字体&#8221;包含的11种类型列表中，选择要使用的字体类型；</p>
<p>3、单击&#8221;关闭&#8221;按钮，选择的字符就会添加到文档中，同时打开&#8221;书法&#8221;工具栏，可以进行各种颜色、样式方面的调整。</p>
<p>同时还可以选择&#8221;网格样式&#8221;，包括了常见的米字格、田字格等(怎么没有回宫格，hehe)，这样打印出来，就可以像字帖一样进行书法练习了。</p>
<p><img id="urn:zoundry:jid:style.jpg" style="display: inline; width: 105px; height: 346px" title="style.jpg" src="i/style_tn.jpg" alt="style.jpg" width="105" height="346" /></p>
<p><strong>PS：</strong>只是现在每种字体的字库数量还比较少，数量最多的汉仪赵楷繁，也不过才2010个字，甚至比不上老徐的6000多字，这样就会有很多常用字找不到，期待 Word 以后的完善吧&#8230;<br />
<h3>随机文章</h3>
<ul class="related_post">
<li>2005-09-05 &#8212; <a href="http://www.robertbao.com/archives/805" title="下载：千千静听4.5.3版">下载：千千静听4.5.3版 (3)</a></li>
<li>2007-01-10 &#8212; <a href="http://www.robertbao.com/archives/1117" title="Google Earth 4正式版推出">Google Earth 4正式版推出 (1)</a></li>
<li>2006-03-27 &#8212; <a href="http://www.robertbao.com/archives/981" title="Google Adsense高价关键词">Google Adsense高价关键词 (3)</a></li>
<li>2005-09-08 &#8212; <a href="http://www.robertbao.com/archives/813" title="Eclipse网站新界面方案结果">Eclipse网站新界面方案结果 (3)</a></li>
<li>2006-03-23 &#8212; <a href="http://www.robertbao.com/archives/1044" title="一个国外的免费大全站点">一个国外的免费大全站点 (1)</a></li>
<li>2005-11-30 &#8212; <a href="http://www.robertbao.com/archives/915" title="Firefox1.5中文正式版出炉">Firefox1.5中文正式版出炉 (6)</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/robertb9527/~4/r_WpYdq5pTQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.robertbao.com/archives/1140/feed</wfw:commentRss>
		<feedburner:origLink>http://www.robertbao.com/archives/1140</feedburner:origLink></item>
	</channel>
</rss>
