RSS feed manipulation change

Hello,

i have an RS feed that i need to change a section in the RSS to allow my 3rd part program mail chimp to pickup and read the image.

here is my RSS
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>ROAR</title>
<link>https://ems.tamuc.edu/MasterCalendar/</link>
<description/>
<pubDate>Thu, 16 Jul 2015 20:30:51 GMT</pubDate>
<lastBuildDate>Thu, 16 Jul 2015 20:30:51 GMT</lastBuildDate>
<category>Calendar of Events</category>
<atom:link href="https://ems.tamuc.edu/MasterCalendar/RSSFeeds.aspx?data=3O4bL1MF%2bEvmo4ssXvqg4VIdJVQ7Ikut" rel="self" type="application/rss+xml"/>
<generator>Texas A&M University-Commerce Calendar</generator>
<copyright>2015</copyright>
<ttl>30</ttl>
<item>
<title>
<![CDATA[ Test with image ]]>
</title>
<description xml:space="preserve">
<![CDATA[ This is just a test ]]>
</description>
<category>ROAR</category>
<pubDate>Mon, 20 Jul 2015 14:00:00 GMT</pubDate>
<link>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J5R4VmzIl8uGOZKNxuPbm6ZquZ9alISF8HFpXVFlOoD1QiZJlkZbPmz
</link>
<guid>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J5R4VmzIl8uGOZKNxuPbm6ZquZ9alISF8HFpXVFlOoD1QiZJlkZbPmz
</guid>
</item>
<item>
<title>
<![CDATA[ Another test ]]>
</title>
<description xml:space="preserve">
<![CDATA[ This is a test ]]>
</description>
<category>ROAR</category>
<pubDate>Mon, 20 Jul 2015 14:00:00 GMT</pubDate>
<link>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J4EKUrjMvkPo2BWer9NAw3jL4s1k8ffQPkeDzHxevjbDK8jzYhoSEm3
</link>
<guid>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J4EKUrjMvkPo2BWer9NAw3jL4s1k8ffQPkeDzHxevjbDK8jzYhoSEm3
</guid>
<enclosure url="https://ems.tamuc.edu/MasterCalendar/imagewriter.aspx?imageId=502" length="5000" type="image/jpg"/>
</item>
</channel>
</rss>

Open in new window


i need to change the following to a media tag instead of enclosure
<enclosure url="https://ems.tamuc.edu/MasterCalendar/imagewriter.aspx?imageId=502" 

Open in new window

LVL 1
Chris JonesLead Application Web DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

skijCommented:
Try this:
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>ROAR</title>
<link>https://ems.tamuc.edu/MasterCalendar/</link>
<description/>
<pubDate>Thu, 16 Jul 2015 20:30:51 GMT</pubDate>
<lastBuildDate>Thu, 16 Jul 2015 20:30:51 GMT</lastBuildDate>
<category>Calendar of Events</category>
<atom:link href="https://ems.tamuc.edu/MasterCalendar/RSSFeeds.aspx?data=3O4bL1MF%2bEvmo4ssXvqg4VIdJVQ7Ikut" rel="self" type="application/rss+xml"/>
<generator>Texas A&M University-Commerce Calendar</generator>
<copyright>2015</copyright>
<ttl>30</ttl>
<item>
<title>
<![CDATA[ Test with image ]]>
</title>
<description xml:space="preserve">
<![CDATA[ This is just a test ]]>
</description>
<category>ROAR</category>
<pubDate>Mon, 20 Jul 2015 14:00:00 GMT</pubDate>
<link>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J5R4VmzIl8uGOZKNxuPbm6ZquZ9alISF8HFpXVFlOoD1QiZJlkZbPmz
</link>
<guid>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J5R4VmzIl8uGOZKNxuPbm6ZquZ9alISF8HFpXVFlOoD1QiZJlkZbPmz
</guid>
</item>
<item>
<title>
<![CDATA[ Another test ]]>
</title>
<description xml:space="preserve">
<![CDATA[ This is a test ]]>
</description>
<category>ROAR</category>
<pubDate>Mon, 20 Jul 2015 14:00:00 GMT</pubDate>
<link>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J4EKUrjMvkPo2BWer9NAw3jL4s1k8ffQPkeDzHxevjbDK8jzYhoSEm3
</link>
<guid>
https://ems.tamuc.edu/MasterCalendar/EventDetails.aspx?data=hHr80o3M7J4EKUrjMvkPo2BWer9NAw3jL4s1k8ffQPkeDzHxevjbDK8jzYhoSEm3
</guid>

<media:content url="https://ems.tamuc.edu/MasterCalendar/imagewriter.aspx?imageId=502" type="image/jpeg" medium = "image">
 <media:title>Title Here</media:title>
 <media:description>Description Here</media:description>
 <media:thumbnail url="https://ems.tamuc.edu/MasterCalendar/imagewriter.aspx?imageId=502" height="200" width="145"/>
</media:content>

</item>
</channel>
</rss>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.