Posts Tagged ‘Taotao’
2009April . 7th

在网页上调用最新滔滔

QQ滔滔实际上就是唠叨,跟饭否差不多,也就是一句话博客,滔滔提供了JS调用代码,显示最新“唠叨”,但提供的JS调用代码相对复杂,刚在鱼兄博客上看到一段精简的调用代码,收藏之。

滔滔精简JS调用代码

将此代码放到你需要调用滔滔的网页位置,然后设置好你的QQ号码和需要调用多少条唠叨。

<script type="text/javascript"src="http://www.taotao.com/cgi-bin/msgj?qq=QQ号码&num=调用数目&t=0"></script>
<script type="text/javascript">document.write(ret_str);</script>

将以下代码保存为Totao.js,然后在head区域调用。

Subscriber selector

Close