Seems this is a problem with the Twitter XML? Two sites both using the twitter plugin get this error
An error occurred while parsing EntityName. Line 207, position 68.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: An error occurred while parsing EntityName. Line 207, position 68.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Hi Lee, it's the URL for Google (source link) in the last tweet/item. It contains an unescaped ampersand &, which has invalided the XML document.
Either Google or Twitter should encode their XML entities properly.
For now, only thing I can think of is either reduce the number of tweets by 1 (so the last one drops off), or do some new tweets (so the last one drops off) ... after that, don't tweet from Google (until they've sorted this out).
OR ... write some RegEx-based RSS parser? (Which is a truly awful idea!) ;-P
Wow. Only seen this thread in my RSS reader this morning and it looks like it has kinda been solved already. Do I need to do any fixes to my codebase or not?
@Warren, no problem - happy to help. It's not your code, no need to worry.
@Lee, just want to confirm which package you are using... Warren's Twitter for Umbraco or your own Simple Tweets? As I believe Warren's code is using the Twitter API XML and yours is using the RSS feed ... and as far as I can tell, this entity name issue should only effect the RSS feed ... if that makes sense?
Anyone Else Getting XML Entity Error?
Seems this is a problem with the Twitter XML? Two sites both using the twitter plugin get this error
An error occurred while parsing EntityName. Line 207, position 68.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Xml.XmlException: An error occurred while parsing EntityName. Line 207, position 68.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Hey Lee, what are the Twitter usernames (or RSS feeds?) Any clues in the XML of the feed?
This account is throwing the error?
http://twitter.com/armcom
http://twitter.com/statuses/user_timeline/14953057.rss
Hi Lee, it's the URL for Google (source link) in the last tweet/item. It contains an unescaped ampersand &, which has invalided the XML document.
Either Google or Twitter should encode their XML entities properly.
For now, only thing I can think of is either reduce the number of tweets by 1 (so the last one drops off), or do some new tweets (so the last one drops off) ... after that, don't tweet from Google (until they've sorted this out).
OR ... write some RegEx-based RSS parser? (Which is a truly awful idea!) ;-P
Cheers, Lee.
Hmmm well thats strange? Its been like that for ages, so something must have changed with Twitter as it has been fine for months :S
Thanks fella for the tip though :)
Wow.
Only seen this thread in my RSS reader this morning and it looks like it has kinda been solved already.
Do I need to do any fixes to my codebase or not?
Warren :)
@Warren, no problem - happy to help. It's not your code, no need to worry.
@Lee, just want to confirm which package you are using... Warren's Twitter for Umbraco or your own Simple Tweets? As I believe Warren's code is using the Twitter API XML and yours is using the RSS feed ... and as far as I can tell, this entity name issue should only effect the RSS feed ... if that makes sense?
Cheers, Lee.
is working on a reply...