rss disappeared
-
My rss feed, http://skybluewaters.org/blog1/feed/atom/, isn’t working.
Yesterday, I activated custom permalinks and learned that this may be the problem, so I deactivated custom permalinks. No luck. I’m confused and disoriented.
Your help is appreciated.
-
What was the custom permalink setting that you used? Now I see that you’re not using permalinks at all.
It was Date and Name based.
Your feed is, in fact, here:
http://skybluewaters.org/blog1/?feed=rss2Or if you prefer Atom for some reason:
http://skybluewaters.org/blog1/?feed=atomAlthough you do appear to have an issue with extra spacing at the top of the feed, it appears okay beyond that.
For the “/feed/whatever” thing to work, you must be using “pretty” permalinks of some sort. Your blog does not appear to be using those at all.
Do you have an .htaccess file? See this on how to set one up so that you can use the “pretty” permalinks–ie the custom permalinks.
I do have an .htaccess file, which reads thusly:
# BEGIN WordPress
# END WordPress
and I am now using custom permalinks in the date-name style. I’m assuming this is pretty? I’m not sure how I can identify the extra space at the top of the feed to correct that issue, but I’m still getting an XML Parse Error.
There should be something between those lines. It probably should look more like:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog1/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog1/index.php [L]
</IfModule>
# END WordPress
(note that I’m assuming your WP files are in the /blog1 directory, which seems to be the case)Thanks for that, unfortunately the issue appears to still be unresolved. Is it possible that this is a PHP issue rather than permalink?
It looks like http://skybluewaters.org/blog1/feed/atom works now.
I’m not inclined to disagree, but my rss reader is still giving me an XML Parse Error for all of the following
http://skybluewaters.org/blog1/?feed=rss2
http://skybluewaters.org/blog1/feed/rss2/
http://skybluewaters.org/blog1/feed/rss/
http://skybluewaters.org/blog1/feed/atom
http://skybluewaters.org/blog1/?feed=atomAll of the other feeds I subscribe to are fine, so I’m pretty sure its not with the reader.
The problem is that there are blank lines at the beginning of your feed. There are also blank lines at the beginning of your normal posts. That leads me to suspect that you have an errant plugin or an odd change in one of your template files.
Try deactivating your plugins one at a time, reloading your blog and viewing the source after each deactivation to see if the blank lines at the top of post have gone away.
I tried the deactivating the plugins one by one, with no luck. I think its very likely a problem with one of the template files. The rss feeds are located in the header.php, which reads thusly:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />
<meta name=”description” content=”<?php bloginfo(‘name’); ?> – <?php bloginfo(‘description’); ?>” />
<meta name=”keywords” content=”” />
<link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_url’); ?>” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<title><?php bloginfo(‘name’); wp_title(); ?></title>
<?php wp_head(); ?>
</head><body>
<div id=”wrap”><div id=”header”>
<h1>“><?php bloginfo(‘name’); ?></h1>
<?php bloginfo(‘description’); ?>
</div><img id=”frontphoto” src=”<?php bloginfo(‘template_directory’); ?>/img/front.jpg” width=”760″ height=”175″ alt=”” />
<div id=”leftside”>
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Main Sidebar’) ) : else : ?>
<h2 class=”hide”>Main menu:</h2>
<ul class=”page”>
<?php if (is_page()) { $highlight = “page_item”; } else {$highlight = “page_item current_page_item”; } ?>
<li class=”<?php echo $highlight; ?>”>“>Home
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?><?php endif; ?>
</div>
Is it possible that there are blank lines at the top of wp-blog-header.php?
Gosh, I’m not sure. This is my wp-blog-header.php:
<?php
if (! isset($wp_did_header)):
if ( !file_exists( dirname(__FILE__) . ‘/wp-config.php’) ) {
if ( strstr( $_SERVER[‘PHP_SELF’], ‘wp-admin’) ) $path = ”;
else $path = ‘wp-admin/’;
die(“There doesn’t seem to be awp-config.phpfile. I need this before we can get started. Need more help? We got it. You can create awp-config.phpfile through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”);
}$wp_did_header = true;
require_once( dirname(__FILE__) . ‘/wp-config.php’);
wp();
gzip_compression();require_once(ABSPATH . WPINC . ‘/template-loader.php’);
endif;
?>
Would this be resolved if I changed my theme?
There would be space before the
<?phpWhat about space in the index.php that sits in your domain’s main directory?
The topic ‘rss disappeared’ is closed to new replies.