<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.acily.com/styles/feedsky1.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:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.acily.com" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/acily" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 31 Dec 2009 14:57:25 GMT</lastBuildDate><title>阿祠手记</title><description>二十年匆匆而过，失去了很多...</description><image><url>http://www.feedsky.com/feed/acily/sc/gif</url><title>阿祠手记</title><link>http://www.acily.com</link></image><link>http://www.acily.com</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Thu, 31 Dec 2009 15:31:04 GMT</pubDate><item><title>元旦，新主题上线</title><link>http://www.acily.com/archives/199.html</link><content:encoded>&lt;p&gt;&lt;a href=&quot;http://www.acily.com/wp-content/uploads/2009/12/newtheme.jpg&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-200&quot; title=&quot;newtheme&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/newtheme.jpg&quot; alt=&quot;newtheme 元旦，新主题上线&quot; width=&quot;300&quot; height=&quot;150&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
麻木的从梦中惊醒，打开电脑，发现已经是下午3点了，继续完善主题，修改样式，JS，再看看时钟，已经5点了，今天31号。。翻出兜里的钢镚，捡出其中的毛毛角角，再看看能花的已经不多了，想想该如何解决今天的营养问题，泡面or炒面？再看看手里的钢镚，还是泡面吧，经济实惠。。&lt;br /&gt;
元旦了，弄了个新主题，放弃了嵌套回复，用了一些特效，FF和IE测试无错，本机测试速度没有影响，不知道其他人访问怎么样，请看过的给个意见。。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317510772/acily/feedsky/s.gif?r=http://www.acily.com/archives/199.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510772/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510772/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/199.html/feed</wfw:commentRss><slash:comments>3</slash:comments><description>麻木的从梦中惊醒，打开电脑，发现已经是下午3点了，继续完善主题，修改样式，JS，再看看时钟，已经5点了，今天31号。。翻出兜里的钢镚，捡出其中的毛毛角角，再看看能花的已经不多了，想想该如何解决今天的营养问题，泡面or炒面？再看看手里的钢镚，还是泡面吧，经济实惠。。
元旦了，弄了个新主题，放弃了嵌套回复，用了一些特效，FF和IE测试无错，本机测试速度没有影响，不知道其他人访问怎么样，请看过的给个意见。。&lt;img src=&quot;http://www1.feedsky.com/t1/317510772/acily/feedsky/s.gif?r=http://www.acily.com/archives/199.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510772/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510772/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>胡说九道</category><pubDate>Thu, 31 Dec 2009 22:57:25 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/199.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=199</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/199.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317510772/1250795</fs:itemid></item><item><title>12/17 博客设计稿</title><link>http://www.acily.com/archives/198.html</link><content:encoded>&lt;p&gt;从构图到设计完成总共花了半天时间，主要是练手，也顺便熟悉FW CS3，以前用FW8有个很有用的命令，在CS3里竟然没了，只好自己画，还搞出一大堆图层出来，FW里的英文字体效果跟网页显示的效果差太多，自己都迷了。。&lt;br /&gt;
笔记本越来越经不住折腾了，开个CS3温度立马飙到80多度，而且因为HP的模具设计太烂，CPU跟显卡的散热靠的很近，一热都热，硬盘跟风扇也跟着呜呜狂转，还好这两天降温了，不然90度只是小KS，玩游戏更不用奢望了，100度其实并不遥远，不死机就不错了。。&lt;br /&gt;
&lt;a title=&quot;redblog by 阿祠, on Flickr&quot; href=&quot;http://www.flickr.com/photos/acisky/4192621558/&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4040/4192621558_1a24b74575_b.jpg&quot; alt=&quot;redblog&quot; width=&quot;512&quot; height=&quot;1024&quot; title=&quot;12/17 博客设计稿&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317510866/acily/feedsky/s.gif?r=http://www.acily.com/archives/198.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510866/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510866/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/198.html/feed</wfw:commentRss><slash:comments>31</slash:comments><description>从构图到设计完成总共花了半天时间，主要是练手，也顺便熟悉FW CS3，以前用FW8有个很有用的命令，在CS3里竟然没了，只好自己画，还搞出一大堆图层出来，FW里的英文字体效果跟网页显示的效果差太多，自己都迷了。。
笔记本越来越经不住折腾了，开个CS3温度立马飙到80多度，而且因为HP的模具设计太烂，CPU跟显卡的散热靠的很近，一热都热，硬盘跟风扇也跟着呜呜狂转，还好这两天降温了，不然90度只是小KS，玩游戏更不用奢望了，100度其实并不遥远，不死机就不错了。。&lt;img src=&quot;http://www1.feedsky.com/t1/317510866/acily/feedsky/s.gif?r=http://www.acily.com/archives/198.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510866/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510866/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>前端设计</category><pubDate>Thu, 17 Dec 2009 19:16:47 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/198.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=198</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/198.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317510866/1250795</fs:itemid></item><item><title>微软Bing for iPhone应用发布</title><link>http://www.acily.com/archives/197.html</link><content:encoded>&lt;p&gt;微软终于正式发布了针对iPhone的Bing应用，设计精良，最重要的是为iPhone增加了更多应用，也代表微软进一步涉足移动互联网，应用包括以下几个功能：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;标准搜索&lt;/li&gt;
&lt;li&gt;语言搜索&lt;/li&gt;
&lt;li&gt;搜索本地电影院和餐厅&lt;/li&gt;
&lt;li&gt;每天自动更换背景&lt;/li&gt;
&lt;li&gt;新闻&lt;/li&gt;
&lt;li&gt;地图指南&lt;/li&gt;
&lt;li&gt;定位我的位置&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-195&quot; title=&quot;0011&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/0011.jpg&quot; alt=&quot;0011 微软Bing for iPhone应用发布&quot; width=&quot;300&quot; height=&quot;430&quot; /&gt;&lt;img class=&quot;alignnone size-full wp-image-196&quot; title=&quot;0021&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/0021.jpg&quot; alt=&quot;0021 微软Bing for iPhone应用发布&quot; width=&quot;300&quot; height=&quot;430&quot; /&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317510971/acily/feedsky/s.gif?r=http://www.acily.com/archives/197.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510971/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510971/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/197.html/feed</wfw:commentRss><slash:comments>5</slash:comments><description>微软终于正式发布了针对iPhone的Bing应用，设计精良，最重要的是为iPhone增加了更多应用，也代表微软进一步涉足移动互联网，应用包括以下几个功能：

