<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>离乐园 &#187; 建站</title>
	<atom:link href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99/feed" rel="self" type="application/rss+xml" />
	<link>http://lileyuan.net</link>
	<description>所谓离乐，即非离乐，是为离乐。</description>
	<lastBuildDate>Wed, 02 Jun 2010 18:26:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>暂停更新</title>
		<link>http://lileyuan.net/1299.html</link>
		<comments>http://lileyuan.net/1299.html#comments</comments>
		<pubDate>Wed, 02 Jun 2010 18:26:17 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://lileyuan.net/?p=1299</guid>
		<description><![CDATA[由于域名被河蟹，只能翻Wall访问，故暂停更新，恢复时间待定。
T.T

	Tags:建站
<span class="readmore"><a href="http://lileyuan.net/1299.html" title="暂停更新">阅读全文——共34字</a></span>]]></description>
			<content:encoded><![CDATA[<p>由于域名被河蟹，只能翻Wall访问，故暂停更新，恢复时间待定。</p>
<p>T.T</p>

	Tags:<a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
	<li><a href="http://lileyuan.net/1095.html" title="New Domain Name (2010年01月19日)">New Domain Name</a> (4)</li>
	<li><a href="http://lileyuan.net/808.html" title="更新预告 (2009年01月30日)">更新预告</a> (1)</li>
	<li><a href="http://lileyuan.net/671.html" title="Update (2008年07月17日)">Update</a> (2)</li>
	<li><a href="http://lileyuan.net/645.html" title="折腾 (2008年07月16日)">折腾</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/1299.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>继续跑路&#8230;&#8230;</title>
		<link>http://lileyuan.net/1136.html</link>
		<comments>http://lileyuan.net/1136.html#comments</comments>
		<pubDate>Fri, 05 Feb 2010 03:36:41 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/1136.html</guid>
		<description><![CDATA[盘古的服务器速度太慢，考虑了半天终于决定把空间换到米国的了。
数据更新完毕。
测试ing
域名和空间都迁移到国外了，可以暂时摆脱备$案的烦恼。
<span class="readmore"><a href="http://lileyuan.net/1136.html" title="继续跑路&#8230;&#8230;">阅读全文——共87字</a></span>]]></description>
			<content:encoded><![CDATA[<p>盘古的服务器速度太慢，考虑了半天终于决定把空间换到米国的了。</p>
<p>数据更新完毕。</p>
<p>测试ing</p>
<p>域名和空间都迁移到国外了，可以暂时摆脱备$案的烦恼。</p>
<p>留个记号。</p>
<p>希望白名单机制不会真的施行。</p>

	Tags:<a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1095.html" title="New Domain Name (2010年01月19日)">New Domain Name</a> (4)</li>
	<li><a href="http://lileyuan.net/808.html" title="更新预告 (2009年01月30日)">更新预告</a> (1)</li>
	<li><a href="http://lileyuan.net/671.html" title="Update (2008年07月17日)">Update</a> (2)</li>
	<li><a href="http://lileyuan.net/645.html" title="折腾 (2008年07月16日)">折腾</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/1136.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Domain Name</title>
		<link>http://lileyuan.net/1095.html</link>
		<comments>http://lileyuan.net/1095.html#comments</comments>
		<pubDate>Tue, 19 Jan 2010 04:00:24 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/1095.html</guid>
		<description><![CDATA[feelingfly.net
-&#62;lileyuan.net
友情链接&#38;各种绑定&#38;备案陆续更新ing

<span class="readmore"><a href="http://lileyuan.net/1095.html" title="New Domain Name">阅读全文——共47字</a></span>]]></description>
			<content:encoded><![CDATA[<p><strike>feelingfly.net</strike></p>
<p>-&gt;lileyuan.net</p>
<p>友情链接&amp;各种绑定&amp;备案陆续更新ing</p>

	Tags:<a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
	<li><a href="http://lileyuan.net/808.html" title="更新预告 (2009年01月30日)">更新预告</a> (1)</li>
	<li><a href="http://lileyuan.net/671.html" title="Update (2008年07月17日)">Update</a> (2)</li>
	<li><a href="http://lileyuan.net/645.html" title="折腾 (2008年07月16日)">折腾</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/1095.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>更新预告</title>
		<link>http://lileyuan.net/808.html</link>
		<comments>http://lileyuan.net/808.html#comments</comments>
		<pubDate>Fri, 30 Jan 2009 02:08:33 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/?p=808</guid>
		<description><![CDATA[审美疲劳了
准备更换主题。

	Tags:建站
<span class="readmore"><a href="http://lileyuan.net/808.html" title="更新预告">阅读全文——共12字</a></span>]]></description>
			<content:encoded><![CDATA[<p>审美疲劳了</p>
<p>准备更换主题。</p>

	Tags:<a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
	<li><a href="http://lileyuan.net/1095.html" title="New Domain Name (2010年01月19日)">New Domain Name</a> (4)</li>
	<li><a href="http://lileyuan.net/671.html" title="Update (2008年07月17日)">Update</a> (2)</li>
	<li><a href="http://lileyuan.net/645.html" title="折腾 (2008年07月16日)">折腾</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/808.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Update</title>
		<link>http://lileyuan.net/671.html</link>
		<comments>http://lileyuan.net/671.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 09:05:48 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/671.html</guid>
		<description><![CDATA[用了两天时间来给网站做更新，基本上完工了，此次收获颇多。
A. .tar.gz压缩包的制作
&#160;&#160;&#160;&#160;&#160; 主机的CP只支持.tar.gz在线解压，查了一下资料，在Windows下，.tar.gz格式的压缩包是用7-zip这个软件制作的。
&#160;&#160;&#160;&#160;&#160; 首先下载7-zip这个软件，安装以后，先把要压缩的文件打包成tar格式的压缩包，再用7-zip把这个.tar格式的压缩包打成Gzip格式，最后生成的就是.tar.gz了。
<span class="readmore"><a href="http://lileyuan.net/671.html" title="Update">阅读全文——共1331字</a></span>]]></description>
			<content:encoded><![CDATA[<p>用了两天时间来给网站做更新，基本上完工了，此次收获颇多。</p>
<p><strong>A. .tar.gz压缩包的制作</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 主机的CP只支持.tar.gz在线解压，查了一下资料，在Windows下，.tar.gz格式的压缩包是用7-zip这个软件制作的。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先<a href="http://www.7-zip.org/zh-cn/" target="_blank">下载7-zip这个软件</a>，安装以后，先把要压缩的文件打包成tar格式的压缩包，再用7-zip把这个.tar格式的压缩包打成Gzip格式，最后生成的就是.tar.gz了。</p>
<p><strong>B. 主题修改</strong></p>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>这次采用了<a href="http://www.briangardner.com/themes/blue-zinfandel-wordpress-theme.htm" target="_blank">Blue Zinfandel</a>这个主题，简洁，自我感觉良好，但是要修改的地方确实不少。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 把三栏的宽度调整了一下，中栏增加了80px，同时加入了对一些插件的支持，比如WP相关日志、随机日志、PageNavi等等……</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 加入了一个Archive页，是用<a href="http://justinblanton.com/projects/smartarchives/" target="_blank">Smart Archives</a>这个插件实现的，当然，这个主题需要自己做一个Archive页面的模板。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 另外发现了一个问题，如果当前主题里面没有页面模板的话，新建页面的时候是没有“页面模板”这个选项的，这时候需要自己制作一个页面模板，参见<a href="http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates" target="_blank">WP Docs</a>，简单地说就是把page.php复制一份，改名为archivepage.php（例子，这个名字可以自己定）在最前面加入这样的内容：</p>
<blockquote><p>&lt;?php </p>
<p>/* Template Name: 模板名称 */ </p>
<p>?&gt;</p>
</blockquote>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 把“模板名称”替换成自己需要的名字就可以了，然后把archivepage.php里面的内容修改一下，添加上Smart Archives的函数调用就可以了。</p>
<p><span id="more-671"></span>
<p><strong>C.SBM的问题</strong></p>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><a href="http://dupola.com/post/65" target="_blank">SBM（傻逼妹）</a>这个插件确实异常强大而且好用，但是这东西和新版WP的后台管理首页不兼容，启用此插件之后管理首页会错误掉，十分不爽，我试图修改后台管理首页的代码，但是实在搞不清楚哪里错误了，于是只要找了个替代的方法：用<a href="http://www.viper007bond.com/wordpress-plugins/wordpress-admin-bar/" target="_blank">WordPress Admin Bar</a>这个插件代替后台管理首页，说实话，这个插件也很Cool,它可以在Wordpress首页顶部生成一个非常方便的管理工具条，进入任何一个管理项目只需要一次点击就够了。</p>
<p><strong>D.图片过大、链接过长对主题的影响。</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 换了这个主题，发现以前一些很大的图片会撑破DIV，导致整个布局混乱，一些很长的链接也会引起这种现象，查了一些资料，找到了一些解决办法：</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 对于Wordpress，可以用<a href="http://aligo.gurren.cn/2008/02/12/wp-zoomplayer-automatic-scaling-picture/">WP Zoomplayer</a>这个插件解决图片过大会撑破Div的现象，这个插件可以自动缩放超过某个尺寸的图片（可以自定义此尺寸），而且被缩放的图片会有一个链接指向原图。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 用CSS也可以解决，不过不是很完美，详情见<a href="http://jway.com.cn/jblog/memos/2006/wordpress-photo-size-fit/" target="_blank">这里</a>。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 有时候链接太长并不会自动换行，这样也会撑破Div，影响布局，此问题可以用CSS解决：</p>
<blockquote><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 给 #content（盛放边栏和中栏的容器）定义这样一个属性：</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #content {overflow: hidden;}</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 给a, a:visited定义这样一个属性：</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a, a:visited {word-wrap: break-word;}</p>
</blockquote>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这样基本就OK了，在FF和IE中会有区别，IE中的链接过长会换行，FF中过长部分会Hidden掉，这样，都不会影响布局了。</p>

	Tags:<a href="http://lileyuan.net/tag/css" title="css" rel="tag">css</a>, <a href="http://lileyuan.net/tag/wordpress" title="wordpress" rel="tag">wordpress</a>, <a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1152.html" title="Windows Live Space以及Blogbus搬家到Wordpress的方法 (2010年02月11日)">Windows Live Space以及Blogbus搬家到Wordpress的方法</a> (0)</li>
	<li><a href="http://lileyuan.net/1150.html" title="Wordpress来了，你准备好了么？ (2010年02月10日)">Wordpress来了，你准备好了么？</a> (4)</li>
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
	<li><a href="http://lileyuan.net/1095.html" title="New Domain Name (2010年01月19日)">New Domain Name</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/671.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>折腾</title>
		<link>http://lileyuan.net/645.html</link>
		<comments>http://lileyuan.net/645.html#comments</comments>
		<pubDate>Wed, 16 Jul 2008 06:00:54 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[乱七八糟]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/645.html</guid>
		<description><![CDATA[      折腾啊折腾。
      出去了一个星期，没想到，这个网站停了一个星期。
      原因？功夫王……
      总算恢复了，删除了以前的一些可能被功夫的内容，不影响自己，也不影响服务器上其他的人。
<span class="readmore"><a href="http://lileyuan.net/645.html" title="折腾">阅读全文——共158字</a></span>]]></description>
			<content:encoded><![CDATA[<p>      折腾啊折腾。</p>
<p>      出去了一个星期，没想到，这个网站停了一个星期。</p>
<p>      原因？功夫王……</p>
<p>      总算恢复了，删除了以前的一些可能被功夫的内容，不影响自己，也不影响服务器上其他的人。</p>
<p>      不再谈论不该谈论的事情了，以后好好做人吧。</p>
<p>      我算是经不起这种折腾了。</p>
<p>      惹不起，我还躲不起么？</p>

	Tags:<a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
	<li><a href="http://lileyuan.net/1095.html" title="New Domain Name (2010年01月19日)">New Domain Name</a> (4)</li>
	<li><a href="http://lileyuan.net/808.html" title="更新预告 (2009年01月30日)">更新预告</a> (1)</li>
	<li><a href="http://lileyuan.net/671.html" title="Update (2008年07月17日)">Update</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/645.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What do I do?</title>
		<link>http://lileyuan.net/568.html</link>
		<comments>http://lileyuan.net/568.html#comments</comments>
		<pubDate>Tue, 27 Nov 2007 14:44:29 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/?p=568</guid>
		<description><![CDATA[这个可爱的Boke出现了极大的改动~！:-O
首先，把原Feelingfly's blog里面的内容全部导入到这个Boke里面来，Pjblog转Wordpress，中间过程颇曲折，试了好几个人的方法，终于弄的不完美的成功了。
步骤：

<span class="readmore"><a href="http://lileyuan.net/568.html" title="What do I do?">阅读全文——共721字</a></span>]]></description>
			<content:encoded><![CDATA[<p>这个可爱的Boke出现了极大的改动~！:-O</p>
<p><font size="5"><strong>首先</strong></font>，把原Feelingfly's blog里面的内容全部导入到这个Boke里面来，<strong>Pjblog转Wordpress</strong>，中间过程颇曲折，试了好几个人的方法，终于弄的<strong>不完美的</strong>成功了。</p>
<p>步骤：</p>
<ol>
<li>把<a target="_blank" href="http://utombox.com/wp-content/uploads/2006/09/noname2asp.zip">UTOM的转换程序</a>下载回来，解压出noname2.asp放到PJBLOG的根目录下。</li>
<li>然后用FIREFOX打开http://你的pjBlog地址/noname2.asp</li>
<li>待整个页面打开完毕后，按Ctrl+U，查看那个页面的源代码<a href="http://www.lileyuan.net/up/WhatdoIdo_1409F/1.gif"><img border="0" width="420" src="http://www.lileyuan.net/up/WhatdoIdo_1409F/1_thumb.gif" alt="1 thumb What do I do?" height="320" style="margin: 0px 0px 10px; border: 0px" title="What do I do? 1 thumb Picture" /></a></li>
<li>把源代码另存为feelingfly.xml</li>
<li>用EditPlus等比较高级一点的文本编辑器打开feelingfly.xml，删除里面第一行&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;<a href="http://www.lileyuan.net/up/WhatdoIdo_1409F/2.gif"><img border="0" width="420" src="http://www.lileyuan.net/up/WhatdoIdo_1409F/2_thumb.gif" alt="2 thumb What do I do?" height="320" style="margin: 0px 0px 10px; border: 0px" title="What do I do? 2 thumb Picture" /></a></li>
<li>另存为UTF-8编码格式<br />
<a href="http://www.lileyuan.net/up/WhatdoIdo_1409F/3.gif"><img border="0" width="420" src="http://www.lileyuan.net/up/WhatdoIdo_1409F/3_thumb.gif" alt="3 thumb What do I do?" height="320" style="margin: 0px 0px 10px; border: 0px" title="What do I do? 3 thumb Picture" /></a></li>
<li>进入WP的后台-导入-Movable Type，选择另存好的文件，上传导入就可以了。</li>
<li>注意还要把PJ的附件目录一并上传到WP的根目录下面，并且把有关的图像文件一起传到WP相关目录下面。</li>
</ol>
<p>结果：日志完全按照正确的日期和分类导入了，但是评论似乎有些问题。而且WP不支持UBB代码，所以原来定义的很多Color UBB标签都不管用了，而且PJ的播放插件在WP中也是个错误，总之不是很完美，不过我已经很满足了！</p>
<p><strong><font size="5">其次</font></strong>，这样的一个归档，挺漂亮吧~</p>
<p><a href="http://www.lileyuan.net/up/WhatdoIdo_1409F/4.gif"><img border="0" width="420" src="http://www.lileyuan.net/up/WhatdoIdo_1409F/4_thumb.gif" alt="4 thumb What do I do?" height="320" style="border: 0px" title="What do I do? 4 thumb Picture" /></a></p>
<p>这个归档是用的Smart Archives插件实现的，原作者的插件对中文支持不好，网上有修改版。</p>
<p><a target="_blank" href="http://justinblanton.com/projects/smartarchives/">原版在这里</a> <a target="_blank" href="http://www.doyj.com/2006/08/19/smart-archives-%e5%a2%9e%e5%bc%ba/">修改版在这里</a></p>
<p>这样，以前的PJblog版本的博客就彻底停用了，我还要逐渐做一些细微的调整，穆梓的用户和权限我会尽快给恢复过来，欢迎穆梓回到feelingfly's boke来。</p>

	Tags:<a href="http://lileyuan.net/tag/wordpress" title="wordpress" rel="tag">wordpress</a>, <a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a>, <a href="http://lileyuan.net/tag/%e6%8a%80%e6%9c%af" title="技术" rel="tag">技术</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1238.html" title="腾讯微博的邀请&mdash;&mdash;蒲公英种子（5月7日更新） (2010年04月29日)">腾讯微博的邀请&mdash;&mdash;蒲公英种子（5月7日更新）</a> (13)</li>
	<li><a href="http://lileyuan.net/1152.html" title="Windows Live Space以及Blogbus搬家到Wordpress的方法 (2010年02月11日)">Windows Live Space以及Blogbus搬家到Wordpress的方法</a> (0)</li>
	<li><a href="http://lileyuan.net/1150.html" title="Wordpress来了，你准备好了么？ (2010年02月10日)">Wordpress来了，你准备好了么？</a> (4)</li>
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/568.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>自定义404页面实现自动域名跳转</title>
		<link>http://lileyuan.net/18.html</link>
		<comments>http://lileyuan.net/18.html#comments</comments>
		<pubDate>Tue, 23 Oct 2007 05:42:22 +0000</pubDate>
		<dc:creator>离乐乐</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[建站]]></category>

		<guid isPermaLink="false">http://www.lileyuan.net/?p=18</guid>
		<description><![CDATA[老的FeelingFly's Blog搬到http://www.lileyuan.net/old里面了，现在很多用户从搜索引擎中搜索到以前的一些资料都404错误了，现在用下面代码实现了自动跳转，解决了此问题：
&#60;script language="javascript"&#62;
var newdomain="www.feelingfly.net/old" //新域名
var stoptime=5; //404页面停留时间，以秒为单位
<span class="readmore"><a href="http://lileyuan.net/18.html" title="自定义404页面实现自动域名跳转">阅读全文——共536字</a></span>]]></description>
			<content:encoded><![CDATA[<p>老的FeelingFly's Blog搬到<a href="http://www.lileyuan.net/old">http://www.lileyuan.net/old</a>里面了，现在很多用户从搜索引擎中搜索到以前的一些资料都404错误了，现在用下面代码实现了自动跳转，解决了此问题：</p>
<blockquote><p>&lt;script language="javascript"&gt;<br />
var newdomain="www.feelingfly.net/old" //新域名<br />
var stoptime=5; //404页面停留时间，以秒为单位</p>
<p>var My_Url=document.location.href;<br />
godomain();<br />
function godomain()<br />
{<br />
var str=My_Url;<br />
stag=str.indexOf('//')+1;<br />
str=str.substring(stag+1,str.length)<br />
stag=str.indexOf('/');<br />
rstr=str.substring(0,stag);<br />
olddomain=rstr;<br />
My_Url=My_Url.replace(olddomain,newdomain);<br />
setTimeout("gourl()",stoptime*1000);<br />
}<br />
function gourl()<br />
{window.location=My_Url;}<br />
&lt;/script&gt;</p></blockquote>

	Tags:<a href="http://lileyuan.net/tag/javascript" title="javascript" rel="tag">javascript</a>, <a href="http://lileyuan.net/tag/%e5%bb%ba%e7%ab%99" title="建站" rel="tag">建站</a><br />

	<h4>Related Posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://lileyuan.net/1299.html" title="暂停更新 (2010年06月3日)">暂停更新</a> (0)</li>
	<li><a href="http://lileyuan.net/1136.html" title="继续跑路&hellip;&hellip; (2010年02月5日)">继续跑路&hellip;&hellip;</a> (0)</li>
	<li><a href="http://lileyuan.net/1095.html" title="New Domain Name (2010年01月19日)">New Domain Name</a> (4)</li>
	<li><a href="http://lileyuan.net/808.html" title="更新预告 (2009年01月30日)">更新预告</a> (1)</li>
	<li><a href="http://lileyuan.net/671.html" title="Update (2008年07月17日)">Update</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://lileyuan.net/18.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
