• My feed blew up the other day for no reason I can discern. I rebooted it at Feedburner, and it now works fine there, but my readership is still down by almost 60 percent. Bloglines tells me the feed is still no good.

    I went to the feed validation site at http://validator.w3.org and it said the feed was invalid:

    Sorry
    This feed does not validate.
    * line 66, column 2: Undefined entry element: thr:total (5 occurrences) [help]
    <thr:total>0</thr:total>

    What is that “thr” call and where is it coming from? I disabled all my plugins and I still get it. I haven’t touched my theme in months and the last time I checked the feed about six weeks ago, this “thr” error was not there.

    Anyone have any idea what is causing this “thr” error?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I noticed the same problem – anyone have any idea?

    Me too – anyone have any idea?

    delete line : <thr:total><?php echo get_comments_number()?></thr:total> in wp-includes/feed-atom.php file

    Thread Starter edelen

    (@edelen)

    Thanks, r00dhie! I’ll give that a try.

    The bigger question is, if that call creates problems, why is it in the code?

    Dear all,
    I published a small WordPress plugin to fix the problem (deleting the infamous line) on my website. You can find the post here.

    The post is in Italian, but at the end of the same there is a not so good English translation of what the plugin does.

    cheers

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The thr extension is part of the comments threading piece of ATOM, and it’s perfectly valid: http://www.ietf.org/rfc/rfc4685.txt

    Sounds like Bloglines is broken.

    I know that the extension is valid, but validators (as w3c one) have problem with it. IMO, the problem is in the validator itself, because the thr:count attribute is correctly validated; but if someone want a completely validating site needs to remove the infamous line 😉

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Meh. There’s a difference between “validating” and “valid”, IMO. If I know my site is valid, then whether it validates is really no biggie to me.

    Of course, my site is not valid for a couple of different reasons (micro-id’s can’t validate yet), but my point is that the goal should be to make the site as valid as possible given the specific limitations and desired features, not to shoot for 100% validation all the time.

    Just my 2 cents. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Feed chokes on “<thr:total>0</thr:total>”’ is closed to new replies.