|

- 帖子
- 13
- 精华
- 0
- 积分
- 3
- 努力值
- 3
- 人气值
- 0
|
我的博客升级到2.7后,我就发现阅读器中的feed不再更新,而绑定的gr分享项目更新正常。
我刚才直接把原始feed地址输入地址栏,回车以后却显示“无法下载源”。
我又把2.7的wp-feed这个文件和升级前的2.6.1的同名文件对比了一下,发现差别很大
2.7的wp-feed内容为:
<?php
/**
* Redirects to the RSS2 feed
* This file is deprecated and only exists for backwards compatibility
*
* @package WordPress
*/
require( './wp-load.php' );
wp_redirect( get_bloginfo( 'rss2_url' ), 301 );
?>
而2.6.1的wp-feed内容为:
<?php
/**
* Outputs the RSS2 feed XML format. This file is a shortcut or compatibility
* layer for easily finding the RSS feed for the site. It loads WordPress using
* the wp-blog-header.php file and running do_feed() function.
*
* @see do_feed() Used to display the RSS2 feed
*
* This file is no longer used in WordPress and while it is not deprecated now.
* This file will most likely be deprecated or removed in a later version.
*
* The link for the rss2 feed is /index.php?feed=rss2 with permalinks off.
*
* @package WordPress
*/
if (empty($doing_rss)) {
$doing_rss = 1;
require(dirname(__FILE__) . '/wp-blog-header.php');
}
do_feed();
?>
我怀疑是“redirect“的问题。
我用以前的文件替换了2.7的wp-feed,再打开,就能显示了。feedsky那边是不是能正常更新,还得等等。(update:feedsky那里也正常了)
我这恐怕是权宜之计,请问,这个问题究竟怎样处理才对? |
|