标准搜索
语言搜索
搜索本地电影院和餐厅
每天自动更换背景
新闻
地图指南
定位我的位置&lt;img src=&quot;http://www1.feedsky.com/t1/317510971/acily/feedsky/s.gif?r=http://www.acily.com/archives/197.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510971/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510971/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Bing</category><category>关注网络</category><category>iPhone</category><pubDate>Thu, 17 Dec 2009 12:46:55 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/197.html#comments</comments><guid isPermaLink="false">http://www.acily.com/archives/197.html</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/197.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317510971/1250795</fs:itemid></item><item><title>史上最昂贵的10个博客</title><link>http://www.acily.com/archives/194.html</link><content:encoded>&lt;h4&gt;11 – BlogOhBlog.com : 10000美元&lt;/h4&gt;
&lt;p&gt;BlogOhBlog.com由一名名叫Bob Jiwakacau的马来西亚人在2007年建立，在博客建立仅仅5个月之后，便以10000美元的价格被印度人Jai Nishal Verma收购，尽管BlogOhBlog很年轻，Bob靠着发布免费WordPress主题每月收入$2000，如此年轻的博客竟然能卖到10000美元让很多人津津乐道，也为它带来了很多反链。&lt;br /&gt;
&lt;a href=&quot;http://www.blogohblog.com/&quot;&gt;访问 Blog Oh Blog&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;10 – Ensight.org : 15000美元&lt;/h4&gt;
&lt;p&gt;在2004年，博客还没有如此流行，Ensight.org仍然卖出了15000美元的高价，虽然很多博客也开始尝试出售，但是显然都没有它值钱。&lt;br /&gt;
&lt;a href=&quot;http://www.ensight.org/&quot;&gt;访问 Ensight&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;9 – JohnCow.com : 50000美元&lt;/h4&gt;
&lt;p&gt;是否觉得John Cow很可笑，这个博客在两年之后才被大众所知道，博客敛钱迅速并在建立不久就被出售。&lt;br /&gt;
这个时候，博客的价值已经达到了50000万元，新的拥有者Jason Katzenback将博客带向了一个新的高度，现在，博客拥有32000订阅量，每月盈利3000美元。&lt;br /&gt;
&lt;a href=&quot;http://www.johncow.com/&quot;&gt;访问 John Cow&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;8 – WpDesigner: 65000美元&lt;/h4&gt;
&lt;p&gt;WpDesigner大概是第一个投身WordPress的博客，这听起来很不可思议，因为在现在数以亿计的博客都与WordPress有或多或少的关系，但是在2006年，WordPress并不流行。&lt;br /&gt;
博客因为WordPress的名气而迅速走红，它的拥有者建立了一个收费主题俱乐部，每月能赚到$900，在2008年3月被企业家Pawel Ciszewski以65000美元的价格收购，在被收购之后，博客迅速走向灭亡，Pawel Ciszewski对网站毫无作为只是鼓吹他的名言“大家好，我是这个博客的拥有者。。。”&lt;br /&gt;
&lt;a href=&quot;http://www.wpdesigner.com/&quot;&gt;访问 WpDesigner&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;7 – BlogHerald.com : 70000美元&lt;/h4&gt;
&lt;p&gt;Duncan Riley在2003年3月建立，第一个关于博客的博客，Blog Herald是目前最大的博客资源站。&lt;br /&gt;
2006年2月，Blog Herald被Problogging公司收购，几年后被转手买给了Splashpress Media公司，这个博客很赚钱，他被卖出了1200万美元的天价。&lt;br /&gt;
&lt;a href=&quot;http://www.blogherald.com/&quot;&gt;访问 Blog Herald&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;6 – Performancing.com : $100,000&lt;/h4&gt;
&lt;p&gt;Performancing是一个致力于帮助博客作者获得成功的博客，很多著名的博客作家比如Brian Clark, Brian Gardner 和Nathan Rice都投递过文章。&lt;br /&gt;
Performancing在2007年被SlashPress Media以100000美元收购（该公司同时也拥有Blog Herald博客）&lt;br /&gt;
&lt;a href=&quot;http://www.performancing.com/&quot;&gt;访问 Performancing&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;5 – TheConsumerist.com : 700万美元&lt;/h4&gt;
&lt;p&gt;Consumerist建立于2005年12月，Joel Johnson担任编辑，博客以消费者维权，购物体验和公司话题为主，它们也提供优惠购物券，所有在美国消费群体中很流行。&lt;br /&gt;
它在2008年11月以难以置信的700万美元被消费者联盟收购，今天，博客仍然被运营的很好，700万美元只是投资而已。&lt;br /&gt;
&lt;a href=&quot;http://www.theconsumerist.com/&quot;&gt;访问 The Consumerist&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;4 – Deadline.com : 1500万美元&lt;/h4&gt;
&lt;p&gt;Nikki Finke于2006年3月建立，Deadline.com主要以介绍好莱坞电影新闻为主，博客在短期内迅速成功。&lt;br /&gt;
2009年6月23号，Mail.com 收购了Deadline.com并雇佣Nikki Finke管理该站。&lt;br /&gt;
&lt;a href=&quot;http://www.catswhoblog.com/the-10-most-expensive-blogs-of-all-times&quot;&gt;访问 Deadline&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;3 – Bankaholic.com : 1500万美元&lt;/h4&gt;
&lt;p&gt;金融业是个利润丰厚的行业，也许John Wu建立Bankaholic.com的时候便知道了，但是，他没有想到的是这个博客在一些年后会达到1500万美元的价值。&lt;br /&gt;
&lt;a href=&quot;http://www.bankaholic.com/&quot;&gt;访问 Bankaholic&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;2 – ArsTechnica.com : 2500万美元&lt;/h4&gt;
&lt;p&gt;Jon Stokes和Ken Fisher在1998年建立了 Ars Technica，每月约有440万访问者，2008年Condé Nast以250万美元的价格收购了该站，同样以250万美元德价格收购了另一个网站Wired.com。&lt;br /&gt;
10年之后&lt;br /&gt;
&lt;a href=&quot;http://www.arstechnica.com/&quot;&gt;访问 Ars Technica&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;1 – PaidContent.org : 3000万美元&lt;/h4&gt;
&lt;p&gt;Journalist Rafat Ali在2002年建立了PaidContent.org，以新闻、信息和商业数字信息统计为主，最后和它的联营公司ContentNext一起被Guardian Media Group以3000万美元的价格收购。&lt;br /&gt;
&lt;a href=&quot;http://www.paidcontent.org/&quot;&gt;访问 Paid Content&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;看了这些，你是否想说些什么。。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317510972/acily/feedsky/s.gif?r=http://www.acily.com/archives/194.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510972/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510972/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/194.html/feed</wfw:commentRss><slash:comments>13</slash:comments><description>11 – BlogOhBlog.com : 10000美元
BlogOhBlog.com由一名名叫Bob Jiwakacau的马来西亚人在2007年建立，在博客建立仅仅5个月之后，便以10000美元的价格被印度人Jai Nishal Verma收购，尽管BlogOhBlog很年轻，Bob靠着发布免费WordPress主题每月收入$2000，如此年轻的博客竟然能卖到10000美元让很多人津津乐道，也为它带来了很多反链。
访问 Blog Oh Blog
10 – Ensight.org : 15000美元
在2004年，博客还没有如此流行，Ensight.org仍然卖出了15000美元的高价，虽然很多博客也开始尝试出售，但是显然都没有它值钱。
访问 Ensight
9 – JohnCow.com : 50000美元
是否觉得John Cow很可笑，这个博客在两年之后才被大众所知道，博客敛钱迅速并在建立不久就被出售。
这个时候，博客的价值已经达到了50000万元，新的拥有者Jason Katzenback将博客带向了一个新的高度，现在，博客拥有32000订阅量，每月盈利3000美元。
访问 John Cow
8 – WpDesigner: 65000美元
WpDesigner大概是第一个投身WordPress的博客，这听起来很不可思议，因为在现在数以亿计的博客都与WordPress有或多或少的关系，但是在2006年，WordPress并不流行。
博客因为WordPress的名气而迅速走红，它的拥有者建立了一个收费主题俱乐部，每月能赚到$900，在2008年3月被企业家Pawel Ciszewski以65000美元的价格收购，在被收购之后，博客迅速走向灭亡，Pawel Ciszewski对网站毫无作为只是鼓吹他的名言“大家好，我是这个博客的拥有者。。。”
访问 WpDesigner
7 – BlogHerald.com : 70000美元
Duncan Riley在2003年3月建立，第一个关于博客的博客，Blog Herald是目前最大的博客资源站。
2006年2月，Blog Herald被Problogging公司收购，几年后被转手买给了Splashpress Media公司，这个博客很赚钱，他被卖出了1200万美元的天价。
访问 Blog Herald
6 – Performancing.com : $100,000
Performancing是一个致力于帮助博客作者获得成功的博客，很多著名的博客作家比如Brian Clark, Brian Gardner 和Nathan Rice都投递过文章。
Performancing在2007年被SlashPress Media以100000美元收购（该公司同时也拥有Blog Herald博客）
访问 Performancing
5 – TheConsumerist.com : [...]&lt;img src=&quot;http://www1.feedsky.com/t1/317510972/acily/feedsky/s.gif?r=http://www.acily.com/archives/194.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317510972/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317510972/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Wordpress</category><category>胡说九道</category><pubDate>Thu, 17 Dec 2009 10:42:23 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/194.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=194</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/194.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317510972/1250795</fs:itemid></item><item><title>燃烧吧！小宇宙</title><link>http://www.acily.com/archives/193.html</link><content:encoded>&lt;p&gt;这几天一直在考虑如何将博客继续下去，是仅仅作为一个发泄的场所，还是作为技术交流，如果仅仅是写些胡言乱语，我的文笔实在不怎么样，如果作技术，也就那样，这时我目前最犹豫的事。。&lt;br /&gt;
&lt;object classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot; width=&quot;257&quot; height=&quot;33&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;&gt;&lt;param name=&quot;src&quot; value=&quot;http://xiami.com/widget/0_380742/singlePlayer.swf&quot; /&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;embed type=&quot;application/x-shockwave-flash&quot; width=&quot;257&quot; height=&quot;33&quot; src=&quot;http://xiami.com/widget/0_380742/singlePlayer.swf&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
歌名：燃烧吧！小宇宙&lt;br /&gt;
演唱：牛奶@咖啡&lt;br /&gt;
专辑：燃烧吧！小宇宙&lt;br /&gt;
（摩托罗拉L7手机广告歌）&lt;br /&gt;
曲：牛奶@咖啡 词：富妍(Kiki)&lt;br /&gt;
小宇宙 燃烧吧!&lt;br /&gt;
我要变得更强大&lt;br /&gt;
变强大 一刹那&lt;br /&gt;
让心中的力量&lt;br /&gt;
全部爆发&lt;/p&gt;
&lt;p&gt;我是辛蒂瑞拉&lt;br /&gt;
我就 是辛巴达&lt;br /&gt;
我就 是梦想家&lt;br /&gt;
谁也 别想 主宰&lt;br /&gt;
我奇妙的想法&lt;br /&gt;
我会施展魔法&lt;br /&gt;
王子变成了青蛙&lt;br /&gt;
我就是梦想家&lt;br /&gt;
谁也 别想 阻挡&lt;br /&gt;
我前进的步伐&lt;br /&gt;
我因为得到爱&lt;br /&gt;
因为爱和梦想&lt;br /&gt;
慢慢地长大&lt;br /&gt;
在我的世界里&lt;br /&gt;
希望 勇气 才是&lt;br /&gt;
第一主题&lt;br /&gt;
小宇宙 燃烧吧!&lt;br /&gt;
我要变得更强大&lt;br /&gt;
变强大 一刹那&lt;br /&gt;
找到快乐的方法&lt;br /&gt;
小宇宙 燃烧吧!&lt;br /&gt;
我要变得更强大&lt;br /&gt;
变强大 一刹那&lt;br /&gt;
让心中的力量&lt;br /&gt;
全部爆发&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317511010/acily/feedsky/s.gif?r=http://www.acily.com/archives/193.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511010/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511010/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/193.html/feed</wfw:commentRss><slash:comments>14</slash:comments><description>这几天一直在考虑如何将博客继续下去，是仅仅作为一个发泄的场所，还是作为技术交流，如果仅仅是写些胡言乱语，我的文笔实在不怎么样，如果作技术，也就那样，这时我目前最犹豫的事。。

