daleyboy50
Member
Posted 3 years ago #
Hi i am having trouble with my rss feed not validating through feedburner. It says no language specified <language></language>. this is causing my feed to not validate on feedburner. I have language specified on the config file as define ('WPLANG', 'en-GB'); and thought it used this info on the feed.
does anyone know how someone adds a language into the rss feed. i must be missing something but not sure?
thanks
dale
I'm having that same problem, but I don't know where to start with it. Any suggestions?
I was having trouble with my language being invalid. I had en_us instead of en-us which made my feed invalid.
to fix it I went to my options page, yourblog.com/wp-admin/options.php
I didn't even know this page was available, anyway, way down towards the bottom is an rss language area. When I made the change there, my feed was valid, maybe its what u r lookin for
huynhtronghoan
Member
Posted 2 years ago #
I got the same problem with you. It seems that there is no option_name 'rss_language' in wordpress option table. Let's take a look file: /wp-includes/feed-rss2.php and file this line:
<language><?php echo get_option('rss_language'); ?></language>
I solved this problem by inserting a new option into wordpress table like this:
INSERT INTO_options(option_id,blog_id,option_name,option_value,autoload) VALUES (NULL, '0', 'rss_language', 'en', 'yes');
Feel free to see my full story on my blog: http://rapid-dev.net/2009/11/wordpress-change-rss-channel-language/
cool....that works waaaay better than having to redo the options.php every upgrade! Thanks!
rootyradio
Member
Posted 2 years ago #
Thank you huynhtronghoan!
Anyone know why that record was not in the options table to start with? I have installed WordPress many times and this is the first I've seen of this issue. Did something go wrong in the install?