| 
					阅读:4994回复:13
				 3.6 b4 下油猴的google reader full feed changer 不能用了
					还有其他人有我这个情况吗?
 其他脚本都好,就这个不能用 | |
| 1楼#发布于:2009-12-07 13:06 
					我也遇到过这种情况,不知道怎么回事儿,不过现在不用脚本了,直接在这个网站转换就可以了:
 http://feedex.net/ | |
| 2楼#发布于:2009-12-07 13:06 
					转换的好用不呢?				 | |
| 3楼#发布于:2009-12-07 13:06 
					就没人有出了装换外其他的办法吗?				 | |
| 4楼#发布于:2009-12-07 13:06 
					需要改动createHTMLDocumentByString
 createDocument好像不行了,要用cloneNode function createHTMLDocumentByString(str) {
    var html = str.replace(/<!DOCTYPE.*?>/, '').replace(/<html.*?>/, '').replace(/<\/html>.*/, '');
    // copy from http://userscripts.org/scripts/review/8551
    var htmlDoc;
    try {
        // works for 3.6 beta.
        htmlDoc = document.cloneNode(false);
        htmlDoc.appendChild(htmlDoc.importNode(document.documentElement, false));
    } catch (e) {
        htmlDoc  = document.implementation.createDocument(null, 'html', null);
    }
    var fragment = createDocumentFragmentByString(html);
    try {
        fragment = htmlDoc.adoptNode(fragment); // ownerDocument changed from HTMLDocument(document) => XMLDocument(htmlDoc)
    } catch(e) {
        fragment = htmlDoc.importNode(fragment, true);
    }
    htmlDoc.documentElement.appendChild(fragment);
    return htmlDoc;
}[/code] | |
| 5楼#发布于:2009-12-07 13:06 
					确实不支持3.6,有空试试楼上的代码				 | |
| 
 | 
| 6楼#发布于:2009-12-07 13:06 
					请问具体怎么修改呢?				 | |
| 7楼#发布于:2009-12-07 13:06 
					编辑Google reader full feed changer的源代码,替换掉同名的函数就可以了。				 | |
| 8楼#发布于:2009-12-07 13:06 
					替换为cloneNode后貌似无效,楼上发个完整修改版把。				 | |
| 
 | 
| 9楼#发布于:2009-12-07 13:06 
					我这也替换无效......				 | |
| 10楼#发布于:2009-12-07 13:06 
					Google Reader Feed All Content刚刚更新过,在3.6下能用。
 http://userscripts.org/scripts/show/48338 | |
| 
 | 
| 11楼#发布于:2009-12-07 13:06 
					wangvisual的代码测试有效(原来是从autopagerize里借用的代码,好办法),非常感谢!大家直接替换createHTMLDocumentByString这个函数就行了。仔细看了下,楼上的脚本最近一次更新用的原来也是用的autopagerize这段代码。    ps:http://feedex.net/的确能转全文,而且对大部分网站都有效。但不知为何会漏掉一些条目。我以前用它订阅新浪的体育新闻,用了一段时间,发现很多新闻都收不到。所以我觉得还是用脚本更保险些。不过脚本的缺点是不能在greader里进行全文搜索。 | |
| 
 | 
| 12楼#发布于:2009-12-07 13:06 
					每次这种帖子我都要说一遍yahoo pipes...
 实在是简单又好用. | |
| 13楼#发布于:2009-12-07 13:06 
					可是用yahoo pipes新浪出来的全是乱码。有解吗?比如这个:http://rss.sina.com.cn/sports/global/focus.xml				 | |
| 
 | 
 
							
 
				


 
				




 
				
 
				