歌名：燃烧吧！小宇宙
演唱：牛奶@咖啡
专辑：燃烧吧！小宇宙
（摩托罗拉L7手机广告歌）
曲：牛奶@咖啡 词：富妍(Kiki)
小宇宙 燃烧吧!
我要变得更强大
变强大 一刹那
让心中的力量
全部爆发
我是辛蒂瑞拉
我就 是辛巴达
我就 是梦想家
谁也 别想 主宰
我奇妙的想法
我会施展魔法
王子变成了青蛙
我就是梦想家
谁也 别想 阻挡
我前进的步伐
我因为得到爱
因为爱和梦想
慢慢地长大
在我的世界里
希望 勇气 才是
第一主题
小宇宙 燃烧吧!
我要变得更强大
变强大 一刹那
找到快乐的方法
小宇宙 燃烧吧!
我要变得更强大
变强大 一刹那
让心中的力量
全部爆发&lt;img src=&quot;http://www1.feedsky.com/t1/317511010/acily/feedsky/s.gif?r=http://www.acily.com/archives/193.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511010/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511010/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>关注网络</category><pubDate>Wed, 16 Dec 2009 20:52:52 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/193.html#comments</comments><guid isPermaLink="false">http://www.acily.com/archives/193.html</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/193.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317511010/1250795</fs:itemid></item><item><title>利用自定义域为每篇日志指定不同侧边栏</title><link>http://www.acily.com/archives/192.html</link><content:encoded>&lt;p&gt;wordpress的自定义域是个很强大的功能，能够实现很多不同的效果，这里我们利用自定义域为每篇日志指定不同的侧边栏：&lt;br /&gt;
修改&lt;em&gt;single.php&lt;/em&gt;找到调用&lt;em&gt;get_sidebar()&lt;/em&gt;函数的地方&lt;/p&gt;

