WordPress.org

Ready to get started?Download WordPress

Forums

podPress
Feed validation warning: "Image link doesn't match channel link" + wordaround (4 posts)

  1. lopo
    Member
    Posted 3 years ago #

    Hi,
    thank you for your precious plugin.

    When I try to validate the feed with http://www.feedvalidator.org I get a warning:

    line 30, column 38: Image link doesn't match channel link
        		<link>http://www.mydomain.com/admin</link>

    That's because the image link is set to the WordPress directory URL, not the site public URL (which is correctly used for the channel link).

    I suggest to edit line 210 of file podpress_feed_functions.php from:
    echo ' <link>'.get_option('siteurl').'</link>'."\n";
    to
    echo ' <link>'.get_option('home').'</link>'."\n";

    This seems to get rid the warning.

    Hope this helps...

  2. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for reporting this issue. I will look into it and fix this.

    Regards,
    Tim

  3. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    I will probably use get_bloginfo('home'). I have put this in the current Development Version.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    You'd probably be better off using home_url

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags