OK, I posted about this years ago, never have I gotten this fixed.
Just wondering if anyone has any ideas. My feed never validates because the language goes missing
This feed does not validate.
line 18, column 11: language must be an ISO-639 language code: [help]
<language></language>
So, back in the day I would go into the options menu and manually update it every time it went away. Then after a while I just used a mysql query to update it whenever I noticed it missing.
Still...it keeps disappearing. So I finally made it easy on myself and added an item to my settings->reading menu
// ADDS RSS LANGUAGE OPTION TO READING SETTINGS
function voodoo_rss_language_string() {
?>
<input name="rss_language" type="text" id="rss_language" value="<?php form_option('rss_language'); ?>" class="regular-text" />
<span class="description"><?php _e('RSS supports multiple languages through the language element, which contains a short code that identifies that the natural language employed in the channel. See on this table for your <a href="http://www.rssboard.org/rss-language-codes#table">language codes</a>.'); ?></span>
<?php
}
Like so. Now while this is pretty darned convenient.... I find I have to do this every time I check my feed in the validator. Anybody have any idea where the crap my language keeps going?
Thansk folks!