&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;php&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt; get_sidebar&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;修改为&lt;/p&gt;

&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;php&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$sidebar&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; get_post_meta&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$post&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #004000;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;sidebar&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #009900; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
get_sidebar&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$sidebar&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;当你发布文章的时候，新建一个自定义域名称为sidebar，值为需要调用的侧边栏，比如，当值为right.php，就会自动调用模板right.php，当然，这种方法不仅仅限于文章内容页模板，页面模板也可以使用。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317511072/acily/feedsky/s.gif?r=http://www.acily.com/archives/192.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511072/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511072/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/192.html/feed</wfw:commentRss><slash:comments>3</slash:comments><description>wordpress的自定义域是个很强大的功能，能够实现很多不同的效果，这里我们利用自定义域为每篇日志指定不同的侧边栏：
修改single.php找到调用get_sidebar()函数的地方

1
&amp;#60;?php get_sidebar&amp;#40;&amp;#41;; ?&amp;#62;

修改为

1
2
3
&amp;#60;?php $sidebar = get_post_meta&amp;#40;$post-&amp;#62;ID, &amp;#34;sidebar&amp;#34;, true&amp;#41;;
get_sidebar&amp;#40;$sidebar&amp;#41;;
?&amp;#62;

当你发布文章的时候，新建一个自定义域名称为sidebar，值为需要调用的侧边栏，比如，当值为right.php，就会自动调用模板right.php，当然，这种方法不仅仅限于文章内容页模板，页面模板也可以使用。&lt;img src=&quot;http://www1.feedsky.com/t1/317511072/acily/feedsky/s.gif?r=http://www.acily.com/archives/192.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511072/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511072/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>程序代码</category><category>Wordpress</category><pubDate>Wed, 16 Dec 2009 08:20:59 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/192.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=192</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/192.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317511072/1250795</fs:itemid></item><item><title>别具一格的热门评论</title><link>http://www.acily.com/archives/190.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-191&quot; title=&quot;create-a-funky-most-commented-section-for-your-blog&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/create-a-funky-most-commented-section-for-your-blog.jpg&quot; alt=&quot;create a funky most commented section for your blog 别具一格的热门评论&quot; width=&quot;600&quot; height=&quot;254&quot; /&gt;&lt;/p&gt;
&lt;p&gt;新版的&lt;a href=&quot;http://www.engadget.com&quot;&gt;engadget&lt;/a&gt;加入了一种时髦的热门评论样式，根据评论数改变宽度和背景，下面是代码：&lt;/p&gt;
&lt;h4&gt;查询数据库并显示热门评论&lt;/h4&gt;
&lt;p&gt;首先，查询数据库取出热门评论，根据循环给每个评论添加宽度和背景色。&lt;/p&gt;

