<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
<title><![CDATA[九牛圈 - 日作论坛]]></title>
<link>http://bbs.rizuo.com/tan?c=%E4%B9%9D%E7%89%9B</link>
<dc:language>zh-CHS</dc:language>
<generator>bbs.rizuo.com</generator>

<item>
<title><![CDATA[看新闻的网页新闻嵌入显示怎么用？]]></title>
<link>http://bbs.rizuo.com/tan/14u.html</link>

<pubDate>16 Mar 2008 01:20:32 GMT +0800</pubDate>
<guid isPermaLink="true">http://bbs.rizuo.com/tan/14u.html</guid>
<description><![CDATA[<p>九牛网提供的服务“看新闻”（<a href="http://news.jiuniu.org" target="_blank">http://news.jiuniu.org</a>）免费为您的网站提供新闻显示支持，只要在你的网站上加一段JavaScript脚本就能实现新闻显示，每日更新一次。</p><p>如：<a href="http://mypython.cn" target="_blank">http://mypython.cn</a> <a href="http://www.cssbar.com" target="_blank">http://www.cssbar.com</a></p><p>引用的JavaScript地址：<a href="http://news.jiuniu.org/side.js" target="_blank">http://news.jiuniu.org/side.js</a></p><p>－－－－－－－－－－</p><p>■参数：</p><p>＊ ci(必须) - 定制的关键词，多个关键词用"+"连接，注意：使用时需要对其进行URL编码转换(只支持utf-8)；</p><p>＊ exc(可选) - 排除的关键词，多个关键词用"+"连接，注意：使用时需要对其进行URL编码转换(只支持utf-8)；</p><p>＊ m(可选) - 查询位置，值为"title"时只查询标题，默认查询全部；</p><p>－－－－－－－－－－</p><p>■新闻加载结束后的页面动作：</p><p>如果你希望在新闻加载后页面执行某个操作，可在九牛js脚本之前定义函数：jnturn(num)，num为新闻数，这个函数将在新闻加载完后执行。</p><p>－－－－－－－－－－</p><p>■事例：</p><p>新闻中有关键词“java”或者有关键词“php”、没有“asp”：</p><p>&lt;script type="text/javascript" charset="utf-8" src="<a href="http://news.jiuniu.org/side.js?ci=java+php&exc=asp" target="_blank">http://news.jiuniu.org/side.js?ci=java+php&exc=asp</a>"&gt;&lt;/script&gt;</p><p>------</p><p>新闻标题中有关键词“google”、加载完新闻后弹出对话框通知：</p><p>&lt;script type="text/javascript"&gt;</p><p>function jnturn(num){</p><p>alert("有"+num+"新闻加载完毕");</p><p>}</p><p>&lt;/script&gt;</p><p>&lt;script type="text/javascript" charset="utf-8" src="<a href="http://news.jiuniu.org/side.js?ci=google&m=title" target="_blank">http://news.jiuniu.org/side.js?ci=google&m=title</a>"&gt;&lt;/script&gt;</p><p>------</p><p>新闻中有关键词“百度”、没有“google”也没有“yahoo”：</p><p>&lt;script type="text/javascript" charset="utf-8" src="<a href="http://news.jiuniu.org/side.js?ci=%E7%99%BE%E5%BA%A6&exc=google+yahoo" target="_blank">http://news.jiuniu.org/side.js?ci=%E7%99%BE%E5%BA%A6&exc=google+yahoo</a>"&gt;&lt;/script&gt;</p><p>------</p>
]]></description>
</item>

</channel>
</rss>
