• brantz88

    (@brantz88)


    I’ve searched for this error on the site and can’t find an answer to this:

    I get this error, Undefined Item Element: wfw:commentRSS, when I validate my RSS at feedvalidator.org. Can someone please explain this and how I can correct it or should I ignore it? I think feedreaders work fine with the feed.

    Could it be a blank line or a plug in? All I did was add feed_image and path to image in sidebar.php. I thought the feed was validating fine and I noticed the error after setting up Roles with the Role Manager Plugin?

    I’m using WordPress 2.0.2 with plugins (Limitcat, Role Manager and Static Front Page.)

    Any help would be greatly appreciated.
    Thanks, Doug

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter brantz88

    (@brantz88)

    I’m guessing this is not a problem since there are no responses to my post. But if there is an answer in the forum somewhere could someone let me know where to look?

    Thanks,
    Doug

    Kafkaesqui

    (@kafkaesqui)

    But if there is an answer in the forum somewhere could someone let me know where to look?

    You could use a more up-to-date validator:

    http://validator.w3.org/feed/

    Thread Starter brantz88

    (@brantz88)

    Thanks for that answer, but now I get this error when I validate using the link above.

    pubDate must be an RFC-822 date-time

    Do I need to edit a file?

    Also – I upgrade from 1.5 to 2.0.2 and after I deleted some posts I have a -5 (negative number) for the uncategorized category. I tried deleting that category but ended up renaming it, but still have -5 posts. I was trying to delete all my posts. Is there a fix and how would I do this?

    Thanks again for the support.

    Doug

    Thread Starter brantz88

    (@brantz88)

    I added a new post to the one that was negative and it fixed itself – cool beans. It now shows 1 post.

    This also fixed the validation error I was getting!

    Thanks – sorry to bother everyone.

    Doug

    infocynic

    (@infocynic)

    Actually, according to well-formed web, and a few discussions I found there, the feedvalidator.org one is correct to reject wfw:commentRSS because the correct capitilzation is wfw:commentRss.

    So… consider that w3c’s validator is just based on feedvalidator anyway, and wfw is hosting the specification (that would be the wfw: part and the fact the URL points at http://wellformedweb.org/CommentAPI/)… I would say that this is a bug in WordPress.

    WFW Spec: http://wellformedweb.org/news/wfw_namespace_elements/
    Discussion:
    http://sourceforge.net/mailarchive/forum.php?thread_id=10113831&forum_id=37467

    farrell

    (@farrell)

    I also picked up this error trying to validate my feed. I asked FeedBurner support about this as I first noticed it as a problem with my FeedBurner feed.

    They explained in a post on their forum as follows:

    “However, a recent, largely undocumented change to this namespace has been causing feed validation errors for publishers whose feeds feature the “<wfw:commentsRSS>” version of the tag, which has been in use since at least 2003. The new syntax for this tag is:

    Code:
    <wfw:commentsRss>{comments feed URL}<wfw:commentsRss>”

    So, basically the RSS needs to become Rss.

    The post is located at: http://forums.feedburner.com/viewtopic.php?t=3781&highlight=wfw

    The question now is, what can be done about it? Can we fix this ourselves in the WordPress code? I’m a little nervous about trying this myself.

    Anybody know?

    Thanks much.

    infocynic

    (@infocynic)

    Edit line 50 of wordpress/wp-rss2.php to
    <wfw:commentRss><?php echo comments_rss(); ?></wfw:commentRss>

    It works fine, and the feeds validate again.

    farrell

    (@farrell)

    Thanks very much InfoCynic.

    My feeds now validate!

    While I was fixing the WFW language, I noticed the code that uses <content:encoded>. While it does validate, I’ve found that the validators don’t like this syntax and recommend changing it.

    Have you done anything with this, or just left it alone?

    Thanks again for your help on the WFW thing!

    infocynic

    (@infocynic)

    I don’t see any warnings on my feed at feedburner … so I can’t help you there with that content:encoded thing.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Undefined Item Element: wfw:commentRSS’ is closed to new replies.