&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;php&quot; style=&quot;font-family:monospace;&quot;&gt;&amp;lt;ul id=&amp;quot;most_commented&amp;quot;&amp;gt;
&amp;nbsp;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$result&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$wpdb&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #004000;&quot;&gt;get_results&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;SELECT comment_count,ID,post_title, post_date FROM &lt;span style=&quot;color: #006699; font-weight: bold;&quot;&gt;$wpdb-&amp;gt;posts&lt;/span&gt; WHERE post_date ORDER BY comment_count DESC LIMIT 0 , 5&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #b1b100;&quot;&gt;foreach&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$result&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;as&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$topfive&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
    &lt;span style=&quot;color: #000088;&quot;&gt;$postid&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$topfive&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #004000;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #000088;&quot;&gt;$title&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$topfive&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #004000;&quot;&gt;post_title&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #000088;&quot;&gt;$commentcount&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$topfive&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #004000;&quot;&gt;comment_count&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$mostcomments&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$commentcount&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$commentcount&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'&amp;lt;li style=&amp;quot;width:'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #990000;&quot;&gt;round&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;150&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$mostcomments&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$commentcount&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;'px; '&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'background-color:#'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'ff4c53'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;elseif&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'ff764c'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;elseif&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'ffde4c'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;elseif&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'bfea57'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;elseif&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'33caf7'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;' ;&amp;quot;&amp;gt; '&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'&amp;lt;a href=&amp;quot; '&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; get_permalink&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$postid&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;' &amp;quot;&amp;gt; '&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$title&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'&amp;lt;/a&amp;gt;'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'&amp;lt;div class=&amp;quot;comment_no&amp;quot;&amp;gt;'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$commentcount&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #b1b100;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;'&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
    &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000088;&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;++;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;
&amp;nbsp;
&amp;lt;/ul&amp;gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;

&lt;h4&gt;添加CSS&lt;/h4&gt;

&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;css&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span style=&quot;color: #cc00cc;&quot;&gt;#most_commented&lt;/span&gt; a &lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;color&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#000&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;font-size&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;14px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #cc00cc;&quot;&gt;#most_commented&lt;/span&gt; a&lt;span style=&quot;color: #3333ff;&quot;&gt;:hover &lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;color&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#fff&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #cc00cc;&quot;&gt;#most_commented&lt;/span&gt; li &lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;position&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;relative&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;min-height&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;40px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        opacity&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0.9&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;margin&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;-15px&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; !important&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;15px&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;10px&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;15px&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;10px&lt;/span&gt; !important&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #cc00cc;&quot;&gt;#most_commented&lt;/span&gt; li &lt;span style=&quot;color: #6666ff;&quot;&gt;.comment_no&lt;/span&gt; &lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#123;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;position&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #993333;&quot;&gt;absolute&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;top&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;12px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;-11px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;padding&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;5px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;color&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#efefef&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;background-color&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #cc00cc;&quot;&gt;#101010&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        -moz-border-radius&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;5px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
        -webkit-border-radius&lt;span style=&quot;color: #00AA00;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #933;&quot;&gt;5px&lt;/span&gt;&lt;span style=&quot;color: #00AA00;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #00AA00;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317511073/acily/feedsky/s.gif?r=http://www.acily.com/archives/190.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511073/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511073/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/190.html/feed</wfw:commentRss><slash:comments>14</slash:comments><description>新版的engadget加入了一种时髦的热门评论样式，根据评论数改变宽度和背景，下面是代码：
