<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/painiu" type="application/rss+xml" ref="self"></atom:link><fs:self_link href="http://feed.feedsky.com/painiu" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 23 Jul 2008 19:23:34 GMT</lastBuildDate><title>~~派牛博客~~</title><description>分享互联网，分享创业人生，记录真实生活</description><link>http://blog.painiu.com</link><language>en</language><pubDate>Wed, 23 Jul 2008 19:23:34 GMT</pubDate><dc:date>2008-07-23T19:23:34Z</dc:date><dc:language>en</dc:language><item><title>javascript 框架执行elements时间测试</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598340/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/24/66/feed/</wfw:commentRss><description>javascript 框架执行elements时间测试
http://mootools.net/slickspeed/#</description><category>AJAX</category><category>dojo</category><category>Prototype</category><category>jquery</category><category>YUI</category><category>MOOTOOLS</category><pubDate>Thu, 24 Jul 2008 03:23:34 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/24/66/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=66</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/24/66/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598340/5009704</fs:itemid></item><item><title>关于邮件群发的经验和技巧</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598341/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/23/65/feed/</wfw:commentRss><description>一、关于邮件群发的经验和技巧 
1、强力推荐使用免smtp服务器的群发软件。这种软件将您的电脑虚拟成发信服务器，邮件直接地送至对方的邮箱，可以清楚地知道发送成功的数量，还可以知道邮址不能发送成功的原因。如亿虎Email邮差和WorldCast等。
2、尽量不要使用多smtp服务器的群发软件。多smtp的服务器软件，由于先将邮件发送至smtp服务器进行中转，现在，一般的邮件服务器都做了 设置，如果smtp服务器检测到短时间内来自同一个IP地址的大量连接请求，就会中止转发邮件，从而产生大量退信现象。况且，现在免费的smtp服务器已 经很难找了。
3、建议将邮件地址打乱发送，效果最佳。您可以使用一些电子邮件地址列表筛选和管理软件，如Mail List Management和欧阳邮件列表管家可以轻松实现这一要求。
4、发送信件的时候，建议申请多个hotmail、yahoo等免费信箱作为发送信箱，轮流使用，而将自己常用的信箱作为回复信箱，这样可以避免常 用的信箱受到封锁，从而也可以避免因此产生的大量退信现象。如sohu.com的邮箱，经常使用同一个信箱发送信件的话，服务器会屏蔽您的邮址，从而不能 发送，碰到这种情况，就需要更换发送信箱了。
5、合理使用群发线程。群发线程越多，速度自然越快，但现在很多的服务器自动检测，如163.net、263.net的邮箱，如果线程数使用很多， 服务器马上显示太多的连接请求，拒绝再转发。具体多少线程数为好，用户可以根据自己的电脑进行测试，从而找到最佳的发送线程数，既要保证发送速度快，同时 也要保证最高的成功率，还要保证发送邮件的时候不死机。
6、群发软件的选择使用。由于每一款群发软件在设计时发送参数都略有不同，所以不是每一款群发软件都能发送邮件到任何一个邮箱。如：一款群发软件可 发送邮件至21cn.com、sohu.com、263.net等，但却不能够发送邮件至sina.com、etang.com。而另一款群发软件却可发 送邮件至sina.com、263.net、etang.com、sohu.com等，但它不能发送邮件至21cn.com。这种情况在免SMTP群发软 件中尤为突出。因此，要尽可能全面的群发邮件到不同的邮箱，建议用户使用不同的群发软件，一种软件不能发送成功的邮址，可以导入到另一种群发软件，试试 看。
7、由于网络速度和服务器设置等多方面的原因，发送的时候可能经常会出现服务器连接失败的提示，您可以将这些邮址重新发送一次，很多又可以成功的。
二、关于邮件地址收集的经验和技巧
1、搜集网站邮址软件。通过扫描网页及相关链接方式，不断搜索网页上公布的Email地址。重点推荐亿虎Email扫描大师、Fast Email Spider和商舟邮箱搜集大师。这些软件对收集行业邮件地址比较有用。建议您先收集一些行业网站的网址，然后利用这些软件搜索这些网站，可以得到大量活 跃程度比较高的邮址。
2、搜索服务器邮址软件。利用字典文件直接从邮件服务器收集邮址，重点推荐邮件地址探索者和伊妹捕神，本站已经整理了一份比较全面的中国邮件服务器和国际邮件服务器的清单以及字典文件，如果您觉得本站提供的邮址不够，可以利用这种搜索软件自行搜索服务器邮址。
3、搜索硬盘、光盘邮址软件。快速搜索电脑硬盘、光盘、软盘中的文本文件、网页文件及*.eml格式文件中的电子邮件地址，重点推荐：小不点 Email地址提取大师和科蓝邮件地址搜寻工具。基于这种软件的用途，您还可以利用teleport等网站下载软件将那些供求信息BBS信息，“拉回”到 自己的电脑，然后用这种软件进行搜索邮址，可以得到大量的有效Email地址。
三、关于邮件地址和管理和验证
1、邮址管理软件。电子邮件地址列表筛选和管理软件，可以帮助客户管理好自己的电子邮件列表，避免发送大量重复垃圾邮件， 重点推荐：Mail List Management(MLM)和欧阳邮件列表管家。MLM软件是我们使用过的邮址管理软件中功能最强，速度最快的软件，100万的邮址几分钟就可以完成 过滤重复邮址、重新排序等。欧阳邮件列表管家则可以快速将一个很大的邮址文件分割成较小的文件，以方便群发。
2、邮址验证软件。采用模拟向被校验邮箱发信，而实际上又并没有发出的方式来对检查邮件地址的存在与否，重点推荐： Advanced Email Verifier和Advanced Maillist Verify。我们在实际使用中发现，很多验证有效的邮址，在群发的时候就是不能发送成功，这是由于邮件服务器设置的原因，所以，如果您需要建立一个自己 的高效率的邮址列表，可以直接使用免smtp服务器的软件导入邮址群发，将那些发送成功的邮址保存下来以便今后使用。
四、关于信息发布软件
由于现在对邮件发送的越来越多的限制，群发邮件很容易产生“垃圾邮件”，很多的人采用供求信息BBS进行推广。这样的软件现在也很多，比较有名的如 商务快车、环球商务信息发布系统、营销之星和网际营销等等。这些软件可以将您的信息发布至国内外上千个BBS站点或者新闻组。但这些软件相对比较贵。</description><category>Email</category><category>Linux</category><category>用户体验</category><category>编程技巧</category><pubDate>Wed, 23 Jul 2008 15:13:51 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/23/65/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=65</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/23/65/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598341/5009704</fs:itemid></item><item><title>Flickr照片搜索器</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598342/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/22/64/feed/</wfw:commentRss><description>好久在工作需要写了一个利用flickr api 写一个照片搜索器,网址:http://bbs.577love.com/pear/test.php</description><category>照片搜索器</category><category>Flickr</category><category>Widget插件</category><pubDate>Tue, 22 Jul 2008 10:22:10 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/22/64/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=64</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/22/64/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598342/5009704</fs:itemid></item><item><title>Apache2.2 configure - 编译配置帮助中文</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598343/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/18/63/feed/</wfw:commentRss><description>`configure&amp;#8217; configures this package to adapt to many kinds of systems.
`configure&amp;#8217; 配置这个包来适合多数系统.
Usage: ./configure [OPTION]&amp;#8230; [VAR=VALUE]&amp;#8230;
语法: ./configure [选项]&amp;#8230; [变量=值]&amp;#8230;
To assign environment variables (e.g., CC, CFLAGS&amp;#8230;), specify them as VAR=VALUE.  See below for descriptions of some of the useful variables.
配置环境变量(例如,CC,CFLAGS),格式为VAR=VALUE. 看下面对这些可用变量的说明.
Defaults for the options are specified in brackets.
选项的默认值括在方括号之中.
Configuration:
配置:
  -h, &amp;#8211;help              display this help and exit 显示这个帮助并退出
      &amp;#8211;help=short        [...]</description><category>Linux</category><category>Apache</category><pubDate>Fri, 18 Jul 2008 12:24:20 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/18/63/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/07/18/63/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/18/63/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598343/5009704</fs:itemid></item><item><title>Yupoo相册插件 phpwind UTF8版本</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598344/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/16/60/feed/</wfw:commentRss><description>————–安装配置开始—————-
安装说明:
首先访问 http://www.yupoo.com 申请一个站长自己的api key
申请过程见图( yupoo申请api_step_x.jpg )
1.解压插件到hack文件夹下面，使目录保持 hack\pw_yupoo\
2. 编辑 hack\pw_yupoo\config.php
根据申请api最后一步获得的api key 和 secretKey 配置config.php文件
$apiKey=”b40a95b25e0451b8aa0120f5xxxxx”;
$secretKey=”gv8lthgvpjexxxx”;
3.修改( \js\wind_c_editor.js )[注意:下面有两个参数因虚拟主机服务器目录修改IMGDIR和HackDIR]
将如下代码复制这个文件最末尾(横线之间的代码):
———————————————-
function $(id) {
return document.getElementById(id);
}
function _attachEvent(obj, evt, func) {
if(obj.addEventListener) {
obj.addEventListener(evt, func, false);
} else if(obj.attachEvent) {
obj.attachEvent(”on” + evt, func);
}
}
function doane(event) {
e = event ? event : window.event;
if(is_ie) {
e.returnValue = false;
e.cancelBubble = true;
} else if(e) {
e.stopPropagation();
e.preventDefault();
}
}
var hiddenobj = new Array();
var pmwinposition = new Array();
function [...]</description><category>phpwind</category><category>yupoo</category><category>Widget插件</category><pubDate>Wed, 16 Jul 2008 19:04:59 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/16/60/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=60</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/16/60/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598344/5009704</fs:itemid></item><item><title>Yupoo相册插件 phpwind gbk版本</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598345/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/16/58/feed/</wfw:commentRss><description>&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8211;安装配置开始&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;-
安装说明:
首先访问 http://www.yupoo.com 申请一个站长自己的api key
申请过程见图( yupoo申请api_step_x.jpg )
1.解压插件到hack文件夹下面，使目录保持 hack\pw_yupoo\
2. 编辑 hack\pw_yupoo\config.php
根据申请api最后一步获得的api key 和 secretKey 配置config.php文件
$apiKey=&amp;#8221;b40a95b25e0451b8aa0120f5xxxxx&amp;#8221;;
$secretKey=&amp;#8221;gv8lthgvpjexxxx&amp;#8221;;
3.修改( \js\wind_c_editor.js )[注意:下面有两个参数因虚拟主机服务器目录修改IMGDIR和HackDIR]
将如下代码复制这个文件最末尾(横线之间的代码):
&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;-
 function $(id) {
return document.getElementById(id);
}
function _attachEvent(obj, evt, func) {
if(obj.addEventListener) {
obj.addEventListener(evt, func, false);
} else if(obj.attachEvent) {
obj.attachEvent(&amp;#8221;on&amp;#8221; + evt, func);
}
}
function doane(event) {
e = event ? event : window.event;
if(is_ie) {
e.returnValue = false;
e.cancelBubble = true;
} else if(e) {
e.stopPropagation();
e.preventDefault();
}
}
var hiddenobj = new Array();
var pmwinposition = new [...]</description><category>phpwind</category><category>yupoo</category><category>Widget插件</category><pubDate>Wed, 16 Jul 2008 18:52:21 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/16/58/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/07/16/58/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/16/58/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598345/5009704</fs:itemid></item><item><title>端口对照表</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598346/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/16/57/feed/</wfw:commentRss><description>端口对照表
http ======&amp;#62; port 80 (Hyper Text Transfer Protocol)
ftp-data ==&amp;#62; port 20 (File Transfer Protocol - Default Data)
ftp =======&amp;#62; port 21 (File Transfer Protocol - Control)
POP3 ======&amp;#62; port 110 (Post Office Protocol version 3)
SMTP ======&amp;#62; port 25 (Simple Mail Transfer Protocol)
NNTP ======&amp;#62; port 119 (Network News Transfer Protocol)
telnet ====&amp;#62; port 23 (Telnet)
Gopher ====&amp;#62; port 70 (Gopher)
IRC [...]</description><category>Linux</category><category>端口对照表</category><pubDate>Wed, 16 Jul 2008 18:49:48 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/16/57/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/07/16/57/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/16/57/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598346/5009704</fs:itemid></item><item><title>Yupoo相册插件 for Netvibes</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598347/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/13/56/feed/</wfw:commentRss><description>安装事项:
其实安装很简单只需一个链接到netvibes,安装平时安装widget 步骤就可以&amp;#8230;
我想跟你分享这个 Netvibes 的模块。想要加到你的页面请按下这个连结。
 
点击以下连接安装上述组件:
安装 UWA
 </description><category>widget</category><category>Yupoo相册插件</category><category>netvibes</category><category>Widget插件</category><pubDate>Sun, 13 Jul 2008 23:33:36 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/13/56/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=56</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/13/56/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598347/5009704</fs:itemid></item><item><title>tar打包一个目录时，去掉其中的几个子目录</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598348/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/09/55/feed/</wfw:commentRss><description>tar cvfz chenxu.tar.gz dir &amp;#8211;exclude dir/dir1 &amp;#8211;exclude dir/dir2/dir3 可以陆续添加, 注意添加排队目录时不要加“/”根符号</description><category>Linux</category><category>编程技巧</category><pubDate>Wed, 09 Jul 2008 14:03:56 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/09/55/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=55</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/09/55/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598348/5009704</fs:itemid></item><item><title>YUPOO相册插件-boblog2.0.X</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598349/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/09/51/feed/</wfw:commentRss><description>安装说明:
1.把yupoo这个文件复制到pulins下，进入blog后台进行相对应绑定设置（也可以直接在yupoo文件下define.php(此文件必须可写0777权限)进行就设置就可以了）
不用后台进行帮绑定的话，就可以直接对这个define.php进行修改，其userid可以这样得到http://www.yupoo.com/api/rest/?m &amp;#8230; gsf810429@gmail.com
2.将文件夹lightbox复制到boblog根目录下面，这一步功能是让相册达到一个 幻灯片浏览效果（可选）
3.最后template目录下找到自己相对应模板文件夹，找到这个elements.php，然后将一个脚本代码插入到一个loadSidebar();这个脚本之前或之后)
&amp;#60;script language=&amp;#8221;javascript&amp;#8221;&amp;#62;
initLightbox();
&amp;#60;/script&amp;#62;
4.在根目录下index.php最后插入一些引用js文件和CSS文件:
acceptrequest(&amp;#8217;act,go,page,part&amp;#8217;) 修改为 acceptrequest(&amp;#8217;act,go,page,part,id&amp;#8217;);
$csslocation.=&amp;#8221;&amp;#60;link rel=\&amp;#8221;stylesheet\&amp;#8221; rev=\&amp;#8221;stylesheet\&amp;#8221; href=\&amp;#8221;lightbox/css/yupoo.css\&amp;#8221; type=\&amp;#8221;text/css\&amp;#8221; media=\&amp;#8221;all\&amp;#8221; /&amp;#62;\n&amp;#8221;;
$csslocation.=&amp;#8221;&amp;#60;link rel=\&amp;#8221;stylesheet\&amp;#8221; rev=\&amp;#8221;stylesheet\&amp;#8221; href=\&amp;#8221;lightbox/css/lightbox.css\&amp;#8221; type=\&amp;#8221;text/css\&amp;#8221; media=\&amp;#8221;all\&amp;#8221; /&amp;#62;\n&amp;#8221;;
$csslocation.=&amp;#8221;&amp;#60;link rel=\&amp;#8221;stylesheet\&amp;#8221; rev=\&amp;#8221;stylesheet\&amp;#8221; href=\&amp;#8221;lightbox/css/moobox.css\&amp;#8221; type=\&amp;#8221;text/css\&amp;#8221; media=\&amp;#8221;all\&amp;#8221; /&amp;#62;\n&amp;#8221;;
$ajax_js=&amp;#8221;&amp;#60;script type=\&amp;#8221;text/javascript\&amp;#8221; src=\&amp;#8221;lightbox/js/prototype.js\&amp;#8221;&amp;#62;&amp;#60;/script&amp;#62;\n&amp;#8221;;
$ajax_js.=&amp;#8221;&amp;#60;script type=\&amp;#8221;text/javascript\&amp;#8221; src=\&amp;#8221;lightbox/js/effects.js\&amp;#8221;&amp;#62;&amp;#60;/script&amp;#62;\n&amp;#8221;;
$ajax_js.=&amp;#8221;&amp;#60;script type=\&amp;#8221;text/javascript\&amp;#8221; src=\&amp;#8221;lightbox/js/scriptaculous.js?load=effects\&amp;#8221;&amp;#62;&amp;#60;/script&amp;#62;\n&amp;#8221;;
$ajax_js.=&amp;#8221;&amp;#60;script type=\&amp;#8221;text/javascript\&amp;#8221; src=\&amp;#8221;lightbox/js/lightbox.js\&amp;#8221;&amp;#62;&amp;#60;/script&amp;#62;\n&amp;#8221;;
还没有yupo API就是去申请Key，如API很明白话，可以参考yupoo API 文档




修正功能如下：
1.file_get_contents和curl函数不支持时BUG
2.修正了绑定时一些复杂问题，现在可以不需要去申请API Key就可以绑定，因为我给大家一个公用API Key,以减少用户在绑定时出现大量问题，而减少时间，给用户带来方便
3.修正了原来图片不能显示问题
yupoo_boblog20相册插件</description><category>Widget插件</category><pubDate>Wed, 09 Jul 2008 12:58:46 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/09/51/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=51</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/09/51/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598349/5009704</fs:itemid></item><item><title>Yupoo相册插件2.0-wordpress</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598350/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/09/49/feed/</wfw:commentRss><description>安装事项：
安装说明：(http://zhangsf.yupoo.com/profile/)
1.把文件夹复制到wordpress插件包plugins文件夹中，进入wordpress后台启用yupooalbum插件
2.进行yupoo账号绑定和得到Authtoken ID进行相应操作,如没有账号API Key 就从(http://www.yupoo.com/services/api/apply)申请API，注意(选择认证为桌面认证)，如果修改过此项用户 绑定接口要修改一下，默认这个绑定时接口桌面认证，所以默认下无需修改此项配置!
3.编码环境调整问题
a.在windows上面请把ypablum.php：$xmlOptions = array(XML_OPTION_CASE_FOLDING =&amp;#62; TRUE, XML_OPTION_SKIP_WHITE =&amp;#62; FALSE);修改成$xmlOptions = array(XML_OPTION_TARGET_ENCODING =&amp;#62; ‘UTF-8′, XML_OPTION_SKIP_WHITE =&amp;#62; FALSE);
b.在linux,freebsd系统就不用修改。
认证绑定式：
1.web绑定 2.桌面绑定 3.移动手机绑定
更新功能 ：
1。更方便绑定API，无需callback一个页面！！直接绑定就可以了！！（注意绑定认证方式采用一个桌面绑定方式！！这样就无需一个返回一个文件什么，这样就更加方便了，申请好API后就可以去后台进行绑定操作）
2。修改一些用户说有些照片看不见问题
wp-ypalbum2相册插件</description><category>Widget插件</category><pubDate>Wed, 09 Jul 2008 12:49:34 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/09/49/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=49</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/09/49/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598350/5009704</fs:itemid></item><item><title>Yupoo相册插件–discuz6.0/5.5</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598351/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/09/46/feed/</wfw:commentRss><description>安装说明：
1.解压缩插件包下，把yupoo文件夹复制到plugins插件文件夹中，把templates目录下yupoo.htm复制到当成模板目录下
2.将CSS和语言变量添加到原来文件中，具体添加配置如下：
复制内容到剪贴板
代码:
/**************************************************************/
yp_show{width:10%;border:0px #eee dotted;float:left;margin:0px;padding:0px;}
.yp_set_show{width:10%;border:0px #eee dotted;float:left;margin:0px;padding:0px;}
.yp_img {margin:5px;border:5px #eee solid;}
.Set { width: 130px; text-align: left; margin-bottom: 15px; overflow: hidden;}
.Set h4  { width: 120px; margin-top: 0px; margin-bottom: 0px; font-size: 15px; font-weight: bold; }
.Set p { margin-top: 2px; font-size: 12px; color: #777; }
.Sets { position: relative; width: 115px; height: 180px; text-align: left; float: left; padding-right: 4px;   [...]</description><category>Yupoo相册插件</category><category>Discuz</category><category>Widget插件</category><pubDate>Wed, 09 Jul 2008 12:37:48 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/09/46/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=46</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/09/46/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598351/5009704</fs:itemid></item><item><title>修改squid的日志格式,让awstats分析</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598352/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/03/45/feed/</wfw:commentRss><description>为了让awstats分析squid的日志,我们要修改一下它的日志格式.我们先看看squid的默认格式和解释吧.
logformat squid  %ts.%03tu %6tr %&amp;#62;a %Ss/%03Hs %&amp;#60;st %rm %ru %un %Sh/%&amp;#60;A %mt
解释如下:
Seconds since epoch; subsecond time (milliseconds);  Response time (milliseconds); Client source IP address;  Squid request status (TCP_MISS etc); HTTP status code; Reply size including HTTP headers;  Request method (GET/POST etc) ; Request URL;  User name;  Squid hierarchy status (DEFAULT_PARENT etc);  Client FQDN;  MIME content [...]</description><category>Linux</category><category>Apache</category><pubDate>Thu, 03 Jul 2008 10:05:42 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/03/45/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=45</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/03/45/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598352/5009704</fs:itemid></item><item><title>awstats安装和配置</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598353/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/02/43/feed/</wfw:commentRss><description>1.下载&amp;#38;&amp;#38;安装
http://awstats.sourceforge.net/
tar .. &amp;#38;&amp;#38; cd …. &amp;#38;&amp;#38; perl awstats_configure.pl
#然后根据提示操作,可以不要这步,直接根据自带的模版定义
#cp  ../cgi-bin/awstats.model.conf /etc/awstats/common.conf
2.按照一下样例设置配置文件：
#cd /etc/awstats
#vi awstats.www.zhangjianfeng.com.conf
Include &amp;#8220;common.conf&amp;#8221;
LogFile=&amp;#8221;/home/apache/logs/access_log.%YYYY-24%MM-24%DD-24&amp;#8243;  %YYYY-24%MM-24%DD-24&amp;#62;&amp;#62;&amp;#62;
是指用24小时前的年月日日志文件名,如access_log.20061206
SiteDomain=&amp;#8221;www.zhangjianfeng.com&amp;#8221;
HostAliases=&amp;#8221;zhangjianfeng.com&amp;#8221;
DefaultFile=&amp;#8221;index.html&amp;#8221;
DirData=&amp;#8221;/home/cgi-bin/awstats/data/&amp;#8221;
3.更新数据
perl awstats.pl -config=mysite -update
4.配置apache
# Directives to allow use of AWStats as a CGI
Alias /awstatsclasses &amp;#8220;/app/awstats-6.5/wwwroot/classes/&amp;#8221;
Alias /awstatscss &amp;#8220;/app/awstats-6.5/wwwroot/css/&amp;#8221;
Alias /awstatsicons &amp;#8220;/app/awstats-6.5/wwwroot/icon/&amp;#8221;
ScriptAlias /awstats/ &amp;#8220;/app/awstats-6.5/wwwroot/cgi-bin/&amp;#8221;
&amp;#60;Directory &amp;#8220;/app/awstats-6.5/wwwroot&amp;#8221;&amp;#62;
Options None
AllowOverride None
Order allow,deny
Allow from all
&amp;#60;/Directory&amp;#62;
5.对要分析的虚拟主机, 将CustomLog logs/access_xxx_log &amp;#62;&amp;#62;&amp;#62;
&amp;#60;&amp;#60;&amp;#60;common中的common改成combined
6. 重启apache,如果虚拟主机或目录配置好了,
就http://server/awstats/awstats.pl?config=mysite
7.添加定时分析指令
crontab -e
* */1 * * * (cd /path/to/apache/cgi-bin/; ./awstats.pl &amp;#62;&amp;#62;&amp;#62;
&amp;#60;&amp;#60;&amp;#60;-update -config=blog.zhangjianfeng.com)
8.直接分析gunzip压过的log
查了一下,如果是gz格式的压缩包，可以在配置文件中参考如下格式修改：
LogFile=&amp;#8221;gzip -d [...]</description><category>Apache</category><category>awstats</category><category>编程技巧</category><pubDate>Wed, 02 Jul 2008 14:27:27 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/02/43/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/07/02/43/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/02/43/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598353/5009704</fs:itemid></item><item><title>Apache rewrite例子集合</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598354/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/07/02/42/feed/</wfw:commentRss><description>虚拟主机世界近期更换了域名，新域名为 www.wbhw.com, 更加简短好记。这时需要将原来的域名 webhosting-world.com, 以及论坛所在地址 webhosting-world.com/forums/ 定向到新的域名，以便用户可以找到，并且使原来的论坛 URL 继续有效而不出现 404 未找到，比如原来的 http://www. webhosting-world.com/forums/-f60.html, 让它在新的域名下继续有效，点击后转发到 http://bbs.wbhw.com/-f60.html, 这就需要用 apache 的 Mod_rewrite 功能来实现。
在&amp;#60; virtualhost&amp;#62; 中添加下面的重定向规则：
RewriteEngine On
# Redirect webhosting-world.com/forums to bbs.wbhw.com
RewriteCond %{REQUEST_URI} ^/forums/
RewriteRule /forums/(.*) http://bbs.wbhw.com/$1 [R=permanent,L]
# Redirect webhosting-world.com to wbhw.com
RewriteCond %{REQUEST_URI} !^/forums/
RewriteRule /(.*) http://www.wbhw.com/$1 [R=permanent,L]
添加了上面的规则以后， 里的全部内容如下：
&amp;#60; virtualhost *:80&amp;#62;
ServerAlias webhosting-world.com
ServerAdmin admin@webhosting-world.com
DocumentRoot /path/to/webhosting-world/root
ServerName www.webhosting-world.com
RewriteEngine On
# Redirect webhosting-world.com/forums to bbs.wbhw.com
RewriteCond %{REQUEST_URI} ^/forums/
RewriteRule [...]</description><category>Apache</category><pubDate>Wed, 02 Jul 2008 14:23:31 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/07/02/42/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=42</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/07/02/42/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598354/5009704</fs:itemid></item><item><title>如何编写兼容各主流邮箱的HTML邮件</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598355/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/06/13/40/feed/</wfw:commentRss><description>1、全局规则之一，不要写&amp;#60;style&amp;#62;标签、不要写class，所有CSS都用style属性，什么元素需要什么样式就用style写内联的CSS。
2、全局规则之二，少用图片，邮箱不会过滤你的img标签，但是系统往往会默认不载入陌生来信的图片，如果用了很多图片的邮件，在片没有载入的情况下，丑陋无比甚至看不清内容，没耐心的用户直接就删除了。图片上务必加上alt。
3、不要在style里面写float、position这些style，因为会被过滤。那么如何实现左右布局或者更复杂的布局呢？用table。
4、 style内容里面background可以设置color，但是img会被过滤，就是说不能通过CSS来设置背景图片了。但是有一个很有意思的元素属 性，也叫background，里面可以定义一个图片路径，这是个不错的替代方案，虽然这样功能有限，比如无法定位背景图片了，有总比没有好。例如要给一 个单元格加一个背景，必须这样写：
5、div模式的邮箱不支持flash，iframe模式的有待验证。</description><category>前端开发</category><category>HTML邮件</category><category>编程技巧</category><pubDate>Fri, 13 Jun 2008 12:14:14 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/06/13/40/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/?p=40</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/06/13/40/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598355/5009704</fs:itemid></item><item><title>eAccelerator和php5.1配置安装</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598356/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/04/04/39/feed/</wfw:commentRss><description>网上一直流传eAccelerator不支持php5.1 我还是决定试一下，结果发现Class中的protected变量出错。
然后又在Google上搜索，发现很多人提出这个问题，最后在eAccelerator.net看到作者已经解决了这个问题，只是没有放进eAccelerator0.95的发行版：
http://eaccelerator.net/
svn checkout http://dev.eaccelerator.net/eaccelerator/trunk
也可以直接下载这个安装包(可以从官方网站上面下载)
./configure &amp;#8211;enable-eaccelerator &amp;#8211;with-eaccelerator-shared-memory &amp;#8211;with-eaccelerator-sessions &amp;#8211;with-eaccelerator-content-caching &amp;#8211;with-eaccelerator-disassembler -with-php-config=/usr/local/php/bin/php-config
make
make install</description><category>Linux</category><category>PHP</category><category>Apache</category><category>eAccelerator</category><pubDate>Fri, 04 Apr 2008 03:29:01 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/04/04/39/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/04/04/39/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/04/04/39/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598356/5009704</fs:itemid></item><item><title>Imagemagick安装和配置</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598357/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/04/01/38/feed/</wfw:commentRss><description>首先到http://www.Imagemagick.org去下载有关软件包来安装和配置
１．安装Imagemagick(6.3.9-10):　
　　./configure &amp;#8211;prefix=/usr/local/ImageMagick &amp;#8211;enable-shared &amp;#8211;enable-lzw LDFLAGS=&amp;#8221;-L/usr/lib&amp;#8221; CPPFLAGS=&amp;#8221;-I/usr/include&amp;#8221;
２．安装Imagemagick2.1.0-rc（PHP客户端工具为例）:
    ./configure &amp;#8211;with-php-config=/usr/local/php/bin/php-config &amp;#8211;with-imagick=/usr/local/ImageMagick
３．安装附加软件magickwand1.7.0(PHP为例):
   ./configure &amp;#8211;with-php-config=/usr/local/php/bin/php-config &amp;#8211;with-magickwand=/usr/local/ImageMagick
以上安装测试在linux AS4上调试成功．WEB环境是：Apache２.0.55+Php5
大家要以在ＰＨＰ4版上可以进行调试一下．ＰＨＰ４这个环境我没有试过．请大家也要以尝试一下．
关于其他Imagemagick客户端软件有java、perl、python、C++等等有兴趣可以调试一下。</description><category>Linux</category><category>安装和配置</category><category>Imagemagick</category><category>Apache</category><pubDate>Tue, 01 Apr 2008 02:34:27 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/04/01/38/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/04/01/38/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/04/01/38/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598357/5009704</fs:itemid></item><item><title>MySQL4.1以上版本字符集</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598358/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/03/23/37/feed/</wfw:commentRss><description>MySQL 4.1开始，对多语言的支持有了很大变化 (这导致了问题的出现)。尽管大部分的地方 (包括个人使用和主机提供商)，MySQL 3、4.0 仍然占主导地位；但 MySQL 4.1 乃至5.0是 MySQL 官方推荐的数据库，已经有主机提供商开始提供并将会越来越多；因为 latin1 在许多地方 (下边会详细描述具体是哪些地方) 作为默认的字符集，成功的蒙蔽了许多 PHP 程序的开发者和用户，掩盖了在中文等语言环境下会出现的问题。
MySQL 4.1开始把多国语言字符集分的更加详细，所以导致数据库迁移，或则dz论坛升级到4.0后（dz4.0开始使用gbk或utf-8编码）出现乱码问题。
MySQL 4.1的字符集支持(Character Set Support)有两个方面：字符集(Character set)和排序方式(Collation)。对于字符集的支持细化到四个层次: 服务器(server)，数据库(database)，数据表(table)和连接(connection)。
查看系统的字符集和排序方式的设定可以通过下面的两条命令：
QUOTE:
mysql&gt; SHOW VARIABLES LIKE &amp;#8216;character_set_%&amp;#8217;;
+&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8211;+&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;-+
&amp;#124; Variable_name &amp;#124; Value &amp;#124;
+&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8211;+&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;&amp;#8212;-+
&amp;#124; character_set_client &amp;#124; latin1 &amp;#124;
&amp;#124; character_set_connection &amp;#124; latin1 &amp;#124;
&amp;#124; character_set_database &amp;#124; latin1 &amp;#124;
&amp;#124; character_set_results &amp;#124; latin1 &amp;#124;
&amp;#124; character_set_server &amp;#124; latin1 &amp;#124;
&amp;#124; character_set_system &amp;#124; utf8 &amp;#124;
&amp;#124; [...]</description><category>Linux</category><category>MYSQL</category><category>编程技巧</category><category>字符集</category><pubDate>Sun, 23 Mar 2008 18:46:02 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/03/23/37/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/03/23/37/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/03/23/37/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598358/5009704</fs:itemid></item><item><title>AJAX框架–Spry 介绍</title><link>http://item.feedsky.com/~feedsky/painiu/~6901760/99598359/5009704/1/item.html</link><wfw:commentRss>http://blog.painiu.com/2008/03/18/36/feed/</wfw:commentRss><description>最近看完了Adobe的AJAX框架Spry的所有文档和Demo，觉得这东西挺有意思的，在这里介绍给大家。
Spry框架的开发人员是来 自于DreamWeaver开发组，他们把Spry框架做为DreamWeaver的一个完美补充为设计者和开发者提供对AJAX技术的支持。Spry框 架是一个轻量级的AJAX框架，它的代码和标签十分的简洁和优雅，以保证让用户能便捷的使用，并不会为过繁杂的标签所惑。
Spry框架的官方网址：
http://labs.adobe.com/technologies/spry
在这里你能找到最新的文档和下载最新的Spry版本，目前版本是预览版1.3_08-11。
大家可以先在下面的看到Spry的示例和Demo：
http://labs.adobe.com/technologies/spry/samples/
http://labs.adobe.com/technologies/spry/demos/
Spry框架其实就是一个客户端的JavaScript类库，包含了一组JavaScript文件，CSS，图片文件，通过官方的框架结构图，我们能看 出Spry框架的核心是四部分：XML数据器(XML Data Sets)，动态区域(Dynamic Regions)，装饰器库(Widgets)和变化效果库(Transition Effects)。

我们可以看出，Spry框架接收的数据格式只是XML数据格式。
一，XML数据器(XML Data Sets)
XML数据器是一个提供了从XML文档中载入和管理数据的JavaScript对象。它是Spry框架中处理XML格式数据的一个JavaScript 功能实现。通过它，我们可以从XML中直接得到转换成表格数据格式的行和列的值，其实就是数组。它封装了获取XMLhttpRequest的方法，和发送 并接收数据等一系列获取数据的方法。
要创建一个XML数据器，你必须在你的HTML文件中加入两行引入JavaScript文件的代码：
上面引入的是Spry框架的核心js文件之一。&amp;#8221;xpath.js&amp;#8221;是Google基于XPath 1.0标准的JavaScript功能实现。你如果想获得更多的关于它的信息，可以访问Google的开源项目 google-ajaxslt project page .
&amp;#8220;SpryData.js&amp;#8221;则包含了定义XML数据器和动态区域的代码。
构造XML数据器就好像新建一个类一样，用&amp;#8221;new&amp;#8221;关键字即可：
var dsPhotos = new Spry.Data.XMLDataSet(&amp;#8221;/photos.php?galleryid=2000&amp;#8243;, &amp;#8220;/gallery/photos/photo&amp;#8221;);
Spry框架为XML数据器提供了一些有特色的功能：如数据排序，数据过滤，按指定时间间隔自动更新，并引入了观察者通知模式以支持事件的触发。
关于XML数据器更多资料，大家可以参考http://labs.adobe.com/technologies/spry/articles/data_set_overview/，这一部分笔者已经翻译完成了，但英文原文其实写的通俗易懂，如果对一些名词翻译的不准确反倒会误导了大家，所以还是不贴出来了，大家可以参考官方英文文档。
二，动态区域(Dynamic Regions)
一旦你建立了XML数据器，你就可以在动态区域中去显示这个数据器的数据了。
创建动态区域块很简单，只要在html标签的相应位置加上&amp;#8221;spry:region&amp;#8221;属性就可以了，Spry框架就会知道这一块是被标识成动态区域了。
在动态区域，你可以有条件的选择要输出的数据，也可用循环输出。
动态区域另一个特点就是，它分为master和detail两个区域类型。
如下面的Demo截图：

master区域的数据改变会使detail区域的数据相应发生改变

两者都注册成XML数据器的观察者

当master区域的数据变化时，触发detail区域的响应事件，从面达到更新相应数据。
大家可参考http://labs.adobe.com/technologies/spry/samples/DataSetMasterDetailSample.html所示的功能。
这只是动态区域简单的示例，复杂的情况可能会有多个XML数据器与多个动态区域相互关联触发。
三，装饰器库(Widgets)
一个装饰器是由一组HTML,CSS,JavaScript封装成的高级UI。最常见的装饰器有可折叠的菜单，树型菜单和选项table面板等。这些对 象都比较难于创建，需要一些更高级的编程经验。Spry的开发组在创建装饰器这一概念就是希望开发者们能相互协作，共享各自的设计，把这些高级界面元素用 在自己的页面上。
Spry框架下的装饰器是易于编辑的。这种模型非常适合于设计者和编辑人员：要改变外观，只要改变CSS就可以了，要增加一个可折叠菜单只要copy和paste一个代码块就够了。
如，你能看懂的这段代码是创建了一个可折叠菜单吗？
Panel Header 1
Panel 1 Content
Panel Header 2
Panel 2 Content
Panel Header 3
Panel 3 Content
var acc1 = new Hanzo.Widget.Accordion(&amp;#8221;Acc1&amp;#8243;);
这段代码是非常简洁清晰的，没有什么繁杂的标签，这样设计是为了易于阅读。
关于这个例子，可以参考http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html
四，变化效果库(Transition Effects)
Spry框架的变化效果库都存于SpryEffects.js文件中，是基于JavaScript的一些动态变化效果，如，淡出，改变形状等。
Spry框架在设计时，曾考虑直接用第三方的效果库，如Script.aculo.us，但后来开发小组觉得要保证框架代码和标签的一致性，还是选择了 自已开发，但是也基本上是以Script.aculo.us为原型进行设计，因为Script.aculo.us 本身就是一个非常优秀的变化效果库框架。
由于Spry框架现在只是预览版，所以目前只支持七种变换：
Appear/Fade Makes an element appear or fade away
Highlight Flashes a color as [...]</description><category>AJAX</category><category>前端开发</category><category>Spry</category><pubDate>Tue, 18 Mar 2008 11:55:15 +0800</pubDate><author>数字人</author><comments>http://blog.painiu.com/2008/03/18/36/#comments</comments><guid isPermaLink="false">http://blog.painiu.com/2008/03/18/36/</guid><dc:creator>数字人</dc:creator><fs:srclink>http://blog.painiu.com/2008/03/18/36/</fs:srclink><fs:srcfeed>http://blog.painiu.com/feed/</fs:srcfeed><fs:itemid>feedsky/painiu/~6901760/99598359/5009704</fs:itemid></item></channel></rss>