I am wondering if it is possible to cut off screen name from twitter RSS
the current format is like this
<item>
<title>USERNAME: blahblahblah </title>
<description>USERNAME: blahblahbla x5 blahblahbla x10 blahblahbla x15</description>
<pubDate>Mon, 20 Jan 2012 12:00:00 +0000</pubDate>
<guid>http://twitter.com/USERNAME/blahblahbla </guid>
<link>http://twitter.com/USERNAME/blahblahbla </link>
<twitter:source>please ignore here :-) </twitter:source>
<twitter:place/>
</item>
Any way to just get the USERNAME, for example from the “description” tag, get the text (USERNAME) before the colon?
I am really new to ASP.NET, grateful for a bit detailed information
Many thanks
This XPath expression should get you want you want:
Here I assume that the XMLDatasource looks like: