WordPress.org

Support

Support » How-To and Troubleshooting » This feed does not validate. Fix

This feed does not validate. Fix

  • http://feedvalidator.org/check.cgi finds errors in URLs regarding GET-vars, i.e. ‘&’ ist translated incorrectly.

    Fix: comment the lines

    # $curl = preg_replace(‘/&([^#])(?![a-z1-4]{1,8};)/’, ‘&$1’, $curl);

    in function wptexturize($text) in wp-includes\functions-formatting.php

    and

    # $content = preg_replace(‘/&([^#])(?![a-z1-4]{1,8};)/i’, ‘&$1’, $content);

    in function convert_chars($content, $flag = ‘obsolete’) , same file

    Also: it complains
    This feed is valid, but may cause problems for some users. We recommend fixing these problems.

    line 27, column 3: Avoid content:encoded (10 occurrences) [help]

    <content:encoded><![CDATA[<TABLE border=0 cellpadding=0 cellspacing=0 ali …

  • The topic ‘This feed does not validate. Fix’ is closed to new replies.