<?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>eddie.Yang's  creative &#187; asaph</title>
	<atom:link href="http://www.ediyang.com/tag/asaph/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ediyang.com</link>
	<description>Creative change lives</description>
	<lastBuildDate>Wed, 14 Jul 2010 02:06:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>如何将Asaph整合到Wordpress中</title>
		<link>http://www.ediyang.com/how-to-creat-image-roll-in-wordpress-use-asaph/</link>
		<comments>http://www.ediyang.com/how-to-creat-image-roll-in-wordpress-use-asaph/#comments</comments>
		<pubDate>Sun, 03 May 2009 14:11:19 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[asaph]]></category>

		<guid isPermaLink="false">http://www.ediyang.com/?p=594</guid>
		<description><![CDATA[半个月前我向大家介绍过Asaph这个很不错的微型图片博客系统.但是如大多数人一样,我们使用的主要发布平台,还是Wordpress,我们希望将Asaph整合到Wordpress中,这是一种很好的取长补短的方法.]]></description>
			<content:encoded><![CDATA[<p>半个月前我向大家介绍过<a href="http://www.ediyang.com/asaph-introduction/">Asaph</a>这个很不错的微型图片博客系统.但是如大多数人一样,我们使用的主要发布平台,还是Wordpress,我们希望将Asaph整合到Wordpress中,这是一种很好的取长补短的方法.</p>
<p>如果你看过我之前介绍Asaph的文章,你应该明白Asaph是一个图片搜集博客,而我们之前看到过很多博客(多数为外国),喜欢将Flickr的图片整合到WordPress之中,并展示在边栏或是底部.那么今天,我会教大家如何将已经生成的Asaph图片数据展示在WordPress之中.也正如你现在看到的<del datetime="2009-05-06T18:03:47+00:00"><strong>本网站的右边栏</strong>下方的&#8221;picture wall&#8221;</del><a href="http://www.vikiworks.com">vikiworks</a>边栏一样的图片秀.</p>
<h4>看前须知</h4>
<ul>
<li>Asaph不是一个wordpress插件,而是一个独立的博客系统</li>
<li>确保你已经安装好Asaph,否则请看<a href="http://www.ediyang.com/asaph-introduction/">该文</a></li>
</ul>
<h3>我们开始</h3>
<p>其实接下来很简单,之需要一个步骤,就是复制下面的代码,放到你的WordPress主题下的sidebar.php(或是其他你要显示的地方).</p>
<pre><code>
&lt;?php // Get RSS Feed
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('<strong>your-asaph-feed</strong>');
<strong>$maxitems = 24</strong>;
$items = array_slice($rss-&gt;items, 0, $maxitems);
?&gt;
&lt;ul&gt;
&lt;?php if (empty($items)) echo ‘&lt;li&gt;No items&lt;/li&gt;’;
else
foreach ( $items as $item ) : ?&gt;
&lt;li&gt;&lt;a href=’&lt;?php echo $item['link']; ?&gt;’&gt;
&lt;?php echo $item['description']; ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;?php endforeach; ?&gt;
&lt;/ul&gt;
</code></pre>
<p>请留意代码中的注释部分需要自行修改,也就是自己的<strong>feed地址</strong>以及显示的<strong>图片数量</strong>.<br />
在将代码复制到模版文件中之后,如果一切顺利,那么你将会看到9张图片了,至于说大小问题,你需要在CSS中定义width:80px之类的.详细的可以用<a href="https://addons.mozilla.org/firefox/addon/1843">Firebug</a>来查看我的CSS.</p>
<p>在这里,首先要感觉Asaph作者,再者感谢vikiworks的<a href="http://vikiworks.com/2009/04/25/wordpress-image-roll/">yichi大哥的文章</a>.才让你我有机会认识与使用到如此优秀的功能.</p>
<p>同时我也留意到一些朋友在安装Asaph过程中<a href="http://www.ediyang.com/asaph-introduction/#comment-233">无法成功</a>,而大多数应属于服务器无法支持的原因.如果你遇到问题了或是你知道这其中的原因.麻烦请到下方留言.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ediyang.com/how-to-creat-image-roll-in-wordpress-use-asaph/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Asaph,一个新鲜的微型博客系统</title>
		<link>http://www.ediyang.com/asaph-introduction/</link>
		<comments>http://www.ediyang.com/asaph-introduction/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 06:43:12 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[others]]></category>
		<category><![CDATA[asaph]]></category>

		<guid isPermaLink="false">http://www.ediyang.com/?p=553</guid>
		<description><![CDATA[Asaph的作者也说明了,这个博客系统就是这么简单,简单到后台只有几个按钮.而这就是他做这个系统的目标.Asaph也很好的完成了他的工作.在我看来,用来制作这种图片搜集博客,Asaph真的是很好用,很容易用.所以喜欢的朋友赶紧试试吧.]]></description>
			<content:encoded><![CDATA[<p>前阵子在vikiworks那里看到yichi介绍用<a href="http://vikiworks.com/2009/03/10/asaph-setting-up-your-own-ffffound/">Asaph建设一个自己的FFFFound</a>,也就是一个图片搜集博客.所以我试了一下,觉得很好玩,在这里特地推荐给大家.</p>
<p><img class="alignnone size-full wp-image-555" title="fireshot-capture-5-eddieloves-www_ediyang_com_fave" src="http://www.ediyang.com/wp-content/uploads/2009/04/fireshot-capture-5-eddieloves-www_ediyang_com_fave.jpg" alt="fireshot capture 5 eddieloves www ediyang com fave Asaph,一个新鲜的微型博客系统" width="500" height="313" /></p>
<h4>是什么啊?</h4>
<p>你可以先看看我的<a href="http://www.ediyang.com/fave/">图片博客</a>.Asaph根据官方介绍:它是一个用来搜集外部链接及图片的微型博客系统.允许你在任何其他网站来发布你要的图片或是链接.<br />
<img class="alignnone size-full wp-image-590" title="3steps" src="http://www.ediyang.com/wp-content/uploads/2009/04/3steps.gif" alt="3steps Asaph,一个新鲜的微型博客系统" width="400" height="268" /><br />
我个人认为最特别的地方,就是Asaph有发布文章的<a href="http://en.wikipedia.org/wiki/Bookmarklet">Bookmarklet</a>,无论我在任何页面,只要点一下Bookmarklet,再选择要发布的图片,再点确定,就完成了整个发布文章的过程.看下图</p>
<p><img class="alignnone size-full wp-image-554" title="capture" src="http://www.ediyang.com/wp-content/uploads/2009/04/capture.png" alt="capture Asaph,一个新鲜的微型博客系统" width="509" height="255" /></p>
<h4>怎么安装呢?</h4>
<p><strong>5-1号更新:安装之前请确保满足以下条件</strong>:</p>
<ul>
<li>服务器是PHP5以上并装有GD-lib或者开启了allow_url_fopen</li>
<li>使用现代浏览器(非IE)</li>
<li>在上传完全部文件后,确保data/ 文件夹是&#8221;可写&#8221;的</li>
</ul>
<p>如果不知道怎么看服务器的php版本,请下载<a href="http://www.google.cn/search?hl=zh-CN&#038;q=iprober+php%E6%8E%A2%E9%92%88&#038;meta=&#038;aq=0&#038;oq=iProber">php探针</a>,上传到服务器后运行探针查看即可.</p>
<p>下载压缩包,解压放上服务器(需要php支持).接着需要修改lib/asaph_config.class.php 这个文件中的$domain, $absolutePath 与 $db这三个项目.接着在浏览器打开目录下的admin/install.php进行安装.装过Wordpress想必没有问题了.</p>
<h4>怎么使用?</h4>
<p>如图所示,在后台管理左侧,用鼠标将bookmarklet下的ASAPH拉到你的书签栏,或是加入书签.接着你可以去flickr等图片网站,<br />
看到喜欢的眼睛发亮的图片,就点一下那个书签.OK,懂了吧?(最好使用现代浏览器,不要使用IE)<br />
<img class="alignnone size-full wp-image-556" title="capture2" src="http://www.ediyang.com/wp-content/uploads/2009/04/capture2.png" alt="capture2 Asaph,一个新鲜的微型博客系统" width="116" height="189" /></p>
<h4>总结</h4>
<p>Asaph的作者也说明了,这个博客系统就是这么简单,简单到后台只有几个按钮.而这就是他做这个系统的目标.Asaph也很好的完成了他的工作.在我看来,用来制作这种图片搜集博客,Asaph真的是很好用,很容易用.所以喜欢的朋友赶紧试试吧.<br />
最后大家可以看看我自己建的Asaph博客 <a href="http://www.ediyang.com/fave">www.ediyang.com/fave</a></p>
<h4>我也要试试</h4>
<p><a href="http://www.phoboslab.org/projects/asaph">发布页面</a><br />
<a href="http://www.phoboslab.org/files/asaph/asaph-v1.0.zip">下载地址(v1.0)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ediyang.com/asaph-introduction/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->