查询数据库并显示热门评论
首先，查询数据库取出热门评论，根据循环给每个评论添加宽度和背景色。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
&amp;#60;ul id=&amp;#34;most_commented&amp;#34;&amp;#62;
&amp;#160;
&amp;#60;?php
&amp;#160;
$result = $wpdb-&amp;#62;get_results&amp;#40;&amp;#34;SELECT comment_count,ID,post_title, post_date FROM $wpdb-&amp;#62;posts WHERE post_date ORDER BY comment_count DESC LIMIT 0 , 5&amp;#34;&amp;#41;;
&amp;#160;
$i = 1;
&amp;#160;
foreach &amp;#40;$result as $topfive&amp;#41;
&amp;#123;
    $postid = $topfive-&amp;#62;ID;
    $title = $topfive-&amp;#62;post_title;
    $commentcount = $topfive-&amp;#62;comment_count;
&amp;#160;
    if &amp;#40;$i == 1&amp;#41; &amp;#123;$mostcomments = $commentcount;&amp;#125;
&amp;#160;
    if [...]&lt;img src=&quot;http://www1.feedsky.com/t1/317511073/acily/feedsky/s.gif?r=http://www.acily.com/archives/190.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511073/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511073/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>程序代码</category><pubDate>Tue, 15 Dec 2009 11:46:56 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/190.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=190</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/190.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317511073/1250795</fs:itemid></item><item><title>Scarborough Fair  译：斯卡布罗集市</title><link>http://www.acily.com/archives/189.html</link><content:encoded>&lt;p&gt;&lt;object classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot; width=&quot;257&quot; height=&quot;33&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;&gt;&lt;param name=&quot;src&quot; value=&quot;http://xiami.com/widget/0_114550/singlePlayer.swf&quot; /&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;embed type=&quot;application/x-shockwave-flash&quot; width=&quot;257&quot; height=&quot;33&quot; src=&quot;http://xiami.com/widget/0_114550/singlePlayer.swf&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
