在侧边栏显示sa.bros.us书签的最新内容

我们知道使用del.icio.us书签,有一段代码可以调用,来显示最新的书签。

为了不影响页面的加载,这里提供了方法。

因为怕有一天del.icio.us也被伟大的GFW给封锁了,所以我就用了sa.bros.us这个

php的程序。

发现它也提供了这个相似的功能,具体设置是在http://yoursa.bros.us/generarBadge.php

可以看到,提供了一段代码,并且可以设置要输出的链接个数,以及过滤tag。


注意上面这段代码要做些修改,style标签是来设置输出的样式的。

但是,发现现在这样输出的是乱码,解决方法和这里一样。

用记事本打开badge.php文件,查找htmlentities

将其一概删除即可。

如此,就是我现在侧边栏的效果了。

2006.10.20 Update:
V1.7版本中,badge.php文件,还要把下面两行删掉或注释掉:
$row["title"]=utf8_decode($row["title"]);

Popularity: 34% [?]




50% OFF Coupon: 50OFF

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2010 时光漫步. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.