<?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>Domety &#187; 收藏</title>
	<atom:link href="http://domety.com/archives/tag/%e6%94%b6%e8%97%8f/feed/" rel="self" type="application/rss+xml" />
	<link>http://domety.com</link>
	<description>分享软件、互联网应用技巧以及开发技能</description>
	<lastBuildDate>Wed, 26 May 2010 14:28:05 +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>给文章添加“收藏到”(QQ书签、Google书签、百度搜藏)</title>
		<link>http://domety.com/archives/234/</link>
		<comments>http://domety.com/archives/234/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 04:01:18 +0000</pubDate>
		<dc:creator>DDBug</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[QQ]]></category>
		<category><![CDATA[收藏]]></category>

		<guid isPermaLink="false">http://domety.com/?p=234</guid>
		<description><![CDATA[为了方便有需要的朋友收藏小站有用的文章，做了一个收藏到 QQ书签 、 Google书签 、 百度搜藏 、 Yahoo收藏 、 乐收 的链接。其实网上也有很多第三方的js文件可以很方便的做到这一点，只需要加载一个js文件即可。因为DDBug不太喜欢加载第三方的东西，能不加载就不加载，所以本文讨论的是最原始的链接形式的。
下面给出几个常用的在线收藏夹的收藏链接，标题以domety为例，网址以http://domety.com/为例。在具体的使用过程中，只需要把这两个替换掉你自己文章的标题和网址即可。
QQ书签：http://shuqian.qq.com/post?title=domety&#38;uri=http://domety.com/
google书签：http://www.google.com/bookmarks/mark?op=add&#38;hl=zh_cn&#38;title=domety&#38;bkmk=http://domety.com/
百度搜藏：http://cang.baidu.com/do/add?it=domety&#38;iu=http://domety.com/
yahoo收藏：http://myweb.cn.yahoo.com/popadd.html?title=domety&#38;url=http://domety.com/
新浪ViVi：http://vivi.sina.com.cn/collect/icollect.php?title=domety&#38;url=http://domety.com/
乐收：http://leshou.com/post?act=shou&#38;title=domety&#38;url=http://domety.com/
以下是本站的实现代码，以做参考

&#60;?php $title = get_the_title();
$permalink = get_permalink();
$title = urlencode($title);
$permalink = esc_url($permalink);
// QQ书签
$output = '&#60;a href="http://shuqian.qq.com/post?title='.$title.'&#38;uri='.$permalink.'" title="收藏到QQ书签" target="_blank"&#62;QQ书签&#60;/a&#62;';
// google书签
$output .= ' &#124; &#60;a href="http://www.google.com/bookmarks/mark?op=add&#38;hl=zh_cn&#38;title='.$title.'&#38;bkmk='.$permalink.'" title="收藏到google书签" target="_blank"&#62;Google书签&#60;/a&#62;';
// 百度搜藏
$output .= ' &#124; &#60;a href="http://cang.baidu.com/do/add?it='.$title.'&#38;iu='.$permalink.'" title="收藏到百度搜藏" target="_blank"&#62;百度搜藏&#60;/a&#62;';
// yahoo收藏
$output .= ' &#124; &#60;a href="http://myweb.cn.yahoo.com/popadd.html?title='.$title.'&#38;url='.$permalink.'" title="收藏到Yahoo收藏" target="_blank"&#62;Yahoo收藏&#60;/a&#62;';
// 新浪ViVi
//$output .= ' &#124; &#60;a href="http://vivi.sina.com.cn/collect/icollect.php?title='.$title.'&#38;url='.$permalink.'" title="收藏到新浪ViVi" target="_blank"&#62;新浪ViVi&#60;/a&#62;';
// 乐收
$output .= ' &#124; &#60;a href="http://leshou.com/post?act=shou&#38;title='.$title.'&#38;url='.$permalink.'" [...]<ul style="color:#808080;padding:10px;border:1px solid #D7D7D7;list-style-type:none;"><li><a href="http://creativecommons.org/licenses/by/3.0/deed.zh">版权声明</a>: 转载时请以超链接形式标明文章原始出处和作者信息</li><li>本文来自: <a href="http://domety.com">Domety</a>&raquo;<a href="http://domety.com/archives/234/">《给文章添加“收藏到”(QQ书签、Google书签、百度搜藏)》</a></li><li>本文链接: <a href="http://domety.com/archives/234/" title="给文章添加“收藏到”(QQ书签、Google书签、百度搜藏)">http://domety.com/archives/234/</a></li><li>本文作者: <a href="http://domety.com">DDBug</a></li><li>发表时期: 一月 30th,2010</li><li>关键字: <a href="http://domety.com/archives/tag/google/" rel="tag">google</a><a href="http://domety.com/archives/tag/qq/" rel="tag">QQ</a><a href="http://domety.com/archives/tag/wordpress/" rel="tag">WordPress</a><a href="http://domety.com/archives/tag/%e6%94%b6%e8%97%8f/" rel="tag">收藏</a></li></ul><p style="color=red">本站的feed地址已经更改为<a href="http://feed.domety.com/">http://feed.domety.com/</a>,请朋友们手动更改一下，谢谢</p><h2>相关文章</h2><ul><li><a href="http://domety.com/archives/132/">wordpress中显示页面位置：当前位置</a></li><li><a href="http://domety.com/archives/141/">小工具“随机文章”插件制作完成</a></li><li><a href="http://domety.com/archives/169/">详解wordpress安装过程</a></li><li><a href="http://domety.com/archives/247/">开启Akismet插件，自动过滤垃圾留言</a></li><li><a href="http://domety.com/archives/195/">wordpress订阅RSS最新方法</a></li></ul>]]></description>
			<content:encoded><![CDATA[<p>为了方便有需要的朋友收藏小站有用的文章，做了一个收藏到 QQ书签 、 Google书签 、 百度搜藏 、 Yahoo收藏 、 乐收 的链接。其实网上也有很多第三方的js文件可以很方便的做到这一点，只需要加载一个js文件即可。因为DDBug不太喜欢加载第三方的东西，能不加载就不加载，所以本文讨论的是最原始的链接形式的。</p>
<p>下面给出几个常用的在线收藏夹的收藏链接，标题以domety为例，网址以http://domety.com/为例。在具体的使用过程中，只需要把这两个替换掉你自己文章的标题和网址即可。</p>
<p>QQ书签：<a href="http://shuqian.qq.com/post?title=domety&amp;uri=http://domety.com/" target="_blank">http://shuqian.qq.com/post?title=domety&amp;uri=http://domety.com/</a></p>
<p>google书签：<a href="http://www.google.com/bookmarks/mark?op=add&amp;hl=zh_cn&amp;title=domety&amp;bkmk=http://domety.com/" target="_blank">http://www.google.com/bookmarks/mark?op=add&amp;hl=zh_cn&amp;title=domety&amp;bkmk=http://domety.com/</a></p>
<p>百度搜藏：<a href="http://cang.baidu.com/do/add?it=domety&amp;iu=http://domety.com/" target="_blank">http://cang.baidu.com/do/add?it=domety&amp;iu=http://domety.com/</a></p>
<p>yahoo收藏：<a href="http://myweb.cn.yahoo.com/popadd.html?title=domety&amp;url=http://domety.com/" target="_blank">http://myweb.cn.yahoo.com/popadd.html?title=domety&amp;url=http://domety.com/</a></p>
<p>新浪ViVi：<a href="http://vivi.sina.com.cn/collect/icollect.php?title=domety&amp;url=http://domety.com/" target="_blank">http://vivi.sina.com.cn/collect/icollect.php?title=domety&amp;url=http://domety.com/</a></p>
<p>乐收：<a href="http://leshou.com/post?act=shou&amp;url=http://domety.com/&amp;title=domety" target="_blank">http://leshou.com/post?act=shou&amp;title=domety&amp;url=http://domety.com/</a></p>
<p>以下是本站的实现代码，以做参考</p>
<pre>
<div id="_mcePaste">&lt;?php $title = get_the_title();</div>
<div id="_mcePaste">$permalink = get_permalink();</div>
<div id="_mcePaste">$title = urlencode($title);</div>
<div id="_mcePaste">$permalink = esc_url($permalink);</div>
<div id="_mcePaste">// QQ书签</div>
<div id="_mcePaste">$output = '&lt;a href="http://shuqian.qq.com/post?title='.$title.'&amp;uri='.$permalink.'" title="收藏到QQ书签" target="_blank"&gt;QQ书签&lt;/a&gt;';</div>
<div id="_mcePaste">// google书签</div>
<div id="_mcePaste">$output .= ' | &lt;a href="http://www.google.com/bookmarks/mark?op=add&amp;hl=zh_cn&amp;title='.$title.'&amp;bkmk='.$permalink.'" title="收藏到google书签" target="_blank"&gt;Google书签&lt;/a&gt;';</div>
<div id="_mcePaste">// 百度搜藏</div>
<div id="_mcePaste">$output .= ' | &lt;a href="http://cang.baidu.com/do/add?it='.$title.'&amp;iu='.$permalink.'" title="收藏到百度搜藏" target="_blank"&gt;百度搜藏&lt;/a&gt;';</div>
<div id="_mcePaste">// yahoo收藏</div>
<div id="_mcePaste">$output .= ' | &lt;a href="http://myweb.cn.yahoo.com/popadd.html?title='.$title.'&amp;url='.$permalink.'" title="收藏到Yahoo收藏" target="_blank"&gt;Yahoo收藏&lt;/a&gt;';</div>
<div id="_mcePaste">// 新浪ViVi</div>
<div id="_mcePaste">//$output .= ' | &lt;a href="http://vivi.sina.com.cn/collect/icollect.php?title='.$title.'&amp;url='.$permalink.'" title="收藏到新浪ViVi" target="_blank"&gt;新浪ViVi&lt;/a&gt;';</div>
<div id="_mcePaste">// 乐收</div>
<div id="_mcePaste">$output .= ' | &lt;a href="http://leshou.com/post?act=shou&amp;title='.$title.'&amp;url='.$permalink.'" title="收藏到乐收" target="_blank"&gt;乐收&lt;/a&gt;';</div>
<div id="_mcePaste">echo $output; ?&gt;</div>
</pre>
<ul style="color:#808080;padding:10px;border:1px solid #D7D7D7;list-style-type:none;"><li><a href="http://creativecommons.org/licenses/by/3.0/deed.zh">版权声明</a>: 转载时请以超链接形式标明文章原始出处和作者信息</li><li>本文来自: <a href="http://domety.com">Domety</a>&raquo;<a href="http://domety.com/archives/234/">《给文章添加“收藏到”(QQ书签、Google书签、百度搜藏)》</a></li><li>本文链接: <a href="http://domety.com/archives/234/" title="给文章添加“收藏到”(QQ书签、Google书签、百度搜藏)">http://domety.com/archives/234/</a></li><li>本文作者: <a href="http://domety.com">DDBug</a></li><li>发表时期: 一月 30th,2010</li><li>关键字: <a href="http://domety.com/archives/tag/google/" rel="tag">google</a><a href="http://domety.com/archives/tag/qq/" rel="tag">QQ</a><a href="http://domety.com/archives/tag/wordpress/" rel="tag">WordPress</a><a href="http://domety.com/archives/tag/%e6%94%b6%e8%97%8f/" rel="tag">收藏</a></li></ul><p style="color=red">本站的feed地址已经更改为<a href="http://feed.domety.com/">http://feed.domety.com/</a>,请朋友们手动更改一下，谢谢</p><h2>相关文章</h2><ul><li><a href="http://domety.com/archives/233/">为页面标题添加页码</a></li><li><a href="http://domety.com/archives/132/">wordpress中显示页面位置：当前位置</a></li><li><a href="http://domety.com/archives/77/">WordPress中给文章加入版权声明</a></li><li><a href="http://domety.com/archives/264/">如何设置wordpress主题的日期格式</a></li><li><a href="http://domety.com/archives/216/">wordpress首页显示摘要的几种方法</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://domety.com/archives/234/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
