Title: ATOM-Feed does not validate
Last modified: August 18, 2016

---

# ATOM-Feed does not validate

 *  [Erunafailaro](https://wordpress.org/support/users/erunafailaro/)
 * (@erunafailaro)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/)
 * Hello everyone!
 * Today I upgraded to the new WordPress 2.2 and wanted to check the new ATOM-1.0
   features.
 * Unfortunately, my feed does not validate: [look](http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.weinschenker.name%2Ffeed%2Fatom%2F)
 * The validator says, there is an XML parsing error concerning an ‘unbound prefix’.
 * That’s all greek to me — can anyone tell me, what this means an how it can be
   fixed?
 * The same goes for the [comments-feed](http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.weinschenker.name%2Fcomments%2Fatom%2F).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [Erunafailaro](https://wordpress.org/support/users/erunafailaro/)
 * (@erunafailaro)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564068)
 * It’s me again 🙂 I think, there may be some errors in file /wp-includes/feed-
   atom-comments.php:
    - Line 23: `<link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>"
      content="<?php bloginfo_rss('home'); ?>" />`
    - should be
    - `<link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?
      php bloginfo_rss('home'); ?>" />`
    - Line 43: `<link rel="alternate" href="<?php comment_link(); ?>" type="<?php
      bloginfo_rss('content_type'); ?>" />`
    - should be
    - `<link rel="alternate" href="<?php comment_link(); ?>" title="<?php bloginfo_rss('
      content_type'); ?>" />`
    - Lines 52 and 53: Dateformat-string is `'D, d M Y H:i:s +0000'`
    - but should be
    - `'Y-m-d\TH:i:s\Z'`, like in line 20, where it is coded correctly.
 * Unfortunately, the ATOM-articlefeed still does not validate.
 *  [getgarnett](https://wordpress.org/support/users/getgarnett/)
 * (@getgarnett)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564074)
 * Am having the same problem.
 * [http://feeds.feedburner.com/getgarnett](http://feeds.feedburner.com/getgarnett)
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564076)
 * you might want to look into diffing the files, or upgrading to 2.2.
 * [http://trac.wordpress.org/ticket/1526](http://trac.wordpress.org/ticket/1526)
 * that may or may not fix your problem(s), I dunno.
 *  Thread Starter [Erunafailaro](https://wordpress.org/support/users/erunafailaro/)
 * (@erunafailaro)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564078)
 * [@whooami](https://wordpress.org/support/users/whooami/): I am having this problem
   since the upgrade to 2.2. The old 0.3-atom-feeds from 2.1 did validate without
   any problems.
 * To what version should I diff my 2.2-files?
 *  [levati](https://wordpress.org/support/users/levati/)
 * (@levati)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564080)
 * I guess, I found the same problem in WordPress 2.1.3.
    The Atom RSS is not valid.
   Who khow the version of WP where validation of Atom RSS is affirmative?
 *  Thread Starter [Erunafailaro](https://wordpress.org/support/users/erunafailaro/)
 * (@erunafailaro)
 * [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564120)
 * I finally figured out the problem: it’s not WP 2.2, but the Ultimate tag warrior
   plugin.
 * The code used to put the tags into the atom-feed generates invalid xml.
 * To correct this, edit the file ‘_ultimate-tag-warrior-actions.php_‘ in _function
   ultimate\_add\_tags\_to\_rss()_ [somewhere near line 712]:
 * look for this if-clause:
 *  `if ($type == ‘rdf’ || $type = ‘atom’){
    $format=”<dc:subject>%tagdisplay%</
   dc:subject>”; } else { $format=”<category>%tagdisplay%</category>”; }`
 * and change it to:
 *  `if ($type == ‘rdf’ ){
    $format=”<dc:subject>%tagdisplay%</dc:subject>”; } else
   if ($type = ‘atom’) { $format=”<category term=’%tagdisplay%’ />”; } else { $format
   =”<category>%tagdisplay%</category>”; }`

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘ATOM-Feed does not validate’ is closed to new replies.

## Tags

 * [atom](https://wordpress.org/support/topic-tag/atom/)
 * [parsing error](https://wordpress.org/support/topic-tag/parsing-error/)
 * [validator](https://wordpress.org/support/topic-tag/validator/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [Erunafailaro](https://wordpress.org/support/users/erunafailaro/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/atom-feed-does-not-validate-2/#post-564120)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
