How do I split a string by 2 characters?

lets say I am parsing a html page, and you have lots of tags such as <html> <title> blah bahl </html>


If I wanted to split by <title></title>, how would I do that?

my goal, is to get the strings within <title></title> and <description></description> and they appear about 30 times each. I figured split() was the fastest way to do this, but if you guys have some sort of search method that will get me the strings, that would help.

here is an example of the data I am pulling, I only need the title and description fields.

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/css" media="screen" href="http://feeds.rssboard.org/~d/styles/itemcontent.css"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1" version="2.0">
	<channel>
		<language>en</language>
		<title>Recent events for: Elite Clues</title>
		<description>Adventurer&apos;s Log for Elite Clues</description>

		<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues</link>
		<docs>http://www.rssboard.org/rss-specification</docs>
		<generator>JagexRssFeedGenerator</generator>
		<ttl>20</ttl>
		<copyright></copyright>
		<image>
				<url>http://www.runescape.com/img/playerlog/rss_logo.png</url>

		</image>

		<item>
			<title>650 songs unlocked</title>
			<description>
				I have unlocked a total of 650 songs, the last of which was Spring Song.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1252738742</link>

			<pubDate>Wed, 20 Apr 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1252738742</guid>
		</item>

		<item>
			<title>Quest complete: Holly</title>
			<description>

				I helped the Queen of Snow hand control of the Year to the Queen of Sunrise, so that spring could come to RuneScape.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1252738746</link>
			<pubDate>Wed, 20 Apr 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1252738746</guid>
		</item>

		<item>
			<title>Quest complete: Hawthorn</title>
			<description>
				I took part in the ritual battle between the Queens of Snow and Sunrise by cutting down an evil hawthorn tree for the Queen of Snow.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2132822513</link>
			<pubDate>Wed, 20 Apr 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2132822513</guid>
		</item>

		<item>
			<title>Levelled up Ranged.</title>
			<description>
				I levelled my  Ranged skill, I am now level 76.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-735993302</link>
			<pubDate>Thu, 24 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-735993302</guid>
		</item>

		<item>
			<title>Levelled up Farming.</title>

			<description>
				I levelled my  Farming skill, I am now level 65.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-385041526</link>
			<pubDate>Tue, 15 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-385041526</guid>
		</item>

		<item>
			<title>Levelled up Farming.</title>
			<description>
				I levelled my  Farming skill, I am now level 64.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1314144382</link>
			<pubDate>Mon, 14 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1314144382</guid>
		</item>

		<item>
			<title>Levelled up Farming.</title>
			<description>
				I levelled my  Farming skill, I am now level 63.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1408208876</link>
			<pubDate>Sun, 13 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1408208876</guid>
		</item>

		<item>
			<title>I killed a boss monster in Daemonheim.</title>

			<description>
				I killed a boss monster   called:  a bulwark beast    in Daemonheim.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-336657182</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-336657182</guid>
		</item>

		<item>
			<title>Levelled all skills over 44</title>
			<description>
				By levelling up my Dungeoneering skill, I achieved at least level 44 in all skills.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1023816234</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1023816234</guid>
		</item>

		<item>
			<title>Levelled up Dungeoneering.</title>
			<description>
				I levelled my  Dungeoneering skill, I am now level 44.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1023816235</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1023816235</guid>
		</item>

		<item>
			<title>Levelled all skills over 43</title>

			<description>
				By levelling up my Dungeoneering skill, I achieved at least level 43 in all skills.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=496891928</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=496891928</guid>
		</item>

		<item>
			<title>Levelled up Dungeoneering.</title>
			<description>
				I levelled my  Dungeoneering skill, I am now level 43.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=496891927</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=496891927</guid>
		</item>

		<item>
			<title>Levelled up Farming.</title>
			<description>
				I levelled my  Farming skill, I am now level 62.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-244668404</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-244668404</guid>
		</item>

		<item>
			<title>Levelled up Agility.</title>

			<description>
				I levelled my  Agility skill, I am now level 61.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-572697090</link>
			<pubDate>Sat, 12 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-572697090</guid>
		</item>

		<item>
			<title>Levelled up Cooking.</title>
			<description>
				I levelled my  Cooking skill, I am now level 75.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-254439571</link>
			<pubDate>Fri, 11 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-254439571</guid>
		</item>

		<item>
			<title>Levelled up Woodcutting.</title>
			<description>
				I levelled my  Woodcutting skill, I am now level 60.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1769319051</link>
			<pubDate>Fri, 11 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1769319051</guid>
		</item>

		<item>
			<title>Levelled up Agility.</title>

			<description>
				I levelled my  Agility skill, I am now level 60.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1855238128</link>
			<pubDate>Fri, 11 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1855238128</guid>
		</item>

		<item>
			<title>Levelled up Herblore.</title>
			<description>
				I levelled my  Herblore skill, I am now level 65.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1523298121</link>
			<pubDate>Fri, 11 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1523298121</guid>
		</item>

		<item>
			<title>Levelled up Farming.</title>
			<description>
				I levelled my  Farming skill, I am now level 60.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=698976119</link>
			<pubDate>Fri, 11 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=698976119</guid>
		</item>

		<item>
			<title>I killed  a phoenix.</title>

			<description>
				I killed  a phoenix, a bird of fire.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-938847657</link>
			<pubDate>Thu, 10 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-938847657</guid>
		</item>

		<item>
			<title>Item found: an ancient effigy</title>
			<description>
				After killing a TzHaar-Xil, it dropped an ancient effigy.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=841808240</link>
			<pubDate>Thu, 10 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=841808240</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>
			<description>
				I have completed a hard treasure trail.   
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2020548223</link>
			<pubDate>Tue, 08 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2020548223</guid>
		</item>

		<item>
			<title>Item found: a granite maul</title>

			<description>
				After killing a Gargoyle, it dropped a granite maul.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-570101428</link>
			<pubDate>Tue, 08 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-570101428</guid>
		</item>

		<item>
			<title>Levelled up Slayer.</title>
			<description>
				I levelled my  Slayer skill, I am now level 82.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1907811147</link>
			<pubDate>Mon, 07 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1907811147</guid>
		</item>

		<item>
			<title>Levelled all skills over 42</title>
			<description>
				By levelling up my Dungeoneering skill, I achieved at least level 42 in all skills.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=278094386</link>
			<pubDate>Mon, 07 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=278094386</guid>
		</item>

		<item>
			<title>Levelled up Dungeoneering.</title>

			<description>
				I levelled my  Dungeoneering skill, I am now level 42.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=278094385</link>
			<pubDate>Mon, 07 Mar 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=278094385</guid>
		</item>

		<item>
			<title>I killed  TzTok-Jad.</title>
			<description>
				I killed  TzTok-Jad, and can now claim my fire cape.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2128587501</link>
			<pubDate>Sun, 06 Mar 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2128587501</guid>
		</item>

		<item>
			<title>Levelled up Attack.</title>
			<description>
				I levelled my  Attack skill, I am now level 93.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1152165720</link>
			<pubDate>Wed, 23 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1152165720</guid>
		</item>

		<item>
			<title>I killed  a phoenix.</title>

			<description>
				I killed  a phoenix, a bird of fire.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=644431318</link>
			<pubDate>Sat, 19 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=644431318</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>
			<description>
				I have completed a hard treasure trail.   
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=2106406331</link>
			<pubDate>Fri, 18 Feb 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=2106406331</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>
			<description>
				I have completed a hard treasure trail.   
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-776764345</link>
			<pubDate>Thu, 17 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-776764345</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>

			<description>
				I have completed a hard treasure trail.   
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1107217755</link>
			<pubDate>Tue, 15 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1107217755</guid>
		</item>

		<item>
			<title>I killed  a phoenix.</title>
			<description>
				I killed  a phoenix, a bird of fire.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2053495725</link>
			<pubDate>Sat, 12 Feb 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2053495725</guid>
		</item>

		<item>
			<title>I killed  a phoenix.</title>
			<description>
				I killed  a phoenix, a bird of fire.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1469803344</link>
			<pubDate>Fri, 11 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1469803344</guid>
		</item>

		<item>
			<title>Levelled all skills over 41</title>

			<description>
				By levelling up my Dungeoneering skill, I achieved at least level 41 in all skills.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=979953212</link>
			<pubDate>Sat, 05 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=979953212</guid>
		</item>

		<item>
			<title>Levelled up Dungeoneering.</title>
			<description>
				I levelled my  Dungeoneering skill, I am now level 41.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=979953211</link>
			<pubDate>Sat, 05 Feb 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=979953211</guid>
		</item>

		<item>
			<title>I killed  a phoenix.</title>
			<description>
				I killed  a phoenix, a bird of fire.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=979953210</link>
			<pubDate>Sat, 05 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=979953210</guid>
		</item>

		<item>
			<title>I killed  Bork.</title>

			<description>
				I killed  Bork, a big ork.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=231665501</link>
			<pubDate>Sat, 05 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=231665501</guid>
		</item>

		<item>
			<title>Levelled up Ranged.</title>
			<description>
				I levelled my  Ranged skill, I am now level 75.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1320874579</link>
			<pubDate>Sat, 05 Feb 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1320874579</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>
			<description>
				I have completed a hard treasure trail.   
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=2113596358</link>
			<pubDate>Thu, 03 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=2113596358</guid>
		</item>

		<item>
			<title>Levelled up Constitution.</title>

			<description>
				I levelled my  Constitution skill, I am now level 92.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1813811688</link>
			<pubDate>Thu, 03 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1813811688</guid>
		</item>

		<item>
			<title>I killed a boss monster in Daemonheim.</title>
			<description>
				I killed a boss monster   called:  a rammernaut    in Daemonheim.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1449461810</link>
			<pubDate>Thu, 03 Feb 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1449461810</guid>
		</item>

		<item>
			<title>Dungeon floor 19 reached.</title>
			<description>
				I have breached floor 19 of Daemonheim for the first time.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=651538644</link>
			<pubDate>Thu, 03 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=651538644</guid>
		</item>

		<item>
			<title>Levelled up Defence.</title>

			<description>
				I levelled my  Defence skill, I am now level 90.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=603283869</link>
			<pubDate>Wed, 02 Feb 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=603283869</guid>
		</item>

		<item>
			<title>I killed Corellian</title>
			<description>
				I killed the player Corellian.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1932485002</link>
			<pubDate>Tue, 01 Feb 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1932485002</guid>
		</item>

		<item>
			<title>Levelled up Slayer.</title>
			<description>
				I levelled my  Slayer skill, I am now level 81.
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-186546596</link>
			<pubDate>Sun, 23 Jan 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-186546596</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>

			<description>
				I have completed a hard treasure trail.   
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=717150016</link>
			<pubDate>Sun, 23 Jan 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=717150016</guid>
		</item>

		<item>
			<title>Elite treasure trail completed.</title>
			<description>
				I have completed an elite treasure trail.   
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2003879469</link>
			<pubDate>Sun, 23 Jan 2011 00:00:00 GMT</pubDate>

			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-2003879469</guid>
		</item>

		<item>
			<title>Hard treasure trail completed.</title>
			<description>
				I have completed a hard treasure trail.   
			</description>

			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1888231811</link>
			<pubDate>Sun, 23 Jan 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=-1888231811</guid>
		</item>

		<item>
			<title>Levelled up Fishing.</title>

			<description>
				I levelled my  Fishing skill, I am now level 78.
			</description>
			<link>http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1450380312</link>
			<pubDate>Sat, 22 Jan 2011 00:00:00 GMT</pubDate>
			<guid isPermaLink="true">http://services.runescape.com/m=adventurers-log/display_player_profile.ws?searchName=Elite%A0Clues&amp;id=1450380312</guid>
		</item>

	</channel>
</rss>

Thanks!
-Austin

Edited 5 Years Ago by aanders5: n/a

there are exists XML parsers, but if that fails then you have to write something like as (and write is like a horse)

int myIndex = someString.indexOf("<title>");
int myIndex1 = someString.indexOf("</title>");
String myTitle = someString.subString(myIndex + (you have to count chars from <title>), myIndex-1??? or only myIndex???, must to check that);
and so on .....

nothing complicated, and faster, and clear :-)

Edited 5 Years Ago by mKorbel: code

You may also want to look in to open source HTML parsers such as Jelly and Jericho. I can't recommend one over the other, but they have some very useful features that may help you.

This article has been dead for over six months. Start a new discussion instead.