RSS feed not validating because of custom fields (2 posts)

  1. the world
    Posted 2 years ago #

    Hello folks,

    I am facing an issue with my feed, which is throwing up errors like these:

    line 63, column 1: Undefined item element: custom:fields (15 occurrences) [help]

    <custom_fields><PostLink3Txt>Slideshow: A Typical Day at an Exceptional Sou ...
    line 63, column 16: Missing namespace for PostLink3Txt (6 occurrences) [help]

    <custom_fields><PostLink3Txt>Slideshow: A Typical Day at an Exceptional Sou ...

    I have been using the custom-field template for almost 2 years and have added several custom fields such as country, PostLink3Txt to collect metadata for different purposes.

    I looked at feed_rss2.php and when I remove this bit of code, it validates fine.

    <?php rss_enclosure(); ?>
    <?php do_action('rss2_item'); ?>

    Which basically tells me that the feed doesn't recognize the custom fields and hence throwing up the error. Anyone can give me pointers on how to go about solving this problem?

  2. the world
    Posted 2 years ago #

    I resolved the issue by deactivating the "WP Facebook Open Graph protocol" plugin, which I had recently installed to show images with customized pages on Facebook.
    I was most suspicious of this plugin because things were stable before that and once the plugin was deactivated, it all worked fine.

Topic Closed

This topic has been closed to new replies.

About this Topic