<?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; Pspot</title>
	<atom:link href="http://zzfei.com/tag/pspot/feed/" rel="self" type="application/rss+xml" />
	<link>http://zzfei.com</link>
	<description>be happy</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:05:46 +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>Pspot: 在图片上添加评论</title>
		<link>http://zzfei.com/pspot-comment-on-photos/</link>
		<comments>http://zzfei.com/pspot-comment-on-photos/#comments</comments>
		<pubDate>Sun, 30 May 2010 03:11:45 +0000</pubDate>
		<dc:creator>zhy</dc:creator>
				<category><![CDATA[GAE Python]]></category>
		<category><![CDATA[Pspot]]></category>
		<category><![CDATA[图片评论]]></category>

		<guid isPermaLink="false">http://zzfei.com/?p=691</guid>
		<description><![CDATA[Pspot是一段简单的js程序，通过嵌入到你的网页上，使访问者可以对你的网页图片上任意位置发表评论，这些评论被保存在Google App Engine，如果你没有更多的需求，那么简单的嵌入一个js就可以了。

如果你打算管理你网页上的留言，需要先用google帐号登录，然后嵌入包含有你的ID的js文件。这样你就可以在 “Manage Comments” 中管理, 还可以订阅最新留言的feed。

另外，你在Pspot登录之后发布的留言，可以在 “My Comments” 中管理。

<span class="readmore"><a href="http://zzfei.com/pspot-comment-on-photos/" title="Pspot: 在图片上添加评论">阅读全文——共753字</a></span>]]></description>
			<content:encoded><![CDATA[<p><script src="http://pspot.appspot.com/getcmt.js?u=105602" type="text/javascript"></script><span style="color: #000000;"><span style="font-size: small;"><a href="http://pspot.appspot.com/">Pspot</a>是一段简单的js程序，通过嵌入到你的网页上，使访问者可以对你的网页图片上任意位置发表评论，这些评论被保存在<a href="http://code.google.com/appengine/docs/">Google App Engine</a>，如果你没有更多的需求，那么简单的嵌入一个js就可以了。</span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;">如果你打算管理你网页上的留言，需要先用google帐号登录，然后嵌入包含有你的ID的js文件。这样你就可以在 “Manage Comments” 中管理, 还可以订阅最新留言的feed。</span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;">另外，你在<a href="http://pspot.appspot.com/">Pspot</a>登录之后发布的留言，可以在 “My Comments” 中管理。</span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;">在不同网站上，url地址相同的图片会共享同样的评论。</span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;"><span id="more-691"></span>使用步骤如下：</span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;">1、如果你不想管理留言，那么把下面这句代码加在你网页上任何地方。否则请用你的Google帐号<a href="https://www.google.com/accounts/ServiceLogin?service=ah&amp;continue=http://pspot.appspot.com/_ah/login%3Fcontinue%3Dhttp://pspot.appspot.com/&amp;ltmpl=gm&amp;ahname=Comment+on+Photos&amp;sig=4c81e3764b1d0a72496516daf1d90e99">登录</a>并使用只有你能够管理留言的代码。</span></span></p>
<blockquote><p><span style="color: #000000;"><span style="font-size: small;">&lt;script src=”http://pspot.appspot.com/getcmt.js”  type=”text/javascript”&gt;&lt;/script&gt;</span></span></p></blockquote>
<p><span style="color: #000000;"><span style="font-size: small;">2、给你的图片加上class=”psp”，像这样：</span></span></p>
<blockquote><p><span style="color: #000000;"><span style="font-size: small;">&lt;img class=”psp” src=”yo.jpg” alt=”yo” /&gt;</span></span></p></blockquote>
<p><span style="color: #000000;"><span style="font-size: small;">现在点击图片右下角的发表按钮或者双击图片即可发表评论。<br />
<img class="psp" title="巨大的跷跷板" src="../wp-content/uploads/2010/05/hugeseesaw.jpg" alt="" width="650" height="506" /></span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;">几点要注意的：<br />
1. 留言的位置是按照图片上的坐标保存的，如果改了图片大小，或者是图片的文件名，就会有问题。<br />
2. 这个功能在feed里是无效的，因为要执行js。<br />
3. GAE存在不稳定因素，如果send之后就一直sending，那就是GAE的网速问题了。<br />
4. 为了不影响用户对原始图片的浏览行为，所以没有明显的读者提示功能——这也是个需要权衡的问题。<br />
5. 圈图评论请等待下个版本（这个程序发布1年多了，其实圈图评论也不一定必要）。</span></span></p>
<p><span style="color: #000000;"><span style="font-size: small;">项目主页：<a href="http://pspot.appspot.com/">http://pspot.appspot.com/</a><br />
作者主页：<a href="http://su27.org/">http://su27.org/</a></span></span></p>
<h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>暂无相关日志</li></ul>]]></content:encoded>
			<wfw:commentRss>http://zzfei.com/pspot-comment-on-photos/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