&lt;p&gt;Are you going to Scarborough Fair?&lt;br /&gt;
您是去斯卡布罗集市吗？&lt;br /&gt;
Parsley, sage, rosemary &amp;amp; thyme&lt;br /&gt;
芜荽，鼠尾草，迷迭香和百里香&lt;br /&gt;
Remember me to one who lives there&lt;br /&gt;
代我向那里的一个人问好&lt;br /&gt;
She once was a true love of mine.&lt;br /&gt;
她曾经是我真心深爱的姑娘&lt;br /&gt;
Are you going to Scarborough Fair?&lt;br /&gt;
您是去斯卡布罗集市吗？&lt;br /&gt;
Parsley, sage, rosemary &amp;amp; thyme&lt;br /&gt;
芜荽，鼠尾草，迷迭香和百里香&lt;br /&gt;
Remember me to one who lives there&lt;br /&gt;
代我向那里的一个人问好&lt;br /&gt;
She once was a true love of mine&lt;br /&gt;
她曾经是我真心深爱的姑娘&lt;br /&gt;
Tell her to make me a cambric shirt&lt;br /&gt;
请让她为我做一件麻布的衣裳&lt;br /&gt;
Parsley, sage, rosemary &amp;amp; thyme&lt;br /&gt;
芜荽，鼠尾草，迷迭香和百里香&lt;br /&gt;
Without no seams nor needlework&lt;br /&gt;
没有接缝也找不到针脚&lt;br /&gt;
Then she&amp;#8217;ll be a true love of mine&lt;br /&gt;
她就将成为我心爱的姑娘&lt;br /&gt;
Tell her to find me an acre of land&lt;br /&gt;
请她为我找一亩土地&lt;br /&gt;
Parsley, sage, rosemary, &amp;amp; thyme&lt;br /&gt;
芜荽，鼠尾草，迷迭香和百里香&lt;br /&gt;
Between the salt water and the sea strand&lt;br /&gt;
要在那海水和海滩之间&lt;br /&gt;
Then she&amp;#8217;ll be a true love of mine&lt;br /&gt;
她就将成为我心爱的姑娘&lt;br /&gt;
Tell her to reap it in a sickle of leather&lt;br /&gt;
请她用皮做的镰刀收割庄稼&lt;br /&gt;
Parsley, sage, rosemary &amp;amp; thyme&lt;br /&gt;
芜荽，鼠尾草，迷迭香和百里香&lt;br /&gt;
And to gather it all in a bunch of heather&lt;br /&gt;
再用石南草札成一堆&lt;br /&gt;
Then she&amp;#8217;ll be a true love of mine&lt;br /&gt;
她就将成为我心爱的姑娘&lt;br /&gt;
Are you going to Scarborough Fair?&lt;br /&gt;
您是去斯卡布罗集市吗？&lt;br /&gt;
Parsley, sage, rosemary &amp;amp; thyme&lt;br /&gt;
芜荽，鼠尾草，迷迭香和百里香&lt;br /&gt;
Remember me to one who lives there&lt;br /&gt;
代我向那里的一个人问好&lt;br /&gt;
She once was a true love of mine.&lt;br /&gt;
她曾经是我深爱的姑娘&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;这是这首歌曲的歌词.她充满了浓浓的相思之情,和对姑娘深深的眷恋. 是一首词曲结合的非常完美的一首歌。&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;斯卡布罗集市简介：斯卡堡集市（Scarborough Fair，也译作“斯卡布罗集市”），著名英文金曲，原来是一首民歌。1965年，保罗·西蒙从一位英国民歌手，马丁·卡西那里学会了这首歌的旋律，加工 成了现在的“斯卡堡集市”，并成为永恒的畅销金曲。卡西对此非常不满，埋怨保罗独自分享这一殊荣。&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;斯卡堡本是由于维京人经常的登陆、作一些交换而形成的一个定期集市。在几百年的时间里，每年的秋天持续一个半月，现在的英国，还有这么一个小镇。&lt;/p&gt;
&lt;p style=&quot;text-align: left;&quot;&gt;斯卡堡集市这首歌的歌词至少追溯到十三世纪的英格兰，至于曲调则更早，产生于苏格兰，很有可 能受到了维京人和另一支伟大的蛮族凯尔特人的影响。维京人是那种大无畏的民族，而凯尔特则有着很多神秘难解的传说，他们留给我们的印象当中，更多的是诡秘 和传奇，但是就是这些野蛮人创作了那首充盈着敏感的诗意和微妙的幽怨的歌。时常出现在脑子里的图像，是秋天的干草温暖的气味夹杂着野花的芬芳，被萧索的秋 风挟裹着，掠过大地和田野，掠过即将封冻的河流和永远叹息的大海，一个孤独的男人，独自唱着忧伤的歌，消失在天地之间。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317511074/acily/feedsky/s.gif?r=http://www.acily.com/archives/189.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511074/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511074/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/189.html/feed</wfw:commentRss><slash:comments>6</slash:comments><description>Are you going to Scarborough Fair?
您是去斯卡布罗集市吗？
Parsley, sage, rosemary &amp;#38; thyme
芜荽，鼠尾草，迷迭香和百里香
Remember me to one who lives there
代我向那里的一个人问好
She once was a true love of mine.
她曾经是我真心深爱的姑娘
Are you going to Scarborough Fair?
您是去斯卡布罗集市吗？
Parsley, sage, rosemary &amp;#38; thyme
芜荽，鼠尾草，迷迭香和百里香
Remember me to one who lives there
代我向那里的一个人问好
She once was a true love of mine
她曾经是我真心深爱的姑娘
Tell her to make me a cambric shirt
请让她为我做一件麻布的衣裳
Parsley, sage, rosemary &amp;#38; [...]&lt;img src=&quot;http://www1.feedsky.com/t1/317511074/acily/feedsky/s.gif?r=http://www.acily.com/archives/189.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511074/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511074/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>影音时尚</category><pubDate>Tue, 15 Dec 2009 10:09:05 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/189.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=189</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/189.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317511074/1250795</fs:itemid></item><item><title>10款漂亮的圣诞倒计时牌</title><link>http://www.acily.com/archives/179.html</link><content:encoded>&lt;p&gt;随着圣诞节的临近，如果你不想像其他人一样等待,那么你可能需要在网站上放置一个圣诞倒计时牌，这里我搜集了10款漂亮的圣诞倒计时牌，它们大部分都是flash，你可以直接下载保存，一些是HTML + JavaScript搭建的，还有一部分是商业版本，如果你需要可以联系作者。&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.xmasclock.com/&quot; target=&quot;_blank&quot;&gt;Christmas Countdown 2009&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-178&quot; title=&quot;Christmas-Countdown-2009&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Christmas-Countdown-2009.jpg&quot; alt=&quot;Christmas Countdown 2009 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.yourchristmascountdown.co.uk/&quot; target=&quot;_blank&quot;&gt;Your Christmas Countdown&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-180&quot; title=&quot;Your Christmas Countdown&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Your-Christmas-Countdown.jpg&quot; alt=&quot;Your Christmas Countdown&quot; width=&quot;625&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.merry-christmas.com/&quot; target=&quot;_blank&quot;&gt;Merry-Christmas&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-181&quot; title=&quot;Merry-Christmas&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Merry-Christmas.jpg&quot; alt=&quot;Merry Christmas 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.christmasgifts.org/&quot; target=&quot;_blank&quot;&gt;Christmas Gifts 2009&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-182&quot; title=&quot;Christmas-Gifts-2009&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Christmas-Gifts-2009.jpg&quot; alt=&quot;Christmas Gifts 2009 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://christmas0.com/&quot; target=&quot;_blank&quot;&gt;Countdown to Christmas&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-183&quot; title=&quot;Countdown-to-Christmas&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Countdown-to-Christmas.jpg&quot; alt=&quot;Countdown to Christmas 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;250&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.layoutcodez.net/christmas/countdown/&quot; target=&quot;_blank&quot;&gt;Christmas Countdown&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-184&quot; title=&quot;Christmas-Countdown&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Christmas-Countdown.jpg&quot; alt=&quot;Christmas Countdown 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;250&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.christmassantaclaus.com/clock.asp&quot; target=&quot;_blank&quot;&gt;Count down to Christmas&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-185&quot; title=&quot;Count-down-to-Christmas&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Count-down-to-Christmas.jpg&quot; alt=&quot;Count down to Christmas 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;250&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://www.oneplusyou.com/bb/countdown&quot; target=&quot;_blank&quot;&gt;Your Own Countdown Timer&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-186&quot; title=&quot;Your-Own-Countdown-Timer&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Your-Own-Countdown-Timer.jpg&quot; alt=&quot;Your Own Countdown Timer 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;span style=&quot;text-decoration: line-through;&quot;&gt;&lt;a href=&quot;http://activeden.net/item/xml-countdown-/69493&quot; target=&quot;_blank&quot;&gt;XML Christmas Countdown&lt;/a&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-187&quot; title=&quot;XML-Christmas-Countdown&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/XML-Christmas-Countdown.jpg&quot; alt=&quot;XML Christmas Countdown 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;250&quot; /&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a href=&quot;http://activeden.net/item/customisable-christmas-countdown-clock/67232&quot; target=&quot;_blank&quot;&gt;Customisable Christmas Countdown Clock&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-188&quot; title=&quot;Customisable-Christmas-Countdown-Clock&quot; src=&quot;http://www.acily.com/wp-content/uploads/2009/12/Customisable-Christmas-Countdown-Clock.jpg&quot; alt=&quot;Customisable Christmas Countdown Clock 10款漂亮的圣诞倒计时牌&quot; width=&quot;625&quot; height=&quot;250&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.tripwiremagazine.com/2009/12/top-10-beautiful-christmas-countdown-timers.html&quot;&gt;原文链接&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317511075/acily/feedsky/s.gif?r=http://www.acily.com/archives/179.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511075/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511075/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/179.html/feed</wfw:commentRss><slash:comments>6</slash:comments><description>随着圣诞节的临近，如果你不想像其他人一样等待,那么你可能需要在网站上放置一个圣诞倒计时牌，这里我搜集了10款漂亮的圣诞倒计时牌，它们大部分都是flash，你可以直接下载保存，一些是HTML + JavaScript搭建的，还有一部分是商业版本，如果你需要可以联系作者。
Christmas Countdown 2009

