Forums

Feed chokes on "<thr:total>0</thr:total>" (9 posts)

  1. edelen
    Member
    Posted 3 years ago #

    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?

  2. giraz
    Member
    Posted 3 years ago #

    I noticed the same problem - anyone have any idea?

  3. dikma
    Member
    Posted 3 years ago #

    Me too - anyone have any idea?

  4. r00dhie
    Member
    Posted 3 years ago #

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

  5. edelen
    Member
    Posted 3 years ago #

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

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

  6. contezero74
    Member
    Posted 3 years ago #

    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

  7. Otto
    Tech Ninja
    Posted 3 years ago #

    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.

  8. contezero74
    Member
    Posted 3 years ago #

    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 ;)

  9. Otto
    Tech Ninja
    Posted 3 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic