ITunesSyndicationExtension generater itunes:image tag incorrectly


The extension ITunesSyndicationExtension generates/write incorrect XML for itunes:image element.


dulfe wrote Jul 17, 2008 at 6:46 PM

The extension ITunesSyndicationExtension generates:
instead of
<itunes:image href="http://images.cafepress.com/product/33230492v6_240x240_Front.jpg" />
The work item http://www.codeplex.com/Argotic/WorkItem/View.aspx?WorkItemId=9767 indicates that this was fixed on the 2008.0.0.0 release… but I am using the version 2008.0.2.0 and the problem still exists.

dulfe wrote Jul 17, 2008 at 8:42 PM

Replacing the line #428 in ”ITunesSyndicationExtensionContext.cs”:

writer.WriteElementString("image", xmlNamespace, this.Image.ToString());


writer.WriteStartElement("image", xmlNamespace);
writer.WriteAttributeString("href", this.Image.ToString());

Fixes it… but I do not know if this is the best to do it according to the framework programming guides… but at least it works until the “official fix” gets public.

Oppositional wrote Jul 23, 2008 at 1:38 AM

Thank you for the detailed information,fix has been checked in.

wrote Jul 23, 2008 at 1:38 AM

wrote Feb 14, 2013 at 7:26 PM

wrote May 16, 2013 at 9:58 AM

wrote May 16, 2013 at 9:58 AM

wrote Jun 14, 2013 at 7:16 AM