<?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://minidr.com/archives/category/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://minidr.com</link>
	<description>Mini Dragon&#039;s Blog</description>
	<lastBuildDate>Thu, 12 Jan 2012 09:03:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My First WordPress Theme:Xialu</title>
		<link>http://minidr.com/archives/548</link>
		<comments>http://minidr.com/archives/548#comments</comments>
		<pubDate>Fri, 29 Oct 2010 15:58:55 +0000</pubDate>
		<dc:creator>Just As A Girl</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=548</guid>
		<description><![CDATA[Xialu "霞路" is my first WordPress theme,a leading CSS3 style theme.It's based on McGeek's theme "Our Love Stories" .You can preview it by pressing "进入霞路" at default theme's navigation bar.In xialu,you can press "回到默认主题" in navigation bar to back to default theme. This theme is powered by WordPress and Love. It has two wraps , [...]]]></description>
			<content:encoded><![CDATA[<p>Xialu "霞路" is my first WordPress theme,a leading CSS3 style theme.It's based on McGeek's theme "Our Love Stories" .You can preview it by pressing "进入霞路" at default theme's navigation bar.In xialu,you can press "回到默认主题" in navigation bar to back to default theme.</p>
<p><img src="http://minidr.com/img/xialushot.jpg" alt="xialu short" /></p>
<p>This theme is powered by WordPress and Love. It has two wraps , left warp for boy, right warp for girl. First wp-admin account is set as boy defaultly. Users should create a new wp-admin account to set for girl (As this post, I create a new account. I don't have a girl to write with me yet). Between the two warp is a sidebar. This sidebar supports widget. But I write a php-sidebar myself with pages, recent comments, post categories and blog-link. So I strongly do not recommend using widget because I never use it and I haven't written any style to any widget elements in this theme.</p>
<p>This theme is very simple in framework. But I use a lot of CSS3 style for Box. All box-background-color is 0.90 translucent, and border-radius.When users pass the mouse over the box,the box shows a shadow and 0.95 translucent, like this box is glowing.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.box<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* for firefox*/</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* for chrome or safari*/</span>
	border-radius<span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* for future standard browser */</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	filter<span style="color: #00AA00;">:</span>alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">90</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* IE alpha filter */</span>
	opacity<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0.90</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* standard browser */</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.box</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
	opacity<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0.95</span><span style="color: #00AA00;">;</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* for firefox*/</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* for chrome or safari*/</span>
	box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/* for future standard browser */</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>As a Web designer, I got the latest version for Firefox and Chrome in Fedora Linux Opeating System. But IE didn't support border-radius, box and text shadow. IE 6 even didn't support pseudo-class for a div, and framework will be orderless. I didn’t know how tragic this theme would be in IE, but I still factor IE into my design <del>by just giving a fully transparency to div in case of no-background-color</del>(fixed). </p>
<p>Another problem is, the width of the blog-title box will be automatically scaled by the content. Because the lenghth of the content is uncertain. But in IE, the width of the box is determined by the width of the parent element.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.blogtitle<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span>intrinsic<span style="color: #00AA00;">;</span><span style="color: #808080; font-style: italic;">/*for webkit and other?*/</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #3333ff;">:-moz-</span>fit-<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*for firefox*/</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you like it, leave your comments and I will send it to your mailbox.</p>
<p>超级简单的情侣博客主题.有很多CSS3特效,所以IE下会杯具.喜欢就留言,然后我发邮件.谢谢精兵.</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/548/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>免插件流之究级Gravatar解决办法</title>
		<link>http://minidr.com/archives/527</link>
		<comments>http://minidr.com/archives/527#comments</comments>
		<pubDate>Tue, 19 Oct 2010 08:25:37 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=527</guid>
		<description><![CDATA[这个阿凡达还是很折腾人的. 昨天写了两种方法,各有各的缺点,第一种要求对博客主题进行编辑,这个对小白要求很高.第二种办法随时都会挂掉. 所以,今天我写的办法是把两个结合起来. 我是免插件流,所以直接手工hack了. GRAVATAR CACHE还是需要的.它提供了一个Gravatar API.下载地址：http://scott.yang.id.au/code/gravatar-cache/#toc-download 然后打开index.php,修改代码.假设我就放在我博客根目录 http://minidr.com/gravatar/ 这个路径下. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 $config = array&#40; 'gravatar' =&#62; 'http://www.gravatar.com/avatar.php', 'rating' =&#62; 'PG', //默认头像等级 'size' =&#62; 24, //默认头像宽度高度,依据博客原头像大小的最大值,也就是 get_avatar($rc_comm,$size='24') 这个函数中的那个数字中的最大值 'default' =&#62; '', 'border' =&#62; '', 'referrer' =&#62; '', 'pos_expiry' =&#62; 604800, 'neg_expiry' =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>这个阿凡达还是很折腾人的.<br />
昨天写了两种方法,各有各的缺点,第一种要求对博客主题进行编辑,这个对小白要求很高.第二种办法随时都会挂掉.<br />
所以,今天我写的办法是把两个结合起来.<br />
我是免插件流,所以直接手工hack了.</p>
<p>GRAVATAR CACHE还是需要的.它提供了一个Gravatar API.下载地址：<a href="http://scott.yang.id.au/code/gravatar-cache/#toc-download" target="_blank">http://scott.yang.id.au/code/gravatar-cache/#toc-download</a></p>
<p>然后打开index.php,修改代码.假设我就放在我博客根目录 http://minidr.com/gravatar/ 这个路径下.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$config</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
<span style="color: #0000ff;">'gravatar'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'http://www.gravatar.com/avatar.php'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'rating'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'PG'</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//默认头像等级</span>
<span style="color: #0000ff;">'size'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">24</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//默认头像宽度高度,依据博客原头像大小的最大值,也就是 get_avatar($rc_comm,$size='24') 这个函数中的那个数字中的最大值</span>
<span style="color: #0000ff;">'default'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'border'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'referrer'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'pos_expiry'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">604800</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'neg_expiry'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">43200</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'neg_handler'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'file'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'proxy'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'basedir'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'x-sendfile'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'debug'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>接着,在 profile 目录,创建一个名为 avatar.php 的文件，用非记事本输入以下字符:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://minidr.com/gravatar/gravatar.png'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//无头像时返回的默认头像路径,假设我放了这张照片</span>
<span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'rating'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'PG'</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//gravatar的内容级别</span>
<span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">24</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//头像尺寸</span>
<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>这个php的文件名也是API地址的一部分.可以变化.</p>
<p>接着打开 .htaccess 文件,修改:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>IfModule mod_rewrite<span style="color: #339933;">.</span>c<span style="color: #339933;">&gt;</span>
RewriteEngine On
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>REQUEST_FILENAME<span style="color: #009900;">&#125;</span> <span style="color: #339933;">!-</span>f
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>REQUEST_FILENAME<span style="color: #009900;">&#125;</span> <span style="color: #339933;">!-</span>d
RewriteRule <span style="color: #339933;">.</span> <span style="color: #339933;">/</span>index<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
<span style="color: #339933;">&lt;/</span>IfModule<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>倒数第二行改成目录 我的是</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">RewriteRule <span style="color: #339933;">.</span> <span style="color: #339933;">/</span>gravatar<span style="color: #339933;">/</span>index<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span></pre></td></tr></table></div>

<p>这样就得到了一个Gravatar地址 http://minidr.com/gravatar/avatar/ .如果搭建有困难,可以拿别人的API地址.<br />
接下来直接篡改 WordPress 的 get_avatar() 函数里面的API地址.位于 /wp-includes/pluggable.php 1645 行.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1645
1646
1647
1648
1649
1650
1651
1652
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_ssl<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'https://secure.gravatar.com'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$email</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;http://<span style="color: #009933; font-weight: bold;">%d</span>.gravatar.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">hexdec</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$email_hash</span><span style="color: #009900;">&#123;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://0.gravatar.com'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>这个几行直接去掉,改成API地址</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1645
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://minidr.com/gravatar/avatar'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//地址后面千万不要加&quot;/&quot;</span></pre></td></tr></table></div>

<p>大概就是这样吧.具体的地址可以变动.关系到文件夹命名和新建php的文件名.</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/527/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>两种解决Gravatar挂掉的办法</title>
		<link>http://minidr.com/archives/516</link>
		<comments>http://minidr.com/archives/516#comments</comments>
		<pubDate>Mon, 18 Oct 2010 09:37:51 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=516</guid>
		<description><![CDATA[话说Gravatar挂掉了,大家都做了无头阿凡达. 我这里提供两种办法.都需要一定的php基础哦~ 第一种办法:博客服务器的图片代理. 下载一个 GRAVATAR CACHE 的php程序,不是 WordPress 插件,只是一个缓存头像的程序.下载地址：http://scott.yang.id.au/code/gravatar-cache/#toc-download 然后打开index.php,修改代码.假设我就放在我博客根目录 http://minidr.com/gravatar/ 这个路径下. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 $config = array&#40; 'gravatar' =&#62; 'http://www.gravatar.com/avatar.php', 'rating' =&#62; 'PG', //默认头像等级 'size' =&#62; 24, //默认头像宽度高度,依据博客原头像大小的最大值,也就是 get_avatar($rc_comm,$size='24') 这个函数中的那个数字中的最大值 'default' =&#62; '', 'border' =&#62; '', 'referrer' =&#62; '', 'pos_expiry' =&#62; 604800, [...]]]></description>
			<content:encoded><![CDATA[<p>话说<a href="http://gravatar.com" target="_blank">Gravatar</a>挂掉了,大家都做了无头阿凡达.<br />
我这里提供两种办法.都需要一定的php基础哦~</p>
<p>第一种办法:博客服务器的图片代理.</p>
<p>下载一个 GRAVATAR CACHE 的php程序,不是 WordPress 插件,只是一个缓存头像的程序.下载地址：<a href="http://scott.yang.id.au/code/gravatar-cache/#toc-download">http://scott.yang.id.au/code/gravatar-cache/#toc-download</a></p>
<p>然后打开index.php,修改代码.假设我就放在我博客根目录 http://minidr.com/gravatar/ 这个路径下.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$config</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
<span style="color: #0000ff;">'gravatar'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'http://www.gravatar.com/avatar.php'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'rating'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'PG'</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//默认头像等级</span>
<span style="color: #0000ff;">'size'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">24</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//默认头像宽度高度,依据博客原头像大小的最大值,也就是 get_avatar($rc_comm,$size='24') 这个函数中的那个数字中的最大值</span>
<span style="color: #0000ff;">'default'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'border'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'referrer'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'pos_expiry'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">604800</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'neg_expiry'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">43200</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'neg_handler'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'file'</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'proxy'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'basedir'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'x-sendfile'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span>
<span style="color: #0000ff;">'debug'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>接着,在 profile 目录,创建一个名为 avatar.php 的文件，用非记事本输入以下字符:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'default'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://minidr.com/gravatar/gravatar.png'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//无头像时返回的默认头像路径,假设我放了这张照片</span>
<span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'rating'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'PG'</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//gravatar的内容级别</span>
<span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">24</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//头像尺寸</span>
<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>接着打开 .htaccess 文件,修改:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>IfModule mod_rewrite<span style="color: #339933;">.</span>c<span style="color: #339933;">&gt;</span>
RewriteEngine On
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>REQUEST_FILENAME<span style="color: #009900;">&#125;</span> <span style="color: #339933;">!-</span>f
RewriteCond <span style="color: #339933;">%</span><span style="color: #009900;">&#123;</span>REQUEST_FILENAME<span style="color: #009900;">&#125;</span> <span style="color: #339933;">!-</span>d
RewriteRule <span style="color: #339933;">.</span> <span style="color: #339933;">/</span>index<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span>
<span style="color: #339933;">&lt;/</span>IfModule<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>倒数第二行改成目录 我的是</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">RewriteRule <span style="color: #339933;">.</span> <span style="color: #339933;">/</span>gravatar<span style="color: #339933;">/</span>index<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span></pre></td></tr></table></div>

<p>然后去修改主题,找到函数get_avatar(),如果皮肤比较规矩的话,应当能找到.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> get_avatar<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">24</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>改成</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;img src=&quot;http://minidr.com/gravatar/avatar/<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">md5</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; alt=&quot;&quot; /&gt;</pre></td></tr></table></div>

<p>如果像我一样,皮肤不规矩,HTML代码是嵌套在php函数里面echo出来的,</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$rc_comments</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&quot;</span><span style="color: #339933;">.</span> get_avatar<span style="color: #009900;">&#40;</span><span style="color: #000088;">$rc_comm</span><span style="color: #339933;">,</span><span style="color: #000088;">$size</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'16'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;span class='zsnos_comment_author'&gt;&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;: &lt;/span&gt;&lt;a href='&quot;</span>
<span style="color: #339933;">.</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;#comment-&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_ID</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;' title='on &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;'&gt;&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span>
<span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>改成</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$rc_comments</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;img src='http://minidr.com/gravatar/avatar/&quot;</span><span style="color: #339933;">.</span> <span style="color: #990000;">md5</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' alt='' /&gt;&lt;span  class='comment_author'&gt;&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;:  &lt;/span&gt;&lt;a href='&quot;</span>
<span style="color: #339933;">.</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;#comment-&quot;</span> <span style="color: #339933;">.</span>  <span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_ID</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;' title='on &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span> <span style="color: #339933;">.</span>  <span style="color: #0000ff;">&quot;'&gt;&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">strip_tags</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rc_comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span>
<span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>这样返回的结果是固定大小的,但是文章下面和边栏的头像图片大小有可能不一样大,如返回24,边栏只要16.如果发现浏览时不正常,还要对博客的主题的CSS进行修改,让CSS限制图片大小.<br />
查看图片上一层div的id或者class属性,如id="rc_comment"</p>
<p>那css里就加入</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#rc_comment</span> img<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>第二种办法是直接修改 WordPress 的 get_avatar() 函数.因为https还没有挂掉,所以可以换gravatar地址.位于 /wp-includes/pluggable.php 1645 行.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1645
1646
1647
1648
1649
1650
1651
1652
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> is_ssl<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'https://secure.gravatar.com'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$email</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;http://<span style="color: #009933; font-weight: bold;">%d</span>.gravatar.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">hexdec</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$email_hash</span><span style="color: #009900;">&#123;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://0.gravatar.com'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>这个几行直接去掉,改成</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1645
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'https://secure.gravatar.com'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>就这么一行,问题解决了.不过,这不是一个长远的办法~~~你懂的.</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/516/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>多难兴邦</title>
		<link>http://minidr.com/archives/460</link>
		<comments>http://minidr.com/archives/460#comments</comments>
		<pubDate>Sat, 14 Aug 2010 15:37:36 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=460</guid>
		<description><![CDATA[如题. 我也赶潮流,把博客弄黑白.可惜本人水品有限,只能把IE弄黑~ &#60;style&#62; html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);} &#60;/style&#62; 手中木有IE,不知道效果~]]></description>
			<content:encoded><![CDATA[<p>如题.<br />
我也赶潮流,把博客弄黑白.可惜本人水品有限,只能把IE弄黑~</p>
<blockquote><p>&lt;style&gt;<br />
html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);}<br />
&lt;/style&gt;</p></blockquote>
<p>手中木有IE,不知道效果~</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/460/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Lifedit:主题更新SE</title>
		<link>http://minidr.com/archives/426</link>
		<comments>http://minidr.com/archives/426#comments</comments>
		<pubDate>Thu, 15 Jul 2010 05:40:31 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=426</guid>
		<description><![CDATA[今天早上作者再次更新了博客主题.移步这里参观,下载. 但是,作者相当懒. 本来最近回复的函数在WP3.0杯具的.他增加侧边栏的widget支持,然后居然最新回复的函数去掉了,改用 WP Kit CN 插件提供的最新评论功能. 这个太邪恶了,我不喜欢widget,更加不喜欢插件.我的博客一共就3个插件,去垃圾留言,评论者浏览器信息,还有邮件回复. 于是我又自己折腾了一下函数,搞得和作者的一样,不过是直接写在sidebar.php的. 另外,作者的嵌套评论中的第二层是没有头像的,我自己重新写了函数...然后头像就出来了 还有,作者提供的和他自己页面上的样子还是不一样的.头部他自己重新写了,但是不放代码. 如果有同学需要我改造的版本,自己留言吧.我发到你们邮箱里.]]></description>
			<content:encoded><![CDATA[<p>今天早上作者再次更新了博客主题.<a href="http://www.lifedit.net/archives/50">移步这里参观,下载.</a><br />
但是,作者相当懒.<br />
本来最近回复的函数在WP3.0杯具的.他增加侧边栏的widget支持,然后居然最新回复的函数去掉了,改用 WP Kit CN 插件提供的最新评论功能.<br />
这个太邪恶了,我不喜欢widget,更加不喜欢插件.我的博客一共就3个插件,去垃圾留言,评论者浏览器信息,还有邮件回复.<br />
于是我又自己折腾了一下函数,搞得和作者的一样,不过是直接写在sidebar.php的.<br />
另外,作者的嵌套评论中的第二层是没有头像的,我自己重新写了函数...然后头像就出来了</p>
<p>还有,作者提供的和他自己页面上的样子还是不一样的.头部他自己重新写了,但是不放代码.<br />
如果有同学需要我改造的版本,自己留言吧.我发到你们邮箱里.</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/426/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>亦歌:1g1g.com 本地应用和网页嵌入</title>
		<link>http://minidr.com/archives/211</link>
		<comments>http://minidr.com/archives/211#comments</comments>
		<pubDate>Sun, 07 Feb 2010 06:57:43 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[网络]]></category>
		<category><![CDATA[1g1g]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=211</guid>
		<description><![CDATA[一直觉得亦歌是一个不错的在线听音乐播放器.大家可以在迷你部落格里试用下.这个播放器支持云播放,自动在网络上寻找一个版本的音乐.所以搜索出来的结果都只有一个.亦歌采用Flash模式,多平台运用.能通过Flash缓存保存歌曲. 亦歌除了以官方主页的形式出现以外,还能以更多方式出现. 亦歌Windows桌面版;亦歌Linux桌面版; 亦歌iGoogle小工具; 还有,在自己的网页,博客中嵌入亦歌; 其实这个很简单,不用什么SB一样的控件.就像我的博客一样 看HTML代码,我用的. &#60;p style="text-align: center;"&#62; //决定是居中还是什么的 &#60;iframe src="http://www.1g1g.com/?site=迷你音乐盒" //决定显示什么自定义字符 id="prF" frameborder="0" height="450" //高度 400以上能显示搜索栏,500这样还能显示自定义字符 scrolling="no" width="240"&#62; //宽度 &#60;/iframe&#62; &#60;/p&#62; 这里的参数,会来看这篇文章的人,都知道什么意思吧.亦歌网站本身就是一个flash的网站,只要一个iframe就可以了.注意宽高自己修改,适合主题. 此外还推荐亦歌跨平台桌面版(Air); 这个是Adobe公司推出的跨平台系统,我觉得是执行效率最高的版本了.有Air解析器的可以试用下.]]></description>
			<content:encoded><![CDATA[<p>一直觉得<a href="http://1g1g.com/" target="_blank">亦歌</a>是一个不错的在线听音乐播放器.大家可以在迷你部落格里试用下.这个播放器支持云播放,自动在网络上寻找一个版本的音乐.所以搜索出来的结果都只有一个.亦歌采用Flash模式,多平台运用.能通过Flash缓存保存歌曲.  亦歌除了以官方主页的形式出现以外,还能以更多方式出现.<br />
<img src="http://www.1g1g.com/image/extension/desktop_cbq.jpg" alt="" /><br />
<a href="http://dl.dropbox.com/u/2047742/1g1g/%E4%BA%A6%E6%AD%8C%E6%A1%8C%E9%9D%A2%E7%89%88%203.zip">亦歌Windows桌面版</a>;<a href="http://yedown.cz.cc/linux1g1g/" target="_blank">亦歌Linux桌面版</a>; <a href="http://www.google.com/ig/directory?url=hosting.gmodules.com%2Fig%2Fgadgets%2Ffile%2F101405928257225338180%2F1g1g.xml#" target="_blank">亦歌iGoogle小工具</a>;</p>
<p>还有,在自己的网页,博客中嵌入亦歌; 其实这个很简单,不用什么SB一样的控件.就像我的博客一样 看HTML代码,我用的.</p>
<pre>&lt;p style="text-align: center;"&gt; //决定是居中还是什么的
&lt;iframe src="http://www.1g1g.com/?site=迷你音乐盒" //决定显示什么自定义字符
id="prF"
frameborder="0"
height="450" //高度 400以上能显示搜索栏,500这样还能显示自定义字符
scrolling="no"
width="240"&gt; //宽度
&lt;/iframe&gt;
&lt;/p&gt;</pre>
<p>这里的参数,会来看这篇文章的人,都知道什么意思吧.亦歌网站本身就是一个flash的网站,只要一个iframe就可以了.注意宽高自己修改,适合主题.</p>
<p>此外还推荐<a href="http://www.ruochi.com/main/1g1g-air/" target="_blank">亦歌跨平台桌面版(Air)</a>; 这个是Adobe公司推出的跨平台系统,我觉得是执行效率最高的版本了.有Air解析器的可以试用下.</p>
<p><img class="alignnone" src="http://www.1g1g.com/image/extension/desktop_air.jpg" alt="" width="240" height="180" /></p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/211/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>庆祝一下</title>
		<link>http://minidr.com/archives/156</link>
		<comments>http://minidr.com/archives/156#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:42:00 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=156</guid>
		<description><![CDATA[哈哈,今天很开心啊.虽然今天跨洋光缆总是出问题,但是,有两件事值得庆祝的,呵呵. 1.最近几天有几个朋友和我交换了链接.哈哈,连连更健康么. 2.输入"迷你部落格"在google中,我的站点已经排到了第八.哈哈,前面几个想超越还是有困难的啊,毕竟迷你部落格是一个很抽象的名词.为什么呢?在台湾,这就是微博客的代称.所以,我还是要努力的!至于摆渡么,那是个广告公司,被我忽略;疼逊么,山寨公司,同样忽略;王毅啊,鑫浪啊,那都是亚克西的,同样也忽略.信谷歌,不挂科. 最后,送一张推友@polly0079制作的神兽剪纸,向大家拜年.]]></description>
			<content:encoded><![CDATA[<p>哈哈,今天很开心啊.虽然今天跨洋光缆总是出问题,但是,有两件事值得庆祝的,呵呵.<br />
1.最近几天有几个朋友和我交换了链接.哈哈,连连更健康么.<br />
2.输入"迷你部落格"在google中,我的站点已经排到了第八.哈哈,前面几个想超越还是有困难的啊,毕竟迷你部落格是一个很抽象的名词.为什么呢?在台湾,这就是微博客的代称.所以,我还是要努力的!至于摆渡么,那是个广告公司,被我忽略;疼逊么,山寨公司,同样忽略;王毅啊,鑫浪啊,那都是亚克西的,同样也忽略.<span style="color: #ff6600;">信谷歌,不挂科.</span></p>
<p>最后,送一张推友<a href="http://twitter.com/polly0079">@polly0079</a>制作的神兽剪纸,向大家拜年.<br />
<img src="http://free.imgbed.com/pp/cnm.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/156/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>RSS---博客抢沙发利器</title>
		<link>http://minidr.com/archives/118</link>
		<comments>http://minidr.com/archives/118#comments</comments>
		<pubDate>Thu, 21 Jan 2010 04:57:25 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[网络]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=118</guid>
		<description><![CDATA[可能很多同学都没有接触RSS吧.什么是RSS?让我从维基百科里面抄一段出来. RSS（簡易資訊聚合）是一種消息來源格式規範，用以發佈經常更新資料的網站，例如部落格文章、新聞、音訊或視訊的網摘。RSS文件（或稱做摘要、網路摘要、或頻更新，提供到能道）包含了全文或是節錄的文字，再加上發用者所訂閱之網摘佈資料和授權的元數據。網路摘要專業層面能夠者自和閱讀網摘的使動地發佈他們的資料，同時也使讀者能更夠定期更新他們喜歡的網站或是聚合不同網站的網摘。RSS摘要可以藉由RSS閱讀器、 feed reader或是aggregator等網頁或以桌面為架構的軟體來閱讀。標準的XML檔式可允許資訊在一次發佈後透過不同的程式閱覽。使用者藉由將網摘輸入RSS閱讀器或是用滑鼠點取瀏覽器上指向訂閱程序的RSS小圖示之URI（非通常稱為URL）來訂閱網摘。RSS閱讀器定期檢閱使是否有更新，然後下載給監看用者介面。 云里雾里吧.我觉得RSS这种东西先用再解释比较好. 这个就是RSS图标. 先试试订阅迷你部落格吧.只要打开在订阅程序里,只要把minidr.com输入进去,就可以订阅本博客.每次我发表新文章,你的RSS程序就有提示了.这个不错吧!如果你在使用firefox,也可以直接点击右边那个RSS图标.嘿嘿! 其实呢,RSS就是报纸,把各地的新闻都收集起来,统一发放.譬如我关注韩寒,某些IT人士,我的同学的博客,我不需要去各个站点,只要打开我的RSS阅读器就可以了.所有的更新都有,只要我订阅了.见图. 你可以使用QQ邮箱订阅,Google Reader,鲜果,抓虾,有道,甚至Firefox自带的阅读器,UC阅读器来订阅任何博客,只要那个博客有RSS图标.]]></description>
			<content:encoded><![CDATA[<p>可能很多同学都没有接触RSS吧.什么是RSS?让我从维基百科里面抄一段出来.</p>
<p><a href="http://zh.wikipedia.org/wiki/RSS"><span style="color: #ff9900;">RSS（簡易資訊聚合）是一種消息來源格式規範，用以發佈經常更新資料的網站，例如部落格文章、新聞、音訊或視訊的網摘。RSS文件（或稱做摘要、網路摘要、或頻更新，提供到能道）包含了全文或是節錄的文字，再加上發用者所訂閱之網摘佈資料和授權的元數據。網路摘要專業層面能夠者自和閱讀網摘的使動地發佈他們的資料，同時也使讀者能更夠定期更新他們喜歡的網站或是聚合不同網站的網摘。RSS摘要可以藉由RSS閱讀器、 feed reader或是aggregator等網頁或以桌面為架構的軟體來閱讀。標準的XML檔式可允許資訊在一次發佈後透過不同的程式閱覽。使用者藉由將網摘輸入RSS閱讀器或是用滑鼠點取瀏覽器上指向訂閱程序的RSS小圖示之URI（非通常稱為URL）來訂閱網摘。RSS閱讀器定期檢閱使是否有更新，然後下載給監看用者介面。</span></a><br />
云里雾里吧.我觉得RSS这种东西先用再解释比较好.<br />
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/128px-Feed-icon.svg.png" alt="" /><br />
这个就是RSS图标.</p>
<p>先试试订阅迷你部落格吧.只要打开在订阅程序里,只要把minidr.com输入进去,就可以订阅本博客.每次我发表新文章,你的RSS程序就有提示了.这个不错吧!如果你在使用firefox,也可以直接点击右边那个RSS图标.嘿嘿!</p>
<p>其实呢,RSS就是报纸,把各地的新闻都收集起来,统一发放.譬如我关注韩寒,某些IT人士,我的同学的博客,我不需要去各个站点,只要打开我的RSS阅读器就可以了.所有的更新都有,只要我订阅了.见图.<br />
<img src="http://i3.zou.lu/pp/blogrss.png" alt="" /><br />
你可以使用<a href="http://mail.qq.com/cgi-bin/feed?u=http://minidr.com/feed">QQ邮箱订阅</a>,<a href="http://fusion.google.com/add?feedurl=http://minidr.com/feed">Google Reader</a>,<a href="http://www.xianguo.com/subscribe.php?url=http://minidr.com/feed">鲜果</a>,<a href="http://www.zhuaxia.com/add_channel.php?url=http://minidr.com/feed">抓虾</a>,<a href="http://reader.youdao.com/b.do?url=http://minidr.com/feed">有道</a>,甚至<a href="http://www.mozilla.com">Firefox</a>自带的阅读器,UC阅读器来订阅任何博客,只要那个博客有RSS图标.</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/118/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>博客新功能:显示评论者的国家,系统,浏览器</title>
		<link>http://minidr.com/archives/105</link>
		<comments>http://minidr.com/archives/105#comments</comments>
		<pubDate>Fri, 15 Jan 2010 12:27:07 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=105</guid>
		<description><![CDATA[Today,I buy something from zou.lu(This guy is very silly).After buying,I find that there has a very good plugin in his blog.This plugin could display comments' MOTHER LAND,OS and BROWSER. That's very funny.You like it?Follow me. 下载地址：http://wordpress.org/extend/plugins/comment-info-detector/ ,上传到 wp-content/plugins 目录后台插件里激活,或者通过后台插件搜索 Comment Info Detector 直接一键安装即可. 然后在左边设置-comment-info-detector-下设置Display Country Flags Automatically,Display Web Browsers and OS Automatically为开. OK,that's very easy.Look,Waiwai [...]]]></description>
			<content:encoded><![CDATA[<p>Today,I buy something from <a href="http://zou.lu">zou.lu</a>(This guy is very silly).After buying,I find that there has a very good plugin in his <a href="http://zou.lu">blog</a>.This plugin could display comments' MOTHER LAND,OS and BROWSER.</p>
<p>That's very funny.You like it?Follow me.</p>
<p>下载地址：<a href="http://wordpress.org/extend/plugins/comment-info-detector/">http://wordpress.org/extend/plugins/comment-info-detector/</a> ,上传到 wp-content/plugins 目录后台插件里激活,或者通过后台插件搜索 Comment Info Detector 直接一键安装即可.</p>
<p>然后在左边设置-<a href="http://wordpress.org/extend/plugins/comment-info-detector/">comment-info-detector</a>-下设置Display Country Flags Automatically,Display Web Browsers and OS Automatically为开.</p>
<p><img class="alignnone" src="http://i3.zou.lu/pp/blog3.png" alt="" width="304" height="436" /></p>
<p>OK,that's very easy.Look,Waiwai was using Windows Vista!</p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/105/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>本博客IE与Firefox的区别</title>
		<link>http://minidr.com/archives/67</link>
		<comments>http://minidr.com/archives/67#comments</comments>
		<pubDate>Sun, 10 Jan 2010 04:47:45 +0000</pubDate>
		<dc:creator>Mini Dragon</dc:creator>
				<category><![CDATA[博客]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://minidr.com/?p=67</guid>
		<description><![CDATA[也许是我功力不足,IE下的CSS总是写不好. 废话不多说,有图为证.]]></description>
			<content:encoded><![CDATA[<p>也许是我功力不足,IE下的CSS总是写不好.</p>
<p>废话不多说,有图为证.<img class="alignnone" src="http://i3.zou.lu/pp/web.png" alt="" width="554" height="699" /></p>
]]></content:encoded>
			<wfw:commentRss>http://minidr.com/archives/67/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

