View Single Post
Old 03-23-2011, 05:15 AM   #1
Hurda
Junior Member
Hurda began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Adding image from RSS

I'm trying to create recipe for video games news server http://games.tiscali.cz/
fro the feed http://games.tiscali.cz/rss2.xml

There each article has an image:

<item>
<title>a</title>
<guid isPermaLink="true">http://games.tiscali.cz/b</guid>
<link>http://games.tiscali.cz/obrazky/b</link>
<description><![CDATA[D]]></description>
<category><![CDATA[Obrázky]]></category>
<author><![CDATA[games@tiscalimedia.cz (levis)]]></author>
<pubDate>Tue, 22 Mar 2011 19:53:08 +0000</pubDate>
<enclosure url="http://games.cz.imag3box.com/uploads/1-1-game14059-img198044_670x377.jpg" type="image/jpeg"></enclosure>

I woudl like to add the image in the enclosure after the first <p> element in the body of an article - what do i need to do.

I'm Java programmer, si I'm not skilled with beatiful soap and I can't event find method to override (where I have acces both to current article body and to this rss definition).

Thanks in davance
Hurda is offline   Reply With Quote