Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Can't setup Feedburner because feed won't validate

Hello,

I have a bit of a conundrum... I need help with something, but at the same time I won't be able to legally provide full access to the files that the people helping me would need to look at in order to diagnose the problem.

I purchased a Wordpress theme and it works perfectly, but when I go to set up Feedburner, it tells me that my feed is not valid. It asys there is an error because my feed has 2 blank lines at the beginning before the <?xml declaration...

I did quite a bit of Google searching, and it seems as though this is pretty common in regards to WP themes having extra whitespace at the beginning or end of one of the theme files, but I have searched each and every file and removed all extra whitespace/blank lines from the beginnings/ends of files for the theme. Yet the problem remains.

According to the license that I received when I purchased the file, I cannot send to anyone else... So, I'm wondering just how I'm supposed to get any help with this since I can't give anyone the files to look through to find the problem?

Anyway, if anyone has any ideas as to what might be causing it, any help would be greatly appreciated!
0
blatantwaste
Asked:
blatantwaste
  • 2
  • 2
2 Solutions
 
Tony van SchaikFront-end Web developerCommented:
Which WP version are you using? Maybe the theme uses a deprecated function to get the RSS i'm using this in the header.php on Wordpress 2.7.1.

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
0
 
Tony van SchaikFront-end Web developerCommented:
You can also find some more info here: http://codex.wordpress.org/WordPress_Feeds/
 

0
 
blatantwasteAuthor Commented:
I'm using WP 2.7.1 and I found the problem just now... I'm not sure what exactly happened, but apparently there was a glitch when I uploaded the file and it inserted an empty line at the end of my functions.php file everytime I uploaded it...

So I used SSH to upload it and it worked fine... Something with my FTP client I guess.
0
 
blatantwasteAuthor Commented:
I found my own problem, but it'd be a waste not to use the points I had planned on awarding for this question... So enjoy!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now