<?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>Fri, 03 Feb 2012 14:02:27 +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;';
// 乐收
$output .= ' &#124; &#60;a href="http://leshou.com/post?act=shou&#38;title='.$title.'&#38;url='.$permalink.'" title="收藏到乐收" target="_blank"&#62;乐收&#60;/a&#62;';
echo $output; ?&#62;
]]></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 name="code" class="php">
&lt;?php $title = get_the_title();
$permalink = get_permalink();
$title = urlencode($title);
$permalink = esc_url($permalink);
// QQ书签
$output = '&lt;a href="http://shuqian.qq.com/post?title='.$title.'&amp;uri='.$permalink.'" title="收藏到QQ书签" target="_blank"&gt;QQ书签&lt;/a&gt;';
// google书签
$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;';
// 百度搜藏
$output .= ' | &lt;a href="http://cang.baidu.com/do/add?it='.$title.'&amp;iu='.$permalink.'" title="收藏到百度搜藏" target="_blank"&gt;百度搜藏&lt;/a&gt;';
// yahoo收藏
$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;';
// 乐收
$output .= ' | &lt;a href="http://leshou.com/post?act=shou&amp;title='.$title.'&amp;url='.$permalink.'" title="收藏到乐收" target="_blank"&gt;乐收&lt;/a&gt;';
echo $output; ?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://domety.com/archives/234/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

