Title: XML error
Last modified: August 20, 2016

---

# XML error

 *  [schoe](https://wordpress.org/support/users/schoe/)
 * (@schoe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/xml-error-6/)
 * HungryFEED can’t get feed: [http://www.taz.de/Schwerpunkt-berwachung/!t10;atom/](http://www.taz.de/Schwerpunkt-berwachung/!t10;atom/)
   
   I suppose HungryFEED is right: Todays feed says `<name>U. Winkelmann & C. Jakob
   </name>` with a plain **ampersand** which probably is not correkt!!!
 * Which WP filter could I use (‘the_content’ and ‘content_edit_pre’ seem to be 
   to late…) to turn & into &???
 * [http://wordpress.org/extend/plugins/hungryfeed/](http://wordpress.org/extend/plugins/hungryfeed/)

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

 *  Thread Starter [schoe](https://wordpress.org/support/users/schoe/)
 * (@schoe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/xml-error-6/#post-3355055)
 * This feed including the “&” might not be quite correct but other feedreaders 
   do accept it!
 * The error says:
    “HungryFEED can’t get feed. Don’t be mad at HungryFEED. SimplePie
   reported: This XML document is invalid, likely due to invalid characters. XML
   error: XML_ERR_NAME_REQUIRED at line 59, column 28”
 * There you can find the ampersand. So the “&” problem comes from SimplePie which
   is called by HungryFEED.
    Shouldn’t there be a way to put a filter…
 *  Plugin Contributor [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/xml-error-6/#post-3355067)
 * Yea unfortunately it looks like an issue with SimplePie – HungryFEED can only
   handle feeds that SimplePie can parse. WordPress doesn’t include the most updated
   version of SimplePie, so upgrading can sometimes fix things.
 *  Thread Starter [schoe](https://wordpress.org/support/users/schoe/)
 * (@schoe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/xml-error-6/#post-3355068)
 * In debug mode you put the whole feed in a buffer…
 * Regarding
    `if (!$feed->init()) { ... }`
 * Isn’t there a chance to use the buffer to mask the ampersand and send it back
   to SimplePie?
 *  Plugin Contributor [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/xml-error-6/#post-3355069)
 * I’ve looked before into SimplePie for some kind of pre-processing hook to clean
   up feeds and such but I haven’t found any way so far.
 * There is one solution that I just now remembered several people have used for
   non-standard feeds. That is to use a feed aggregator as a proxy. Yahoo Pipes 
   works well but is a little complicated. You can try feedBurner as well or any
   other feed aggregator. It works like this:
 * source feed <- aggregator <- hungryfeed
 * The aggregators tend to be more forgiving for malformed XML and other problems.
   so it kinda “fixes” the feed before hungryfeed get it.

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

The topic ‘XML error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hungryfeed_5ea4d7.svg)
 * [HungryFEED](https://wordpress.org/plugins/hungryfeed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hungryfeed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hungryfeed/)
 * [Active Topics](https://wordpress.org/support/plugin/hungryfeed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hungryfeed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hungryfeed/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jason](https://wordpress.org/support/users/verysimple/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/xml-error-6/#post-3355069)
 * Status: not resolved