Solved

Can't setup Feedburner because feed won't validate

Posted on 2009-05-11
4
265 Views
Last Modified: 2013-11-18
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
Comment
Question by:blatantwaste
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Tony van Schaik earned 500 total points
Comment Utility
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
 
LVL 12

Assisted Solution

by:Tony van Schaik
Tony van Schaik earned 500 total points
Comment Utility
You can also find some more info here: http://codex.wordpress.org/WordPress_Feeds/
 

0
 
LVL 3

Author Comment

by:blatantwaste
Comment Utility
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
 
LVL 3

Author Closing Comment

by:blatantwaste
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now