<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7549941286726046940</id><updated>2024-09-22T07:47:28.011+08:00</updated><category term="Blogger"/><category term="hack"/><category term="WordPress"/><category term="GFW"/><category term="Ajax"/><category term="Blogsopt"/><category term="Plugin"/><category term="google search"/><category term="牛博网"/><category term="Funny"/><category term="IE"/><category term="IM"/><category term="RSS"/><category term="Trixie"/><category term="bsp"/><category term="bug"/><category term="games"/><category term="google"/><category term="法律"/><category term="游戏修改"/><category term="盗版"/><title type='text'>网络破事</title><subtitle type='html'>——关于blog和Internet的博客</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-2657659849519222457</id><published>2007-04-29T09:08:00.000+08:00</published><updated>2007-04-29T09:21:27.188+08:00</updated><title type='text'>自杀</title><content type='html'>虽然很喜欢用BLOGGER，但是生活总是很幽默。实习中，另外还有一个&lt;a href=&quot;http://www.jianrongchen.net&quot;&gt;博客&lt;/a&gt;，实在忙不过来，本博客无限期关闭。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;请移步至&lt;a href=&quot;http://www.jianrongchen.net&quot;&gt;http://www.jianrongchen.net&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/2657659849519222457/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/2657659849519222457?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/2657659849519222457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/2657659849519222457'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post_29.html' title='自杀'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-1161533971125160481</id><published>2007-04-17T00:51:00.000+08:00</published><updated>2007-04-17T03:35:17.414+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IM"/><category scheme="http://www.blogger.com/atom/ns#" term="法律"/><title type='text'>裸聊</title><content type='html'>2005年9月15日，36岁的家庭主妇张立立(化名)&lt;span style=&quot;font-weight:bold;&quot;&gt;在家&lt;/span&gt;中利用计算机使用263的E话通软件，用视频与多人共同进行裸聊时，被北京治安支队民警与分局科技信通处民警抓获。此案最后以聚众淫乱罪提起公诉。案件起诉到法院以后，法院认为很难定罪，并于2007年2月撤回起诉。 &lt;br /&gt;检察官认为“虽然裸聊的参与者来自各地，不具有地理概念上的空间同一性，但是由于聊天室的IP地址是固定的，即他们所聚集的网络虚拟空间的地点是固定的，因此他们在参与聚众淫乱活动时在虚拟空间中是具有空间上的同一性的，符合聚众淫乱罪的客观要件。”按照这种说法，如果我在网络游戏上与很多玩家进行PK，我们岂不都犯了&lt;span style=&quot;font-weight:bold;&quot;&gt;聚众斗欧罪&lt;/span&gt;？好，你说网络游戏毕竟只是个游戏，玩家并没有实际的斗殴，那这个多人裸聊有实际的身体接触，有实际的淫乱行为吗？&lt;br /&gt;聚众淫乱的客观条件并不仅仅是这一条而有：&lt;span style=&quot;font-weight:bold;&quot;&gt;1&lt;/span&gt;、行为人在同一地点纠集男、女两性的多人；&lt;span style=&quot;font-weight:bold;&quot;&gt;2&lt;/span&gt;、行为人藐视国家法律、社会公德进行淫乱活动；&lt;span style=&quot;font-weight:bold;&quot;&gt;3&lt;/span&gt;、行为人采取了聚众奸宿或者为获取性刺激而进行多人乱交、滥交等聚众搞两性关系活动；&lt;span style=&quot;font-weight:bold;&quot;&gt;4&lt;/span&gt;、造成恶劣的社会影响。就算该检查官的推断是正确的，明显在网络裸聊中就不符合客观条件中的第3、4点，我在家里脱脱衣服跟别人进行聊天，没有实际的两性关系活动，如果没有所谓的民警来捣乱，怎么造成恶劣的社会影响了。况且聚众淫乱罪是否有存在的必要还有争议，可以见李银河的《聚众淫乱法批判》（&lt;a href=&quot;http://blog.sina.com.cn/u/473d5336010005zk&quot;&gt;上&lt;/a&gt;、&lt;a href=&quot;http://blog.sina.com.cn/u/473d5336010005zl&quot;&gt;下&lt;/a&gt;）在这个公诉案中，至少法院还是做到“没法不依”，比所谓的检察官有素质，我怀疑该检察官有没有学过法律。甚至还有人提出要对网络裸聊进行单独入罪，难道我们的“有法可依”，法律完善就是这样炼成的？&lt;br /&gt;在这个公诉案中，最值得我们注意的是&lt;span style=&quot;font-weight:bold;&quot;&gt;E话通就是类似于QQ、MSN之类的IM软件——除了支持多人视频外，民警是如何获悉的呢？那我们平时用的QQ、MSN之类的聊天内容是否也是有第三只眼在看着？&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/1161533971125160481/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/1161533971125160481?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1161533971125160481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1161533971125160481'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post_17.html' title='裸聊'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-5832819019255608362</id><published>2007-04-14T04:27:00.000+08:00</published><updated>2007-04-14T04:58:20.591+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="盗版"/><title type='text'>盗版问题</title><content type='html'>今天帮朋友去广州购书中心买几本书，就花了将近三百块钱，顺便就联想起盗版的问题。盗版的问题如果纯粹通过道德感化的方式是永远行不通的，人都是一种势利的动物，“免费”这个词在互联网上总是大行其道的。所以只能通过立法再依法执行。而中国在2005年才实施《互联网著作权行政保护办法》，注意这里还是“办法”，现在还没有看到一部像样的打击盗版法律出台。&lt;br /&gt;并且现在的条例和办法实际上就是名存实亡，原因可以归结为两方面，一方面是因为民众的购买力，像vista在美国的售价跟在中国几乎差不多，美国的民众跟中国的民众购买能力差距有多大？所以微软也不用天天叫嚣要打击中国的盗版，自己没考虑市场定位怪不了别人，做了婊子就不要立牌坊。&lt;br /&gt;二是中国并没有或者不愿意花财力在打击盗版上面，像美国的纽约警署有4000多人负责打击有组织犯罪，其中就有240多人是负责打击盗版。这些人都是全副武装，并拥有警车、直升机、巡逻艇、摩托车等交通工具，必要时有搜查住所、冻结银行账户等各种权力。并不是说美国人更具有反盗版的意识，而是在法律面前人人都畏惧被惩罚而已。看我们中国很多盗版软件音像店就开在公安局旁边，啥事都不会发生，估计我们敬爱的公安人员还乐滋乐滋的当那里的顾客。&lt;br /&gt;上梁不正下梁歪，如果我们财力能及的，可以考虑支持正版软件和音像；如果财力不能及，不是我们的错，继续乐去吧。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/5832819019255608362/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/5832819019255608362?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/5832819019255608362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/5832819019255608362'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post_14.html' title='盗版问题'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-682121175865155849</id><published>2007-04-10T04:40:00.000+08:00</published><updated>2007-04-10T06:37:30.976+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GFW"/><category scheme="http://www.blogger.com/atom/ns#" term="牛博网"/><title type='text'>小众思想</title><content type='html'>经常浏览一下&lt;a href=&quot;http://www.bullog.cn/blogs/taicu/Default.aspx&quot;&gt;太蔟&lt;/a&gt;的博客，了解一些“小众”思想。因为我这里访问牛博需要代理，而且牛博网也不提供RSS全文订阅，上一次不容易，所以经常10来天才对牛博上关注的博客全部浏览一遍。&lt;br /&gt;前几天在用google reader打开太蔟新浪博客的时候，Google reader会出现无法访问的错误，接着上GOOGLE也是无访问的，几分钟后才会恢复正常，情况就像在GOOGLE搜索非法关键词一样，我就意识到出问题了。但是心里还想着太蔟在牛博还有个博客，不用担心。今天才看到他这样的话：“本博客不再频繁更新。以后主要发表一些科普文章和关于文艺复兴后西方思想史方面的文章。”（&lt;a href=&quot;http://www.bullog.cn/blogs/taicu/archives/32961.aspx&quot;&gt;致网友&lt;/a&gt;），而在这个帖子之前的一个星期，太蔟发了这样一篇帖子：&lt;a href=&quot;http://www.bullog.cn/blogs/taicu/archives/32654.aspx&quot;&gt;[立此存照]网络红卫兵&lt;/a&gt;，内容转贴如下：&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;by sun_empire@yahoo.com&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;IP: 222.191.185.138&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;[匿名] null @ 2007-3-16 12:13:35&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;太蔟： 你牛逼，行，我把你的BLOG全部备份了，送给GREATFIREWALLCHINA.ORG&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;我看看到底网络上有多少你这样的 持不同政见者。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;补充下： 我先前的回复是引用自前国家主席江泽民同志接受美国的华莱士的访问时候的原话。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;我看还有谁跟帖支持太蔟。&lt;/span&gt;&lt;br /&gt;虽然不能断定这是必然原因，有可能是太蔟“枯竭”了，写不了了。昨天看到“靠博客”木有了的消息，今天看到太蔟不写了。还有微软客服叫Live Spaces用户检查一下最近发布的网络日志是否包含有政治性或者比较敏感的词语，并予以删除，以避免“金盾系统”的屏蔽。&lt;br /&gt;这几天上网心情都特沉重，就像老罗说的，半夜睡觉突然惊醒，浑身冷汗，脑子里只有一个问题：“中国未来的出路在哪里？”&lt;br /&gt;转&lt;a href=&quot;http://satao1972.iblog.com/&quot;&gt;撤韬&lt;/a&gt;的&lt;a href=&quot;http://satao1972.iblog.com/post/17818/320463&quot;&gt;撕心砸念（八）&lt;/a&gt;里的一段，作为结尾：&lt;br /&gt;反智主义是社会在一定阶段的必然结果，智力的进化必定包含着对现实的批判和对既有秩序的反抗，因而不受待见。大众的文化淹没精英的思想，这在所有类型的社会中都是一样的。&lt;br /&gt;有着不甘心的梦想和纯粹理想的分子，无论生活在北韩还是美国，都会面临着身边所有人的反对和打压，来自于敌人的鄙夷和漠视、敌意和摧残其实大部分时候是在坚定斗志，最可怕的腐蚀来自于亲人和朋友，他们不接受你的生活方式和思想方式，你所面临的将是不解、背叛与疏离，是原本习惯的和希望维护的世界一寸一寸地分离和撕裂。&lt;br /&gt;带领人类前行的思想者和探索者，背负着何等痛苦的镣铐，因此，对他们的成就，更应珍视，接过火炬，向前走下去。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/682121175865155849/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/682121175865155849?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/682121175865155849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/682121175865155849'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post_10.html' title='小众思想'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-4951798362213976106</id><published>2007-04-09T03:17:00.000+08:00</published><updated>2007-04-10T05:19:25.438+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GFW"/><category scheme="http://www.blogger.com/atom/ns#" term="RSS"/><title type='text'>BLOG上的鸟事</title><content type='html'>今天增加了几个博客的RSS订阅，基本上现在增加RSS订阅都是浮躁地瞟一眼主页，从开始到未尾，基本上不超过一分钟，不管主页有多长。如果能让我停留一分钟以上，就毫不犹豫地增加，如果该博客不支持RSS全文订阅，再毫不犹豫地退订。所以现在你的博客能让读者停留一分钟以上，那就是一个成功的博客；如果能让读者停留30秒，证明你还有希望；如果基本上是在10秒内退出的，那博客就真的叫网络日志，就当做自己记事，留给自己看吧。&lt;br /&gt;回头看了一下，订阅的博客基本上是男性作品；订阅的女性博客基本上也是女流氓写的，因为够剽悍。个人喜好，不喜欢天天诉说情事的博客，男性如果写得像女性，照样枪毙。&lt;br /&gt;现在网络限制已经发展到开始盯上个人博客了，就像最近的ZOLA，还有我经常看的几个博客，发现最近都访问不了。我的口味跟“伟大的墙”咋就这么像呢。如果禁BLOGSPOT和WORDPRESS之类的国外大型BSP还算有点靠谱，如果开始跟个人博客杠上了，那就真的值得研究一下了。&lt;br /&gt;Technorati组织称中文博客已经跃居世界第三位。并称，伊朗的Farsi语博客也呈上升趋势，这是因为受到政治压迫的人试图通过博客来发泄自己的政治情绪。那中文博客为什么会蓬勃发展呢？</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/4951798362213976106/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/4951798362213976106?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/4951798362213976106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/4951798362213976106'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog.html' title='BLOG上的鸟事'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-6826433255593352865</id><published>2007-04-08T03:25:00.000+08:00</published><updated>2007-04-08T03:51:07.830+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="google"/><title type='text'>赞叹一下搜狗的智商</title><content type='html'>对于谷歌拼音的推出，我没有多大的热情，因为我本来就不是用拼音的，对于搜狗拼音的认识是跟着谷歌拼音的推出而同步认识，所以在这里要赞叹一下搜狗的智商——顺风而上，宣传做得很好！&lt;br /&gt;这几天一打开GOOGLE READER每天都会看到十几条谷歌拼音抄袭搜狗拼音词库的新闻，烦得很。搜狗工作人员智商也确实高，在网友提出了若干证据之后，一工作人员在博客里拿搜狗词库是怎么来的，说是如何如何地艰辛，好好地拿这事炒作了一番，把顺着竿儿往上爬这一杂技发挥到了极致。一帮民族主义分子又跳出来说：“支持国货！”，看着实在闹心。&lt;br /&gt;GOOGLE不管是不是抄袭了别人的词库，它放出来的东西是免费的，有个免费馒头你就凑和着吃，不好吃没人强迫你。偏偏有人乞讨还嫌人家饭臭，硬要说这饭来路不正，米是偷来的。不管是GOOGLE还是搜狗，两家都是要靠钱来喂的，捞钱的时候“不作恶”算什么？傻B们你说你们作用能有多大？帮人炒作还不亦乐乎，忙得不可开交。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/6826433255593352865/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/6826433255593352865?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/6826433255593352865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/6826433255593352865'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post_08.html' title='赞叹一下搜狗的智商'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-3185895173021353556</id><published>2007-04-04T18:27:00.000+08:00</published><updated>2007-04-04T19:52:53.022+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bug"/><category scheme="http://www.blogger.com/atom/ns#" term="WordPress"/><title type='text'>WordPress2.1.10和2.1.3版本释出</title><content type='html'>在geek ramblings的博客看到&lt;a href=&quot;http://dougal.gunters.org/blog/2007/04/03/new-wordpress-releases-2010-and-213&quot;&gt;这一消息&lt;/a&gt;，这两个版本主要是修复了少数几个BUG，&lt;a href=&quot;http://wordpress.org/development/2007/04/wordpress-213-and-2010/&quot;&gt;WORDPRESS官方&lt;/a&gt;建议为了BLOG的安全升级这两个版本。两个版本的修复的BUG列表请见下面两个网址：&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://wordpress.org/development/2007/04/wordpress-213-and-2010/&quot;&gt;2.0.10修复的BUG&lt;/a&gt;，可以在&lt;a href=&quot;http://wordpress.org/download/release-archive/&quot;&gt;这里&lt;/a&gt;下载该版本。&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://trac.wordpress.org/query?status=closed&amp;milestone=2.1.3&quot;&gt;2.1.3修复的BUG&lt;/a&gt;，可以在&lt;a href=&quot;http://wordpress.org/download/&quot;&gt;这里&lt;/a&gt;下载该版本。&lt;br /&gt;&lt;br /&gt;不过4月22日Wordpress2.2版即将释出，估计现在升级也没多大意义。据&lt;a href=&quot;http://dougal.gunters.org&quot;&gt;Dougal&lt;/a&gt;介绍，2.2版本将不需要任何插件直接支持Tags，支持Atom 1.0，支持widget，改进外观等等。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/3185895173021353556/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/3185895173021353556?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/3185895173021353556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/3185895173021353556'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/wordpress2110213.html' title='WordPress2.1.10和2.1.3版本释出'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-2950507917491300005</id><published>2007-04-04T00:37:00.000+08:00</published><updated>2007-04-04T06:27:13.465+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bsp"/><category scheme="http://www.blogger.com/atom/ns#" term="牛博网"/><title type='text'>牛博网开放注册了</title><content type='html'>也就是罗永浩开的博客网，&lt;a href=&quot;http://www.bullog.cn&quot;&gt;http://www.bullog.cn&lt;/a&gt;。帖子原文请看这里：&lt;a href=&quot;http://www.luoyonghao.net/blogs/luoyonghao/archives/38129.aspx&quot;&gt;牛博网的博客已经开放注册了&lt;/a&gt;。&lt;br /&gt;也就是说牛博网不再是由老罗挑人去写博客，是谁都可以成为牛博的一员，彻底进入商业运作模式，原文中明确说明“在牛博用户自己注册的博客内，我们稍后会插入商业广告”。现在牛博网的知名度也不低，这样下去跟新浪、百度空间之类的博客就没什么区别了，都是垃圾博客和垃圾文章满天飞。认识这个博客网是因为认识了老罗，进去这个博客网之后倒是认识了很多更牛的人，什么观点都有，不管值不值得看，唯一让人有兴趣的特点就是不矫情。如果开放注册，试问牛博能有什么特点？比名人，比得过新浪？比系统，比得上大型的BSP？比服务，相信老罗也没这兴致。这样下去牛博也就不是牛博了。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/2950507917491300005/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/2950507917491300005?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/2950507917491300005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/2950507917491300005'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post_04.html' title='牛博网开放注册了'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-8020104842507571053</id><published>2007-04-02T22:39:00.000+08:00</published><updated>2007-04-02T23:11:53.808+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="WordPress"/><title type='text'>正在使用的WORDPRESS插件</title><content type='html'>在&lt;a href=&quot;http://www.jianrongchen.net&quot;&gt;http://www.jianrongchen.net&lt;/a&gt;使用的&lt;span style=&quot;font-weight:bold;&quot;&gt;WORDPRESS&lt;/span&gt;插件如下：&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.chroder.com/archives/2005/12/28/wordpress-plugin-inline-collapsible-more-link/&quot;&gt;Collapsible More Link&lt;/a&gt;：提供展开收缩文章的功能，也即折叠功能。&lt;br /&gt;&lt;a href=&quot;http://www.coolcode.cn/?p=100&quot;&gt;CoolPlayer&lt;/a&gt;：国人开发的一个WP插件，可以播放几乎所有媒体，不过块头大了点。&lt;br /&gt;&lt;a href=&quot;http://www.semiologic.com/software/external-links/&quot;&gt;External Links&lt;/a&gt;：提供在新窗口打开外部链接的功能。&lt;br /&gt;&lt;a href=&quot;http://blog.jodies.de/archiv/2004/11/13/recent-comments/&quot;&gt;Get Recent Comments&lt;/a&gt;：显示最新评论内容，WORDPRESS自带的只能显示帖子名和作者。&lt;br /&gt;&lt;a href=&quot;http://www.arnebrachhold.de/redir/sitemap-home/&quot;&gt;Google (XML) Sitemaps&lt;/a&gt;：自动生成网站的Sitemap，并通知GOOGLE和YAHOO，SEO插件之一。&lt;br /&gt;&lt;a href=&quot;http://www.neato.co.nz/ultimate-tag-warrior/&quot;&gt;Ultimate Tag Warrior&lt;/a&gt;：公认最强大的TAG管理插件，可以显示相关文章，相关标签，标签云等。&lt;br /&gt;&lt;a href=&quot;http://www.dicontas.co.uk/blog/google-sitemap-utw-tag-wordpress-plugin/&quot;&gt;Google Sitemaps - UTW Tag Addon&lt;/a&gt;：把ultimate-tag-warrior生成的TAG加入Google (XML) Sitemaps生成的Sitemap中。&lt;br /&gt;&lt;a href=&quot;http://pierre.sudarovich.free.fr/&quot;&gt;Pierre&#39;s Wordspew&lt;/a&gt;：生成一个AJAX效果的留言板，实时留言板。&lt;br /&gt;&lt;a href=&quot;http://svn.wp-plugins.org/widgets/trunk&quot;&gt;Sidebar Widgets&lt;/a&gt;：一个图形化的侧边栏管理插件，有点像BLOGGER的LAYOUT。&lt;br /&gt;&lt;a href=&quot;http://www.solo-technology.com/apps.html&quot;&gt;ST Add Related Posts to Feed&lt;/a&gt;：在RSS FEED中加入相关文章。&lt;br /&gt;&lt;a href=&quot;http://orderedlist.com/wordpress-plugins/wp-tiger-administration/&quot;&gt;：Tiger Style Administration&lt;/a&gt;WORDPRESS后台美化插件。&lt;br /&gt;&lt;a href=&quot;http://mnm.uib.es/gallir/wp-cache-2/&quot;&gt;WordPress 缓存&lt;/a&gt;：提供对已访问页面的缓存，加快读取速度。&lt;br /&gt;&lt;a href=&quot;http://roel.meurders.nl/wordpress-plugins/wp-addquicktag-plugin-for-adding-quicktags/&quot;&gt;WP-AddQuicktag&lt;/a&gt;：方便地增加文章编辑器的标签，适合经常增加新插件的朋友。&lt;br /&gt;&lt;a href=&quot;http://roel.meurders.nl/wordpress-plugins/wp-flv-video-player-plugin/&quot;&gt;WP-FLV&lt;/a&gt;：FLASH视频插件，块头挺小。&lt;br /&gt;&lt;a href=&quot;http://www.lesterchan.net/portfolio/programming.php&quot;&gt;WP-PageNavi&lt;/a&gt;：替代WP原来的页面导航，改用 &quot;共有 5 页: [1] 2 3 4 5 »&quot;的形式。 &lt;br /&gt;&lt;a href=&quot;http://www.giannim.com/blog/index.php?page_id=13&quot;&gt;Ajax-wp&lt;/a&gt;：能让Wordpress实现AJAX化的一个插件，安装有快速和定制两种方式。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/8020104842507571053/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/8020104842507571053?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/8020104842507571053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/8020104842507571053'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/wordpress.html' title='正在使用的WORDPRESS插件'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-1268452513016796485</id><published>2007-04-02T20:51:00.000+08:00</published><updated>2007-04-02T21:57:31.531+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="Plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="WordPress"/><title type='text'>去除链接中的&quot;index.php&quot;让WordPress实现全站AJAX</title><content type='html'>&lt;a href=&quot;http://www.giannim.com/blog/index.php?page_id=13&quot;&gt;Ajax-wp&lt;/a&gt;是一个能让Wordpress实现AJAX化的一个插件，安装方便有快速和定制两种方式，当前版本为0.85。效果可见&lt;a href=&quot;http://www.jianrongchen.net/&quot;&gt;这里&lt;/a&gt;，我使用的是“定制”方式，点击链接时可以实现不用导入页眉、页脚和侧边栏，关于该插件的安装请看&lt;a href=&quot;http://www.giannim.com/blog/index.php?page_id=13&quot;&gt;原文&lt;/a&gt;，在这里就不多说了。&lt;br /&gt;&lt;br /&gt;作者的说法是所有链接结构Ajax-wp都可以支持，但是我使用“基于日期和名称”或“数字”时，该插件都会出现BUG，不知道大家有没有碰到这种情况，所以只能使用默认的链接结构了，也就是&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&quot;homeroot/?p=123&quot;&lt;/span&gt;的形式，但是使用这种结构时，页面导航都调用不了该插件，而要接所有的JS文件再LOAD一遍。&lt;br /&gt;&lt;br /&gt;禁用该插件后，查看页面导航的链接发现是因为页面的链接使用了&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&quot;homeroot/index.php？paged=X&quot;&lt;/span&gt;的形式，因此只要删除&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&quot;index.php&quot;&lt;/span&gt;这几个字符也即改为&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&quot;homeroot/?paged=X&quot;&lt;/span&gt;的形式就可以让Ajax-wp发挥作用了。Google和Baidu了一圈都没有发现好用的解决方法，只能自己动手了。打开链接模版，路径在&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&quot;/wp-includes/link-template.php&quot;&lt;/span&gt;，页面功能的函数为&lt;span style=&quot;color: rgb(153, 153, 153);&quot;&gt;&quot;function get_pagenum_link&quot;&lt;/span&gt;，研究了半天发现在这个函数里本来就有一句&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$qstr = preg_replace(&quot;#/*&quot; . $index . &quot;/*#&quot;, &#39;/&#39;, $qstr);&lt;/code&gt;&lt;br /&gt;开发者在注释里说明这句的作用就是&quot;trim the index&quot;:)。于是可以在后面加上这一句话，不论前面的$qstr如何替换，到最后把$index剪掉再赋值给$qstr就可以实现效果了。加入的位置见下面红色代码&lt;br /&gt;&lt;br /&gt;&lt;code&gt; if ( 1 === $pagenum ) {&lt;br /&gt;$qstr = str_replace(&#39;page/1/&#39;, &#39;&#39;, $qstr); // for mod_rewrite style&lt;br /&gt;$qstr = remove_query_arg(&#39;paged&#39;, $qstr); // for query style&lt;br /&gt;}&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;       $qstr = preg_replace(&quot;#/*&quot; . $index . &quot;/*#&quot;, &#39;/&#39;, $qstr);&lt;/span&gt;&lt;br /&gt;return $qstr;&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;保存完成，体验一下什么叫Web2.0吧。除了评论基本上已实现AJAX化，AJAX评论的插件都与Ajax-wp有冲突，所以还是将就吧。另外把53K的protoype.js文件改为protoype.php让wordpress进行压缩，httpwatch测试了一下，文件大小减小为12K，传输时间大大减少。虽然这种方法让该文件要通过解释器解释，但是只读取一次，折衷吧，而且可以在浏览器CACHE调用。压缩的方法请见&lt;a href=&quot;http://www.osxcn.com/wordpress/optimize-your-js-and-css.html&quot;&gt;这篇文章&lt;/a&gt;，在这里不多说。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/1268452513016796485/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/1268452513016796485?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1268452513016796485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1268452513016796485'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/indexphpwordpressajax.html' title='去除链接中的&quot;index.php&quot;让WordPress实现全站AJAX'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-6230983186036993932</id><published>2007-04-02T18:58:00.000+08:00</published><updated>2007-04-02T19:39:29.343+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogsopt"/><category scheme="http://www.blogger.com/atom/ns#" term="GFW"/><category scheme="http://www.blogger.com/atom/ns#" term="WordPress"/><title type='text'>博客内容变更</title><content type='html'>为免自己的博客搞得不伦不类的，即日起BLOGSPOT博客只发布有关IT的文章，而自己架的WORDPRESS只发布扯淡文章。本地址其他文章已删除，请访问&lt;a href=&quot;http://www.jianrongchen.net&quot;&gt;http://www.jianrongchen.net&lt;/a&gt;。&lt;br /&gt;另外给本博客做了个域名转向，可以用&lt;a href=&quot;http://it.jianrongchen.net&quot;&gt;http://it.jianrongchen.net&lt;/a&gt;。试了一下FTP发布，发现发过去网页的显示方式有点问题，懒得去找原因了，而且本人也不喜欢BLOGGER的经典模版，最严重的是在输入文章的地址居然会跳到主页去，所以还是意淫一下，使用鸡肋吧。好好的域名就只能用来转向，小材大用，这得归功于ghs.google.com被“和谐”了，要不用域名绑定是最好的解决办法了，GFW不知道为国家的GDP作了多少的贡献。BLOGSPOT在上个月经历了两封两开，快佩服到地上了。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/6230983186036993932/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/6230983186036993932?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/6230983186036993932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/6230983186036993932'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/04/blog-post.html' title='博客内容变更'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-2167665203509973831</id><published>2007-03-22T21:27:00.001+08:00</published><updated>2008-08-24T23:15:59.293+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogsopt"/><category scheme="http://www.blogger.com/atom/ns#" term="GFW"/><category scheme="http://www.blogger.com/atom/ns#" term="WordPress"/><title type='text'>架设了自己的博客</title><content type='html'>Great Firewall不知道出于什么心态，BLOGSPOT又被BAN了，域名绑定也早己被封，真是命运多舛。封封停停已经多次，GFW也就一嫖客，这次又不知道什么时候解封了，把BLOG托管在BLOGSPOT上真是不保险。&lt;br /&gt;对于用惯BLOGGER的人来说，国内任何一个博客网的自由度都比较低，没办法，外国的月亮就是圆。最终选择投入WordPress的怀抱，WordPress本身提供的博客服务也在被封之列，虽然国内有免费的WordPress托管商，还是感觉不自由，选择自己架一个算了。基于WordPress的BLOG架设已经基本上完成，请访问&lt;a href=&quot;Http://www.jianrongchen.net&quot;&gt;Http://www.jianrong@chen.net&lt;/a&gt;，由于最近在忙开题的事情，暂时停止更新。&lt;br /&gt;本博客会继续更新，权当备份。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/2167665203509973831/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/2167665203509973831?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/2167665203509973831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/2167665203509973831'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/blog_22.html' title='架设了自己的博客'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-9007247192726474185</id><published>2007-03-16T21:10:00.000+08:00</published><updated>2007-04-02T22:04:42.940+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>为BLOGGER添加“跳到底部导航”的链接</title><content type='html'>因为BLOGGER的导航链接放在下边，相当不方便。如果不想做页首导航栏，添加一个“跳到底部”的链接是个不错的解决方法，而且在帖子页也可以方便读者评论。方法很简单：&lt;br /&gt;1.如果想跳到&lt;strong&gt;帖子区域的底部&lt;/strong&gt;，可以在适当位置加入下面代码（如果想跳到导航及发表评论链接，使用该项即可）：&lt;br /&gt;&lt;code&gt;&amp;lt;a href=&#39;javascript:scroll(0,main.scrollHeight)&#39; title=&#39;Scroll to bottom of posts&#39;&gt;跳到导航链接↓&amp;lt;/a&gt;&lt;/code&gt;&lt;br /&gt;如本BLOG加在日期显示后面：&lt;br /&gt;&lt;code&gt;&amp;lt;b:if cond=&#39;data:post.dateHeader&#39;&gt;&lt;br /&gt;&amp;lt;h2 class=&#39;date-header&#39;&gt;&amp;lt;data:post.dateHeader/&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;&amp;lt;a href=&#39;javascript:scroll(0,main.scrollHeight)&#39; title=&#39;Scroll to bottom of posts&#39;&gt; 跳到导航链接↓&amp;lt;/a&gt;&lt;/span&gt;&amp;lt;/h2&gt;&lt;/code&gt;&lt;br /&gt;2.如果想&lt;strong&gt;跳到侧边栏底部&lt;/strong&gt;，可以在适当位置加入下面代码：&lt;br /&gt;&lt;code&gt;&amp;lt;a href=&#39;javascript:scroll(0,sidebar.scrollHeight)&#39; title=&#39;Scroll to bottom of sidebar&#39;&gt;跳到侧边栏底部↓&amp;lt;/a&gt;&lt;/code&gt;&lt;br /&gt;3.如果想&lt;strong&gt;跳到整个页面底部&lt;/strong&gt;，可以在适当位置加入下面代码：&lt;br /&gt;&lt;code&gt;&amp;lt;a href=&#39;javascript:scroll(0,document.body.scrollHeight)&#39; title=&#39;Scroll to bottom of this page&#39;&gt;跳到页面底部↓&amp;lt;/a&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/9007247192726474185/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/9007247192726474185?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/9007247192726474185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/9007247192726474185'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/blogger.html' title='为BLOGGER添加“跳到底部导航”的链接'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-8596009841155961684</id><published>2007-03-13T22:55:00.000+08:00</published><updated>2007-04-02T20:45:50.277+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Funny"/><title type='text'>I have my iPhone with me</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://photo.tvix.cn/photos/20070323/l90gNqzUKMYT.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;&quot; src=&quot;http://photo.tvix.cn/photos/20070323/l90gNqzUKMYT.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/8596009841155961684/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/8596009841155961684?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/8596009841155961684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/8596009841155961684'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/i-have-my-iphone-with-me.html' title='I have my iPhone with me'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-478752468090376785</id><published>2007-03-13T18:53:00.001+08:00</published><updated>2007-04-02T19:21:06.384+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>精简BLOG</title><content type='html'>&lt;p&gt;因为感觉打开BLOG太慢，刚刚把AJAX搜索和AJAX标签删了。毕竟BLOG最重要的是内容而不是花哨的功能，牛人自牛，不用靠点缀。还是少用点JS，网页速度快了，大家心情也好一点，多点击一下鼠标多用一下滚轮累不死人。简单才是生活的真谛。&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/478752468090376785/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/478752468090376785?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/478752468090376785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/478752468090376785'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/blog_13.html' title='精简BLOG'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-290081737261859927</id><published>2007-03-08T03:34:00.000+08:00</published><updated>2007-04-02T22:08:15.728+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>Blogger 实用 Hack 技巧总结之三</title><content type='html'>&lt;strong&gt;7.让某一元素只在首页或非首页显示&lt;/strong&gt;&lt;br /&gt;通过元素的title搜索到后，按需要加入下面红色代码。&lt;br /&gt;&lt;code&gt;&amp;lt;b:widget id=&#39;HTML1&#39; locked=&#39;false&#39; &lt;span style=&quot;color:#ff0000;&quot;&gt;title=&lt;/span&gt;&#39;Recent Articles&#39; type=&#39;HTML&#39;&gt;&lt;br /&gt;&amp;lt;b:includable id=&#39;main&#39;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&amp;lt;b:if cond=&#39;data:blog.homepageUrl == data:blog.url&#39;&gt;&lt;/span&gt; /*只在首页显示*/&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&amp;lt;b:if cond=&#39;data:blog.homepageUrl != data:blog.url&#39;&gt;&lt;/span&gt; /*不在首页显示*/&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- only display title if it&#39;s non-empty --&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:title != &quot;&quot;&#39;&gt;&lt;br /&gt;&amp;lt;h2 class=&#39;title&#39;&gt;&amp;lt;data:title/&gt;&amp;lt;/h2&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;div class=&#39;widget-content&#39;&gt;&lt;br /&gt;&amp;lt;data:content/&gt;&lt;br /&gt;&amp;lt;/div&gt;&lt;br /&gt;&amp;lt;b:include name=&#39;quickedit&#39;/&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&amp;lt;/b:if&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/b:includable&gt;&lt;br /&gt;&amp;lt;/b:widget&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8.高亮作者评论&lt;/strong&gt;（&lt;a href=&quot;http://sunr.blogspot.com&quot;&gt;咖啡鱼&lt;/a&gt;&lt;a href=&quot;http://sunr.blogspot.com/2006/10/blogger-beta_11.html&quot;&gt;原文&lt;/a&gt;）&lt;br /&gt;第一步，添加CSS：&lt;br /&gt;&lt;code&gt;.comment-body-author {&lt;br /&gt;margin:0;&lt;br /&gt;padding:20px 0 20px 40px;&lt;br /&gt;}&lt;br /&gt;.comment-body-author p {&lt;br /&gt;font-size:100%;&lt;br /&gt;margin:0 0 .2em 0;&lt;br /&gt;color:#CC3300; /*字体颜色*/&lt;br /&gt;text-decoration:bold; /*字体样式，默认加粗*/&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;第二步：找到以下类似代码，全部替换：&lt;br /&gt;&lt;code&gt;&amp;lt;a expr:name=&#39;&quot;comment-&quot; + data:comment.id&#39;/&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:comment.authorUrl&#39;&gt;&lt;br /&gt;&amp;lt;a expr:href=&#39;data:comment.authorUrl&#39; rel=&#39;nofollow&#39;&gt;&amp;lt;data:comment.author/&gt;&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;data:comment.author/&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;data:commentPostedByMsg/&gt;&lt;br /&gt;&amp;lt;/dt&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:comment.author == data:post.author&#39;&gt; &amp;lt;dd class=&#39;comment-body-author&#39;&gt; &amp;lt;p&gt;&amp;lt;data:comment.body/&gt;&amp;lt;/p&gt; &amp;lt;/dd&gt; &amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;dd class=&#39;comment-body&#39;&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:comment.isDeleted&#39;&gt;&lt;br /&gt;&amp;lt;span class=&#39;deleted-comment&#39;&gt;&amp;lt;data:comment.body/&gt;&amp;lt;/span&gt;&lt;br /&gt;&amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;p&gt;&amp;lt;data:comment.body/&gt;&amp;lt;/p&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;/dd&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;dd class=&#39;comment-footer&#39;&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;9.具有按钮效果的链接&lt;/strong&gt;（&lt;a href=&quot;http://sunr.blogspot.com&quot;&gt;咖啡鱼&lt;/a&gt;&lt;a href=&quot;http://sunr.blogspot.com/2006/10/blog-post.html&quot;&gt;原文&lt;/a&gt;）&lt;br /&gt;想在博客的某一部分加上这个效果，可以搜索a:hover，在属性里增加position: relative; top: 1px; left: 1px;。如：&lt;br /&gt;&lt;code&gt;a:hover {&lt;br /&gt;text-decoration: underline;&lt;br /&gt;color: #0094F0;&lt;br /&gt;position: relative; top: 1px; left: 1px;&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;如果只想单独定义某个链接，请&lt;a href=&quot;http://sunr.blogspot.com/2006/10/blog-post.html&quot;&gt;查看原文&lt;/a&gt;。&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10.收缩展开文章&lt;/strong&gt;（&lt;a href=&quot;http://sunr.blogspot.com/2006/09/blogger-beta.html&quot;&gt;原文&lt;/a&gt;）&lt;br /&gt;原文已经介绍得很清楚，在这里不帖出原代码，需要注意的是，这一语句&amp;lt;script type=&#39;text/javascript&#39; src=&#39;http://jrchen82.googlepages.com/hackosphere.js&#39; /&gt;，必须粘在&amp;lt;/head&gt;前方。&lt;br /&gt;这一语句：&lt;br /&gt;&lt;code&gt;&amp;lt;p&gt;&amp;lt;a expr:onclick=&#39;&quot;javascript:showFull(\&quot;post-&quot; + data:post.id + &quot;\&quot;);&quot;&#39; href=&#39;javascript:void(0);&#39;&gt;Read More...&amp;lt;/a&gt;&amp;lt;/p&gt;&lt;/code&gt;&lt;br /&gt;可以改为下面的形式，增加一小图片，&lt;br /&gt;&lt;code&gt;&amp;lt;p&gt;&amp;lt;a expr:onclick=&#39;&quot;javascript:showFull(\&quot;post-&quot; + data:post.id + &quot;\&quot;);&quot;&#39; href=&#39;javascript:void(0);&#39;&gt;显示全文&amp;lt;img border=&#39;0&#39; src=&#39;http://jrchen82.googlepages.com/readmore.gif&#39;/&gt;&amp;lt;/a&gt;&amp;lt;/p&gt;&lt;/code&gt;&lt;br /&gt;同理，&lt;br /&gt;&lt;code&gt;&amp;lt;p&gt;&amp;lt;a expr:onclick=&#39;&quot;javascript:hideFull(\&quot;post-&quot; + data:post.id + &quot;\&quot;);&quot;&#39;href=&#39;javascript:void(0);&#39;&gt;Summary only...&amp;lt;/a&gt;&amp;lt;/p&gt;&lt;/code&gt;&lt;br /&gt;可以改为：&lt;br /&gt;&lt;code&gt;&amp;lt;p&gt;&amp;lt;a expr:onclick=&#39;&quot;javascript:hideFull(\&quot;post-&quot; + data:post.id + &quot;\&quot;);&quot;&#39;href=&#39;javascript:void(0);&#39;&gt;显示摘要&amp;lt;img border=&#39;0&#39;&lt;br /&gt;src=&#39;http://jrchen82.googlepages.com/summary.gif&#39;/&gt;&amp;lt;/a&gt;&amp;lt;/p&gt;&lt;/code&gt;&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;&lt;strong&gt;11.添回到页首，回到帖子标题链接&lt;/strong&gt;&lt;br /&gt;找到下面的代码，并添加红色部分。如果使用了上一个HACK，可略过此步&lt;br /&gt;&lt;code&gt;&amp;lt;b:includable id=&#39;post&#39; var=&#39;post&#39;&gt;&lt;br /&gt;&amp;lt;div class=&#39;post&#39; &lt;span style=&quot;color:#ff0000;&quot;&gt;expr:id=&#39;&quot;post-&quot; + data:post.id&#39;&lt;/span&gt; &gt;&lt;/code&gt;&lt;br /&gt;把下面代码粘在&amp;lt;b:include data=&#39;post&#39; name=&#39;postQuickEdit&#39;/&gt;之后或任何你想让它出现的地方。&lt;br /&gt;&lt;code&gt;&amp;lt;a expr:onclick=&#39;&quot;javascript:document.getElementById(\&quot;post-&quot; + data:post.id + &quot;\&quot;).scrollIntoView(true);&quot;&#39; href=&#39;javascript:void(0);&#39; title=&#39;Scroll to top of post&#39;&gt;回到开头↑&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;!-- to top of page and top of blog --&gt;&lt;br /&gt;&amp;lt;a href=&#39;javascript:scroll(0,0)&#39; title=&#39;Scroll to top of this page&#39;&gt;回到页首↑&amp;lt;/a&gt;&lt;/code&gt;&lt;br /&gt;同样这里可以仿照上一个HACK，加入小图标。&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;12.显示相关文章&lt;/strong&gt;(&lt;a href=&quot;http://purplemoggy.blogspot.com/2006/12/related-posts.html&quot;&gt;原文&lt;/a&gt;）&lt;br /&gt;第一步：选中“扩展窗口小部件模板”，把下面代码放在&amp;lt;/head&gt;正前方&lt;br /&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;//&amp;lt;![CDATA[&lt;br /&gt;var relatedTitles = new Array();&lt;br /&gt;var relatedTitlesNum = 0;&lt;br /&gt;var relatedUrls = new Array();&lt;br /&gt;function related_results_labels(json) {&lt;br /&gt;for (var i = 0; i &amp;lt; json.feed.entry.length; i++) {&lt;br /&gt;var entry = json.feed.entry[i];&lt;br /&gt;relatedTitles[relatedTitlesNum] = entry.title.$t;&lt;br /&gt;for (var k = 0; k &amp;lt; entry.link.length; k++) {&lt;br /&gt;if (entry.link[k].rel == &#39;alternate&#39;) {&lt;br /&gt;relatedUrls[relatedTitlesNum] = entry.link[k].href;&lt;br /&gt;relatedTitlesNum++;&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;function removeRelatedDuplicates() {&lt;br /&gt;var tmp = new Array(0);&lt;br /&gt;var tmp2 = new Array(0);&lt;br /&gt;for(var i = 0; i &amp;lt; relatedUrls.length; i++) {&lt;br /&gt;if(!contains(tmp, relatedUrls[i])) {&lt;br /&gt;tmp.length += 1;&lt;br /&gt;tmp[tmp.length - 1] = relatedUrls[i];&lt;br /&gt;tmp2.length += 1;&lt;br /&gt;tmp2[tmp2.length - 1] = relatedTitles[i];&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;relatedTitles = tmp2;&lt;br /&gt;relatedUrls = tmp;&lt;br /&gt;}&lt;br /&gt;function contains(a, e) {&lt;br /&gt;for(var j = 0; j &amp;lt; a.length; j++) if (a[j]==e) return true;&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;function printRelatedLabels() {&lt;br /&gt;var r = Math.floor((relatedTitles.length - 1) * Math.random());&lt;br /&gt;var i = 0;&lt;br /&gt;document.write(&#39;&amp;lt;ul&gt;&#39;);&lt;br /&gt;while (i &amp;lt; relatedTitles.length &amp;&amp;amp; &lt;span style=&quot;color:#33cc00;&quot;&gt;i &amp;lt; 20&lt;/span&gt;) {&lt;br /&gt;document.write(&#39;&amp;lt;li&gt;&amp;lt;a href=&quot;&#39; + relatedUrls[r] + &#39;&quot;&gt;&#39; + relatedTitles[r] + &#39;&amp;lt;/a&gt;&amp;lt;/li&gt;&#39;);&lt;br /&gt;if (r &amp;lt; relatedTitles.length - 1) {&lt;br /&gt;r++;&lt;br /&gt;} else {&lt;br /&gt;r = 0;&lt;br /&gt;}&lt;br /&gt;i++;&lt;br /&gt;}&lt;br /&gt;document.write(&#39;&amp;lt;/ul&gt;&#39;);&lt;br /&gt;}&lt;br /&gt;//]]&gt;&lt;br /&gt;&amp;lt;/script&gt;&lt;/code&gt;&lt;br /&gt;第二步：找到以下代码：&lt;br /&gt;&lt;code&gt;&amp;lt;b:if cond=&#39;data:post.labels&#39;&gt;&lt;br /&gt;&amp;lt;data:postLabelsLabel/&gt;&lt;br /&gt;&amp;lt;b:loop values=&#39;data:post.labels&#39; var=&#39;label&#39;&gt;&lt;br /&gt;&amp;lt;a expr:href=&#39;data:label.url&#39; rel=&#39;tag&#39;&gt;&amp;lt;data:label.name/&gt;&amp;lt;/a&gt;&amp;lt;b:if cond=&#39;data:label.isLast != &quot;true&quot;&#39;&gt;,&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;/b:loop&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;/code&gt;&lt;br /&gt;更改为:&lt;br /&gt;&lt;code&gt;&amp;lt;b:if cond=&#39;data:post.labels&#39;&gt;&lt;br /&gt;&amp;lt;data:postLabelsLabel/&gt;&lt;br /&gt;&amp;lt;b:loop values=&#39;data:post.labels&#39; var=&#39;label&#39;&gt;&lt;br /&gt;&amp;lt;a expr:href=&#39;data:label.url&#39; rel=&#39;tag&#39;&gt;&amp;lt;data:label.name/&gt;&amp;lt;/a&gt;&amp;lt;b:if cond=&#39;data:label.isLast != &quot;true&quot;&#39;&gt;,&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:blog.pageType == &quot;item&quot;&#39;&gt;&lt;br /&gt;&amp;lt;script expr:src=&#39;&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;amp;&lt;span style=&quot;color:#33cc00;&quot;&gt;max-results=10&lt;/span&gt;&quot;&#39; type=&#39;text/javascript&#39;/&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;/b:loop&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;/code&gt;&lt;br /&gt;第三步：保存，跳转至页面元素，添加一个HTML/Javascript元素，命名为“相关文章”，放入以下代码：&lt;br /&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;removeRelatedDuplicates();&lt;br /&gt;printRelatedLabels();&lt;br /&gt;&amp;lt;/script&gt;&lt;/code&gt;&lt;br /&gt;第四步：回到Html编辑，选中“扩展窗口小部件模板”，查找“相关文章”，把该部分加入红色代码：&lt;br /&gt;&lt;code&gt;&amp;lt;b:widget id=&#39;HTML &lt;span style=&quot;color:#3366ff;&quot;&gt;？&lt;/span&gt;&#39; locked=&#39;false&#39; title=&#39;相关文章&#39; type=&#39;HTML&#39;&gt;&lt;br /&gt;&amp;lt;b:includable id=&#39;main&#39;&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&amp;lt;b:if cond=&#39;data:blog.pageType == &quot;item&quot;&#39;&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;!-- only display title if it&#39;s non-empty --&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:title != &quot;&quot;&#39;&gt;&lt;br /&gt;&amp;lt;h2 class=&#39;title&#39;&gt;&amp;lt;data:title/&gt;&amp;lt;/h2&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;div class=&#39;widget-content&#39;&gt;&lt;br /&gt;&amp;lt;data:content/&gt;&lt;br /&gt;&amp;lt;/div&gt;&lt;br /&gt;&amp;lt;b:include name=&#39;quickedit&#39;/&gt;&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&lt;/span&gt;&amp;lt;/b:includable&gt;&lt;br /&gt;&amp;lt;/b:widget&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style=&quot;color:#33cc00;&quot;&gt;绿色&lt;/span&gt;部分为自定义项目。&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/290081737261859927/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/290081737261859927?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/290081737261859927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/290081737261859927'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/blogger-hack_10.html' title='Blogger 实用 Hack 技巧总结之三'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-1935240996793037262</id><published>2007-03-08T02:01:00.001+08:00</published><updated>2008-08-24T23:17:10.590+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>BLOGGER上的AJAX应用</title><content type='html'>注意添加这两个效果之后，博客打开速度有所下降，记得装酷是要付出代价的。&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.Ajax搜索&lt;/strong&gt;&lt;br /&gt;原作者&lt;a href=&quot;http://ggpi.blogspot.com&quot;&gt;GG派&lt;/a&gt;，我把代码删减了，只留下博客的搜索结果，算是大材小用了：），要加上其他内容请&lt;a href=&quot;http://ggpi.blogspot.com/2007/03/blogger-30ajax.html&quot;&gt;查看原文&lt;/a&gt;。&lt;br /&gt;第一步：&lt;a href=&quot;http://code.google.com/apis/ajaxsearch/signup.html&quot;&gt;点击这里&lt;/a&gt;，输入你的博客地址，同意google条款，申请一个google AJAX API key。&lt;br /&gt;第二步：COPY下面的代码，放在 ]]&gt;&amp;lt;/b:skin&gt;之后，&amp;lt;/head&gt;之前&lt;br /&gt;&lt;code&gt;&amp;lt;link href=&#39;http://www.google.com/uds/css/gsearch.css&#39; rel=&#39;stylesheet&#39;&lt;br /&gt;type=&#39;text/css&#39;/&gt;&lt;br /&gt;&amp;lt;style type=&#39;text/css&#39;&gt;&lt;br /&gt;.gsc-control {&lt;br /&gt;width: 95%;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&gt;&lt;br /&gt;&amp;lt;script src=&#39;http://www.google.com/uds/api?&lt;br /&gt;file=uds.js&amp;v=1.0&amp;amp;key=&lt;span style=&quot;color:#ff0000;&quot;&gt;你申请到的KEY&lt;/span&gt;&#39; type=&#39;text/javascript&#39;/&gt;&lt;br /&gt;&amp;lt;script language=&#39;Javascript&#39; type=&#39;text/javascript&#39;&gt;//&amp;lt;![CDATA[&lt;br /&gt;function OnLoad() {&lt;br /&gt;// create a search control&lt;br /&gt;var searchControl = new GSearchControl();&lt;br /&gt;// web search, open, alternate root&lt;br /&gt;var options = new GsearcherOptions();&lt;br /&gt;options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);&lt;br /&gt;options.setRoot(document.getElementById(&quot;somewhere_else&quot;));&lt;br /&gt;var blogSearch = new GblogSearch();&lt;br /&gt;blogSearch.setUserDefinedLabel(&quot;&lt;span style=&quot;color:#ff0000;&quot;&gt;你的博客名称&lt;/span&gt;&quot;);&lt;br /&gt;blogSearch.setSiteRestriction(&quot;http://&lt;span style=&quot;color:#ff0000;&quot;&gt;你的网址&lt;/span&gt;.blogspot.com&quot;);&lt;br /&gt;searchControl.addSearcher(blogSearch, options);&lt;br /&gt;// tell the searcher to draw itself and tell it where to attach&lt;br /&gt;searchControl.draw(document.getElementById(&quot;search_control&quot;));&lt;br /&gt;// execute an inital search&lt;br /&gt;searchControl.execute(initSearch);&lt;br /&gt;}&lt;br /&gt;GSearch.setOnLoadCallback(OnLoad);&lt;br /&gt;//]]&gt;&lt;br /&gt;&amp;lt;/script&gt;&lt;/code&gt;&lt;br /&gt;第三步，切换到页面元素，弹出消息框，确定忽略，烦人的是以后到这里都会弹出这个消息框。&lt;br /&gt;新建两个页面元素，放进以下代码：&lt;br /&gt;下面代码放进的页面元素显示搜索框，可以改为任意你喜欢的图片，或者不显示任何图片：&lt;br /&gt;&lt;code&gt;&amp;lt;div id=&quot;search_control&quot;&gt;&amp;lt;img&lt;br /&gt;src=&quot;http://jrchen@82.googlepages.com/wbbar.gif&quot;/&gt;&amp;lt;/div&gt;&lt;/code&gt;&lt;br /&gt;下面代码放进的页面元素显示搜索结果，同样可以加入HTML语言：&lt;br /&gt;&lt;code&gt;&amp;lt;div id=&quot;somewhere_else&quot;&gt;&amp;lt;/div&gt;&lt;/code&gt;&lt;br /&gt;保存完成。&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.Ajax 标签&lt;/strong&gt;&lt;br /&gt;原作者&lt;a href=&quot;http://blogger-hacked.blogspot.com/&quot;&gt;Deepak&lt;/a&gt;，&lt;a href=&quot;http://blogger-hacked.blogspot.com/2007/02/ajax-labels-reloaded.html&quot;&gt;点击这里&lt;/a&gt;查看原文，由&lt;a href=&quot;http://ggpi.blogspot.com/2007/02/blogger-30ajax.html&quot;&gt;GG派&lt;/a&gt;&lt;a href=&quot;http://ggpi.blogspot.com/2007/02/bloggerajaxcss.html&quot;&gt;改进&lt;/a&gt;。&lt;br /&gt;第一步：COPY 下面代码 ，放在 ]]&gt;&amp;lt;/b:skin&gt;之后，&amp;lt;/head&gt;之前：&lt;br /&gt;&lt;code&gt;&amp;lt;style type=&#39;text/css&#39;&gt;&lt;br /&gt;#indicator {position:fixed;z-index:1000;padding:15px 0;top:40%;background-color:white;border:1px solid #AAAAAA;width:180px;left:55%;text-align:center;}&lt;br /&gt;* html #indicator{ /*IE6 only*/&lt;br /&gt;position:absolute;&lt;br /&gt;}&lt;br /&gt;#search-result {border:1px solid #AAAAAA;padding:10px;padding-bottom:30px;font-size:85%;}&lt;br /&gt;.search-result-meta {background:#EFEFEF;padding:2px;}&lt;br /&gt;.search-result-meta img {border-width:0;vertical-align:text-bottom;}&lt;br /&gt;.search-title {font-size:128%;padding-bottom:3px;font-weight:bold;text-align:left;text-decoration:underline;}&lt;br /&gt;.search-cat {display:block;padding:3px;font-size:1em;margin-top:5px;margin-bottom:5px;border-bottom:1px solid #C0C0C0;font-weight:bold;}&lt;br /&gt;.search-close {color:silver;float:right;font-weight:bold;border:1px solid #F5F5F5;margin-top:10px;cursor:pointer;}&lt;br /&gt;.search-result-nav {font-size:1.2em;font-weight:bold;padding:5px 0pt;text-align:center;}&lt;br /&gt;&amp;lt;/style&gt;&lt;br /&gt;&amp;lt;script src=&#39;http://jrchen@82.googlepages.com/prototype.js&#39; type=&#39;text/javascript&#39;/&gt;&lt;br /&gt;&amp;lt;script type=&#39;text/javascript&#39;&gt;&lt;br /&gt;//&amp;lt;![CDATA[&lt;br /&gt;// 用户自定义参数&lt;br /&gt;// ----------------------------&lt;br /&gt;var maxresults = 5;//每页打开的文章数&lt;br /&gt;var navFlag = 1; //是否打开翻页功能，不打开设为0&lt;br /&gt;var feedLabel = &quot;Subscribe to&quot;;//RSS标签文字&lt;br /&gt;var catLabel = &quot;Sorted into:&quot;;//描述分类标签文字&lt;br /&gt;var closeLabel = &quot;Click to close&quot;;//关闭按钮文字，可以使用HTML语言&lt;br /&gt;//]]&gt;&lt;br /&gt;&amp;lt;/script&gt;&lt;br /&gt;&amp;lt;script src=&#39;http://jrchen@82.googlepages.com/ajaxla.js&#39; type=&#39;text/javascript&#39;/&gt;&lt;/code&gt;&lt;br /&gt;第二步：找到下面的代码：&lt;br /&gt;&lt;code&gt;&amp;lt;b:loop values=&#39;data:post.labels&#39; var=&#39;label&#39;&gt;&lt;br /&gt;&amp;lt;a expr:href=&#39;data:label.url&#39; rel=&#39;tag&#39;&gt;&amp;lt;data:label.name/&gt;&amp;lt;/a&gt;&lt;/code&gt;&lt;br /&gt;替换为：&lt;br /&gt;&lt;code&gt;&amp;lt;b:loop values=&#39;data:post.labels&#39; var=&#39;label&#39;&gt;&amp;lt;a href=&#39;#sres&#39; expr:onclick=&#39;&quot;javascript:getCat(\&quot;&quot; + data:label.name + &quot;\&quot;,null)&quot;&#39; rel=&#39;tag&#39;&gt;&amp;lt;data:label.name/&gt;&amp;lt;/a&gt;&lt;/code&gt;&lt;br /&gt;找到标签元素的类似代码（没有添加标签元素的话先添加再修改）：&lt;br /&gt;&lt;code&gt;&amp;lt;b:if cond=&#39;data:blog.url == data:label.url&#39;&gt;&lt;br /&gt;&amp;lt;data:label.name/&gt;&lt;br /&gt;&amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;a href=&#39;data:label.url&#39;&gt;&amp;lt;data:label.name/&gt;&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;/code&gt;&lt;br /&gt;替换为：&lt;br /&gt;&lt;code&gt;&amp;lt;b:if cond=&#39;data:blog.url == data:label.url&#39;&gt;&lt;br /&gt;&amp;lt;data:label.name/&gt;&lt;br /&gt;&amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;a href=&#39;#sres&#39; expr:onclick=&#39;&quot;javascript:getCat(\&quot;&quot; + data:label.name + &quot;\&quot;,null)&quot;&#39; &gt;&amp;lt;data:label.name/&gt;&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;/code&gt;&lt;br /&gt;第三步，增加一个新的页面元素用来显示点击标签后的结果，建议放在帖子上方。&lt;br /&gt;页面元素内部添加代码如下：&lt;br /&gt;&lt;code&gt;&amp;lt;div id=&quot;indicator&quot; style=&quot;display:none&quot;&gt;&amp;lt;img alt=&quot;Indicator&quot; src=&quot;http://bloggerhacked.googlepages.com/indicator.gif&quot;/&gt; Loading...&amp;lt;/div&gt;&amp;lt;div id=&quot;search-result&quot; style=&quot;display:none&quot;&gt;&amp;lt;a name=&quot;sres&quot;&gt;&amp;lt;/a&gt;&amp;lt;div class=&quot;search-close&quot; onclick=&quot;javascript:Element.hide(&#39;search-result&#39;);Element.show(&#39;Blog1&#39;);&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&gt;document.write(closeLabel);&amp;lt;/script&gt;&amp;lt;/div&gt;&amp;lt;div id=&quot;show-result&quot;&gt;&amp;lt;/div&gt;&amp;lt;div class=&quot;search-close&quot; onclick=&quot;javascript:Element.hide(&#39;search-result&#39;);Element.show(&#39;Blog1&#39;);&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&gt;document.write(closeLabel);&amp;lt;/script&gt;&amp;lt;/div&gt;&amp;lt;/div&gt;&lt;/code&gt;&lt;br /&gt;保存完成。&lt;br /&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1935240996793037262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1935240996793037262'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/bloggerajax.html' title='BLOGGER上的AJAX应用'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-3803977807757023721</id><published>2007-03-07T02:20:00.000+08:00</published><updated>2007-04-02T22:28:38.417+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="google search"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>使用Google Blog Search为Blogger添加全文搜索</title><content type='html'>前些日子介绍了&lt;a href=&quot;http://jianrongchen.blogspot.com/2007/03/blogger-hack_02.html&quot;&gt;使用Blogger本身提供的Search功能为本站添加搜索&lt;/a&gt;，但是该功能只能搜索帖子标题，对全文搜索无能为力。对于BLOG内容较多，帖子标题又无法反映全部内容的，增加一个全文搜索确实必要。很多朋友都在BLOG里调用Google搜索引擎进行全文搜索，但对于BLOG来说及时性很差，往往需要几天时间才能更新。而Google Blog Search（以下简称GBS）的更新非常快，几乎是当天就可以检索到。所以这里介绍如何在Blogger里添加GBS功能进行本站全文搜索，使用Javascript实现。&lt;br /&gt;1.COPY下面源代码(&lt;span style=&quot;color:#ff0000;&quot;&gt;yourname&lt;/span&gt;改为你自己的名字）&lt;code&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;function blogsearch () {&lt;br /&gt;var wq=document.getElementsByName(&quot;wq&quot;)[0].value;&lt;br /&gt;var link=&quot;http://blogsearch.google.com/blogsearch?hl=en&amp;ie=UTF-8&amp;amp;q=blogurl:http://&lt;span style=&quot;color:#ff0000;&quot;&gt;yourname&lt;/span&gt;.blogspot.com+&quot;+wq;&lt;br /&gt;window.open(link); }&lt;br /&gt;&amp;lt;/script&gt;&lt;br /&gt;&amp;lt;input id=&quot;query&quot; name=&quot;wq&quot; type=&quot;text&quot;/&gt;&lt;br /&gt;&amp;lt;input id=&quot;b-searchbtn&quot; value=&quot;Search&quot; onclick=&quot;javascript:blogsearch()&quot; type=&quot;submit&quot;/&gt; &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;2.进入控制台——模版——页面元素——添加页面元素——添加HTML/JavaScript——粘贴源代码——输入标题——保存。&lt;br /&gt;3.同样如果想更改该控件格式，可以在CSS样式表中加入下面代码（已有的不用再添加）&lt;code&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;#query {&lt;br /&gt;width:150px;&lt;br /&gt;border:1px solid #999;&lt;br /&gt;background: #fff;&lt;br /&gt;}&lt;br /&gt;#searchbtn {&lt;br /&gt;border:1px solid #999;&lt;br /&gt;background: #fff;&lt;br /&gt;} &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;4.如果你嫌GBS更新还不够快，可以使用它的Ping服务功能，每次你更新Blog之后可以访问&lt;a href=&quot;http://blogsearch.google.com/ping&quot;&gt;http://blogsearch.google.com/ping&lt;/a&gt;，手动提交你的BLOG，可以使你的BLOG更新更快。因为GBS更新已经非常快，自动Ping在这里就不介绍了。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/3803977807757023721/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/3803977807757023721?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/3803977807757023721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/3803977807757023721'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/google-blog-searchblogger.html' title='使用Google Blog Search为Blogger添加全文搜索'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-1002978149651837649</id><published>2007-03-02T21:19:00.000+08:00</published><updated>2007-04-02T19:19:58.772+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>Blogger 实用 Hack 技巧总结之二</title><content type='html'>&lt;span id=&quot;fullpost&quot;&gt;&lt;strong&gt;4.去除Blogger页面顶端的NavBar&lt;/strong&gt;&lt;br /&gt;进入控制台——模版——修改HTML，在CSS样式表中间加入下面代码&lt;code&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;#navbar-iframe {&lt;br /&gt;height:0px;&lt;br /&gt;visibility:hidden;&lt;br /&gt;display:none&lt;br /&gt;}&lt;/span&gt; &lt;/code&gt;&lt;br /&gt;保存退出&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5.在Blogger页面添加站内搜索&lt;/strong&gt;&lt;br /&gt;如果去除了NavBar，又想增加一个站内搜索，可以COPY下面源代码&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;&amp;lt;form id=&quot;searchthis&quot; action=&quot;http://&lt;span style=&quot;color:#ff0000;&quot;&gt;yourname&lt;/span&gt;.blogspot.com/search&quot; style=&quot;display:inline;&quot; method=&quot;get&quot;&gt;&amp;lt;br/&gt;&lt;br /&gt;&amp;lt;input id=&quot;query&quot; name=&quot;q&quot; type=&quot;text&quot;/&gt;&lt;br /&gt;&amp;lt;input id=&quot;b-searchbtn&quot; value=&quot;搜索&quot; type=&quot;submit&quot;/&gt;&amp;lt;br/&gt;&amp;lt;/form&gt;&lt;/span&gt; &lt;/code&gt;&lt;br /&gt;进入控制台——模版——页面元素——添加页面元素——添加HTML/JavaScript——粘贴源代码——输入标题——保存。 如果想更改该控件格式，可以在CSS样式表中加入下面代码 &lt;code&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;#query {&lt;br /&gt;width:150px;&lt;br /&gt;border:1px solid #999;&lt;br /&gt;background: #fff;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#searchbtn {&lt;br /&gt;border:1px solid #999;&lt;br /&gt;background: #fff;&lt;br /&gt;}&lt;/span&gt; &lt;/code&gt;&lt;br /&gt;根据需要修改搜索框长度，背景色，边框等等。&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6.在文章中粘贴代码&lt;/strong&gt;&lt;br /&gt;将所有的&lt;替换成&amp;amp;lt;然后再发表，用这种方法不仅可以在Blogger里正常输出文件，而且COPY后不用再去替换全角，很是方便。如有必要，还可以将&gt;替换成&amp;gt; 。如果要像本BLOG那样显示代码，可以在CSS样式表中加入下面代码。&lt;code&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;CODE {&lt;br /&gt;display: block; /* fixes a strange ie margin bug */&lt;br /&gt;font-family: Courier New;&lt;br /&gt;font-size: 8pt;&lt;br /&gt;overflow:auto;&lt;br /&gt;background: #f0f0f0 url(http://klcintw.images.googlepages.com/Code_BG.gif) left top repeat-y;&lt;br /&gt;border: 1px solid #ccc;&lt;br /&gt;padding: 0px 10px 10px 21px;&lt;br /&gt;max-height:200px;&lt;br /&gt;line-height: 1.2em;&lt;br /&gt;} &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;在编写帖子时，在代码两边加上&amp;lt;code&gt;和&amp;lt;/code&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/1002978149651837649/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/1002978149651837649?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1002978149651837649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1002978149651837649'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/blogger-hack_02.html' title='Blogger 实用 Hack 技巧总结之二'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-3258239731690725697</id><published>2007-03-02T20:26:00.000+08:00</published><updated>2007-04-02T22:32:39.465+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Blogger"/><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><title type='text'>Blogger 实用 Hack 技巧总结之一</title><content type='html'>&lt;span style=&quot;color:#666666;&quot;&gt;不讨论经典模版的技巧，在修改模版前建议保存一份副本。&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;1.在Blogger首页显示摘要&lt;/strong&gt;&lt;br /&gt;进入控制台——模版——修改HTML——点选扩展窗口小部件模板&lt;br /&gt;定位红色代码 &lt;code&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&amp;lt;p&gt;&amp;lt;data:post.body/&gt;&amp;lt;/p&gt;&lt;/span&gt; &lt;/code&gt;&lt;br /&gt;替换为蓝色代码 &lt;code&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;&amp;lt;b:if cond=&#39;data:blog.pageType == &quot;item&quot;&#39;&gt;&lt;br /&gt;&amp;lt;style&gt;.fullpost{display:inline;}&amp;lt;/style&gt;&lt;br /&gt;&amp;lt;p&gt;&amp;lt;data:post.body/&gt;&amp;lt;/p&gt;&lt;br /&gt;&amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;style&gt;.fullpost{display:none;}&amp;lt;/style&gt;&lt;br /&gt;&amp;lt;p&gt;&amp;lt;data:post.body/&gt;&lt;br /&gt;&amp;lt;br&gt;&amp;lt;/br&gt;&lt;br /&gt;&amp;lt;b:if cond=&#39;data:post.url&#39;&gt;&lt;br /&gt;&amp;lt;a expr:href=&#39;data:post.url&#39;&gt;显示全文......&amp;lt;/a&gt;&lt;br /&gt;&amp;lt;b:else/&gt;&lt;br /&gt;&amp;lt;data:post.title/&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;br /&gt;&amp;lt;/p&gt;&lt;br /&gt;&amp;lt;/b:if&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color:#3366ff;&quot;&gt;&lt;br /&gt;&lt;/span&gt;进入控制台——设置——格式设定——文章模版中加入如下代码&lt;br /&gt;&lt;code&gt;&lt;span style=&quot;color:#33cc00;&quot;&gt;&amp;lt;span class=&quot;fullpost&quot;&gt;&amp;lt;/span&gt;&lt;/span&gt; &lt;/code&gt;&lt;br /&gt;代码中“显示全文......”可以更改为任意你喜欢的文字，编写帖子时，要隐藏的内容写在&amp;lt;span class=&quot;fullpost&quot;&gt;与&amp;lt;/span&gt;之间。&lt;br /&gt;此方法只对新编写的帖子有用，如果以前的文章要以摘要方式显示，必须编辑文章，在隐藏文字两边分别加上&amp;lt;span class=&quot;fullpost&quot;&gt;和&amp;lt;/span&gt;；另一种方法是对每篇文章截取固定像素，使首页看起来很整齐，不用编辑以前的帖子，但是如果文章开始是一个大图片，该方法只会截取一段显示，反而影响美观，在这里不介绍。 &lt;/span&gt;&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;&lt;strong&gt;2.在Blogger右侧栏显示最新文章 &lt;/strong&gt;&lt;br /&gt;进入控制台——模版——页面元素——添加页面元素——供稿——输入供稿地址http://yourname.blogspot.com/feeds/posts/default(其中&lt;span style=&quot;color:#ff0000;&quot;&gt;y&lt;/span&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;ourname&lt;/span&gt;改为你博客的地址，以下相同）——更改标题和选项——保存。这个方法虽然简单，但是只能显示5条信息。&lt;br /&gt;另一方法是登录GOOGLE READER，在左侧导航栏点击Add subscription——输入http://&lt;span style=&quot;color:#ff0000;&quot;&gt;yourname&lt;/span&gt;.blogspot.com/feeds/posts/default——Add——点击上侧导航 Settings——Subscriptions——Change folders... ——New folder...——输入myblog——确定后进入Tag——点击private左边的小图标，将该文件夹公开——点击add a clip to your site——设置标题，样式，显示条目等——如果你觉得10条不够，可以把下面源代码中的myblog?n=10改为myblog?n=XX（1000条以下）——COPY源代码；&lt;br /&gt;进入控制台——模版——页面元素——添加页面元素——添加HTML/JavaScript——粘贴源代码——输入标题——保存。&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.在Blogger右侧栏显示最新评论&lt;/strong&gt;&lt;br /&gt;与显示最新文章方法相同，只需要把供稿地址，也即RSS Feeds地址改为http://&lt;span style=&quot;color:#ff0000;&quot;&gt;yourname&lt;/span&gt;.blogspot.com/feeds/comments/default。2和3使用GOOGLE READER的方法必须有帖子或评论才能成功。&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/3258239731690725697/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/3258239731690725697?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/3258239731690725697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/3258239731690725697'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/blogger-hack.html' title='Blogger 实用 Hack 技巧总结之一'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-1147345095083141692</id><published>2007-03-01T23:36:00.000+08:00</published><updated>2007-04-02T22:35:07.641+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="google search"/><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><category scheme="http://www.blogger.com/atom/ns#" term="Trixie"/><title type='text'>使用Trixie插件访问GOOGLE快照</title><content type='html'>作为GOOGLE的FANS却一直在使用BAIDU，只因GOOGLE的网页快照在国内不能用，网上一直有访问GOOGLE快照的方法，基本原理就是把快照网址里的“search?q=cache”进行断句，如改成&quot;search?shit=&amp;q=cache”，但是每次打开都要改一下，烦得很，像我这种懒人总希望找个一劳永逸的方法。于是想到了IE的“Trixie”进行网址自动更改，搜索了一下，已经有很多人介绍了，不灵光的也多；网上也有叫“&lt;a href=&quot;http://www.onlinedown.net/soft/6112.htm&quot;&gt;GOOGLE快照助手&lt;/a&gt;”的软件，没有用过，懒人可以下来试用一下。下面提供一种方法，经测试可行。&lt;br /&gt;需要工具&lt;br /&gt;1.&lt;span style=&quot;color:#ff0000;&quot;&gt;Microsoft .NET Framework&lt;/span&gt; &lt;a href=&quot;http://www.newhua.com/soft/38669.htm&quot;&gt;华军下载地址&lt;/a&gt;&lt;br /&gt;2.&lt;span style=&quot;color:#ff0000;&quot;&gt;Trixie&lt;/span&gt; &lt;a href=&quot;http://www.bhelpuri.net/Trixie/TrixieDownload.htm&quot;&gt;官方下载地址&lt;/a&gt;&lt;br /&gt;装完上面两个软件后，粘贴下面代码到一文本文档中&lt;br /&gt;&lt;code&gt;// ==UserScript==&lt;br /&gt;// @name Enable Google Caches&lt;br /&gt;// @namespace http://jianrongchen.blogsopt.com/&lt;br /&gt;// @description Enable Google caches&lt;br /&gt;// @include search&lt;br /&gt;// ==/UserScript==&lt;br /&gt;&lt;br /&gt;(function()&lt;br /&gt;{&lt;br /&gt;var allLinks = document.links;&lt;br /&gt;if (allLinks != null)&lt;br /&gt;{&lt;br /&gt;for (i = 0; i &lt; allLinks.length; ++i)&lt;br /&gt;{&lt;br /&gt;if (allLinks [i].href.indexOf (&quot;/search?q=cache:&quot;) &gt; 0)&lt;br /&gt;{&lt;br /&gt;allLinks [i].href = allLinks [i].href.replace (&quot;/search?q=cache:&quot;, &quot;/search?shit&amp;q=cache:&quot;);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;)();&lt;/code&gt;&lt;br /&gt;另存为Googlecache.user.js，保存至Trixie的Scripts文件夹，默认为“C:\Program Files\Bhelpuri\Trixie\Scripts”，打开IE——工具——Trixie Options...——Reload Scripts——点选Enable Google Caches——OK退出。&lt;br /&gt;注：代码里面的search?shit&amp;amp;q=cache可能会过期，一段时间后不能用可以把“shit”改为任意你喜欢的字符，这是很多所谓“GOOGLE快照助手”所不具有的优点。&lt;br /&gt;测试环境：Windows XP SP2；IE 6.0；.NET Framework 1.1。&lt;br /&gt;也可以参考&lt;a href=&quot;http://dreamz.org/gznm/&quot;&gt;孤掌难鸣博客&lt;/a&gt;的&lt;a href=&quot;http://dreamz.org/gznm/archive/2006/05/18/114216.drl&quot;&gt;另一种Trixie脚本&lt;/a&gt;，可以直接下载；孤掌难鸣也编写了一个&lt;a href=&quot;http://dreamz.org/gznm/archive/2006/05/26/118129.drl&quot;&gt;IE插件&lt;/a&gt;，懒人可以看一下。</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/1147345095083141692/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/1147345095083141692?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1147345095083141692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/1147345095083141692'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/03/googlefansbaidugooglegooglesearchqsearc.html' title='使用Trixie插件访问GOOGLE快照'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7549941286726046940.post-5167565405036289021</id><published>2007-02-24T03:28:00.000+08:00</published><updated>2007-04-02T19:22:31.330+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="games"/><category scheme="http://www.blogger.com/atom/ns#" term="游戏修改"/><title type='text'>自己动手在极品9生涯里添加BMW M3</title><content type='html'>&lt;span style=&quot;color:#3333ff;&quot;&gt;这是我以前在一论坛上发的帖子，对极品9感兴趣的朋友可以研究一下，有问题可以留言，转载请注明出处和作者，非出自风轮博客的均为盗版。&lt;br /&gt;&lt;/span&gt;经过这些步骤，你可以在生涯的任何时刻使用男主角的BMW M3 GTR，包括完成度为0并且可以加上全U套件和究极N2O，只需简单几个步骤，你就可以拥有这辆超强的M3动心了没有？那就接着看吧 &lt;p&gt;&lt;a href=&quot;http://photo.tvix.cn/photos/20061007/ly5wjawiveEe.jpg&quot;&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://photo.tvix.cn/photos/20061007/ly5wjawiveEe.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;span id=&quot;fullpost&quot;&gt;需要工具&lt;br /&gt;1：16进制编辑器，如Ultraedit，到&lt;a href=&quot;http://www.crsky.com/soft/7033.html&quot;&gt;这里&lt;/a&gt;下载。&lt;br /&gt;2：Need For Speed Most Wanted Save Editor（修复存盘文件用），点击&lt;a href=&quot;http://jrchen82.googlepages.com/NFS9SaveEditor.rar&quot;&gt;这里&lt;/a&gt;下载。&lt;br /&gt;首先备份自己的存盘文件，然后用Ultraedit打开存盘文件存盘文件位于：我的文档\NFS Most Wanted按CTRF+F 查找 4E 4A CC 23 B3 5F 08 4E 20，找到后将后面的20改成01，如下图&lt;br /&gt;&lt;a href=&quot;http://photo.tvix.cn/photos/20061007/ljMCSYS03joz.jpg&quot;&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://photo.tvix.cn/photos/20061007/ljMCSYS03joz.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; 保存退出用Need For Speed Most Wanted Save Editor修复这个存盘文件，如下图所示&lt;br /&gt;&lt;a href=&quot;http://photo.tvix.cn/photos/20061007/lqSpE1mm5zKZ.jpg&quot;&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://photo.tvix.cn/photos/20061007/lqSpE1mm5zKZ.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; 进入游戏，进入汽车商店购买这辆BMW M3 GTR, 这一步非常重要，否则下面无法进行在商店里的这辆车是红色的，购买后退出游戏。下面将说说如何将这辆车改成男主角刚开始驾驶的M3，并加上全U套件和究极N2O。&lt;br /&gt;再用Ultraedit打开存盘文件，查找4E 4A CC 23 B3 5F 08 4E 02，注意这里后面的数字是02，代表你的车库中已有的车，02后面为 00 0F 00 ＸＸ，ＸＸ代表这辆BMW的修改位，每个人都可能不同，我这里是21，见下图&lt;br /&gt;&lt;a href=&quot;http://photo.tvix.cn/photos/20061007/lWNPIwBm0gSJ.jpg&quot;&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://photo.tvix.cn/photos/20061007/lWNPIwBm0gSJ.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; 再按CTRF+F 向下查找ＸＸ CD CD CD，比如我是21，就查找21 CD CD CD ，注意找到21CDCDCD之后要往前看，这辆车的修改位置我用红色笔圈起来了，大家可以看到它是在20CDCDCD之后开始到21CDCDCD结束。注意下图圆圈中的代码&lt;br /&gt;&lt;a href=&quot;http://photo.tvix.cn/photos/20061007/lLWAy96oJVNW.jpg&quot;&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://photo.tvix.cn/photos/20061007/lLWAy96oJVNW.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; 改为下图圆圈中的代码，如果不改性能，则不要动蓝色圆圈中的代码，其中03为N2O，5F为U件的和&lt;br /&gt;&lt;a href=&quot;http://photo.tvix.cn/photos/20061007/lYfuqVnQ9cmN.jpg&quot;&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://photo.tvix.cn/photos/20061007/lYfuqVnQ9cmN.jpg&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; 保存退出再用Need For Speed Most Wanted Save Editor修复这个存盘文件。&lt;/span&gt;&lt;span class=&quot;fullpost&quot;&gt;OK，大功告成，进入游戏，享受你的生涯吧。&lt;br /&gt;&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;span style=&quot;color:#000000;&quot;&gt;注：已经完成生涯模式的，如果需要加上加上全U套件和究极N2O，查找车库中BMW M3的代码 为4E 4A CC 23 B3 5F 08 4E 42，注意这里是42，代表赢得的车，同样用42后面的修改位，查找 ＸＸ CD CD CD更改上图蓝色圆圈中的数字，保存后用Need For Speed Most Wanted Save Editor修复即可 &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jianrongchen.blogspot.com/feeds/5167565405036289021/comments/default' title='博文评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7549941286726046940/5167565405036289021?isPopup=true' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/5167565405036289021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7549941286726046940/posts/default/5167565405036289021'/><link rel='alternate' type='text/html' href='http://jianrongchen.blogspot.com/2007/02/9-bmw-m3-gtr0un2om3-116ultraedit.html' title='自己动手在极品9生涯里添加BMW M3'/><author><name>风轮</name><uri>http://www.blogger.com/profile/17681630107551771218</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://www.jianrongchen.net/image/logo/headphoto.jpg'/></author><thr:total>0</thr:total></entry></feed>