Your Christmas Countdown

Merry-Christmas

Christmas Gifts 2009

Countdown to Christmas

Christmas Countdown

Count down to Christmas

Your Own Countdown Timer

XML Christmas Countdown

Customisable Christmas Countdown Clock

原文链接&lt;img src=&quot;http://www1.feedsky.com/t1/317511075/acily/feedsky/s.gif?r=http://www.acily.com/archives/179.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511075/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511075/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>关注网络</category><pubDate>Tue, 15 Dec 2009 02:02:53 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/179.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=179</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/179.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317511075/1250795</fs:itemid></item><item><title>屏蔽wordpress评论中的html代码</title><link>http://www.acily.com/archives/177.html</link><content:encoded>&lt;p&gt;默认情况下，wordpress允许在评论中调用一些标记，譬如加入链接、设置文字的风格样式、添加表格，这些功能对垃圾评论非常有用，普通访客很少使用这些功能，如果禁用评论中的html标签会减少很多spam，方法如下：&lt;/p&gt;
&lt;p&gt;打开&lt;em&gt;functions.php&lt;/em&gt;文件加入如下代码&lt;/p&gt;

&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;language&quot; style=&quot;font-family:monospace;&quot;&gt;// This will occur when the comment is posted
function plc_comment_post( $incoming_comment ) {
// convert everything in a comment to display literally
$incoming_comment['comment_content'] = htmlspecialchars($incoming_comment['comment_content']);
// the one exception is single quotes, which cannot be #039; because WordPress marks it as spam
$incoming_comment['comment_content'] = str_replace( &amp;quot;'&amp;quot;, '&amp;amp;amp;apos;', $incoming_comment['comment_content'] );
return( $incoming_comment );
}
// This will occur before a comment is displayed
function plc_comment_display( $comment_to_display ) {
// Put the single quotes back in
$comment_to_display = str_replace( '&amp;amp;amp;apos;', &amp;quot;'&amp;quot;, $comment_to_display );
return $comment_to_display;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/317511076/acily/feedsky/s.gif?r=http://www.acily.com/archives/177.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511076/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511076/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.acily.com/archives/177.html/feed</wfw:commentRss><slash:comments>8</slash:comments><description>默认情况下，wordpress允许在评论中调用一些标记，譬如加入链接、设置文字的风格样式、添加表格，这些功能对垃圾评论非常有用，普通访客很少使用这些功能，如果禁用评论中的html标签会减少很多spam，方法如下：
打开functions.php文件加入如下代码

1
2
3
4
5
6
7
8
9
10
11
12
13
// This will occur when the comment is posted
function plc_comment_post( $incoming_comment ) {
// convert everything in a comment to display literally
$incoming_comment['comment_content'] = htmlspecialchars($incoming_comment['comment_content']);
// the one exception is single quotes, which cannot be #039; because WordPress marks it as spam
$incoming_comment['comment_content'] = str_replace( &amp;#34;'&amp;#34;, '&amp;#38;amp;apos;', $incoming_comment['comment_content'] );
return( $incoming_comment );
}
// This will occur before a comment is displayed
function [...]&lt;img src=&quot;http://www1.feedsky.com/t1/317511076/acily/feedsky/s.gif?r=http://www.acily.com/archives/177.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/acily/317511076/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/acily/317511076/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>程序代码</category><category>Wordpress</category><pubDate>Mon, 14 Dec 2009 14:52:43 +0800</pubDate><author>阿祠</author><comments>http://www.acily.com/archives/177.html#comments</comments><guid isPermaLink="false">http://www.acily.com/?p=177</guid><dc:creator>阿祠</dc:creator><fs:srclink>http://www.acily.com/archives/177.html</fs:srclink><fs:srcfeed>http://www.acily.com/?feed=rss2</fs:srcfeed><fs:itemid>feedsky/acily/~5920649/317511076/1250795</fs:itemid></item></channel></rss>