<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecmsonormal, li.ecmsonormal, div.ecmsonormal
        {mso-style-name:ec_msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ececmsonormal, li.ececmsonormal, div.ececmsonormal
        {mso-style-name:ec_ecmsonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ececmsochpdefault, li.ececmsochpdefault, div.ececmsochpdefault
        {mso-style-name:ec_ecmsochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ececmsonormal1, li.ececmsonormal1, div.ececmsonormal1
        {mso-style-name:ec_ecmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ececmsochpdefault1, li.ececmsochpdefault1, div.ececmsochpdefault1
        {mso-style-name:ec_ecmsochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ecmsochpdefault, li.ecmsochpdefault, div.ecmsochpdefault
        {mso-style-name:ec_msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecmsohyperlink
        {mso-style-name:ec_msohyperlink;}
span.ecmsohyperlinkfollowed
        {mso-style-name:ec_msohyperlinkfollowed;}
span.ececmsohyperlink1
        {mso-style-name:ec_ecmsohyperlink1;}
span.ececmsohyperlinkfollowed1
        {mso-style-name:ec_ecmsohyperlinkfollowed1;}
span.ececemailstyle201
        {mso-style-name:ec_ecemailstyle201;}
span.ecemailstyle29
        {mso-style-name:ec_emailstyle29;}
p.ecmsonormal1, li.ecmsonormal1, div.ecmsonormal1
        {mso-style-name:ec_msonormal1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecmsohyperlink1
        {mso-style-name:ec_msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.ecmsohyperlinkfollowed1
        {mso-style-name:ec_msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
p.ececmsonormal2, li.ececmsonormal2, div.ececmsonormal2
        {mso-style-name:ec_ecmsonormal2;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ececmsochpdefault2, li.ececmsochpdefault2, div.ececmsochpdefault2
        {mso-style-name:ec_ecmsochpdefault2;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ececmsonormal11, li.ececmsonormal11, div.ececmsonormal11
        {mso-style-name:ec_ecmsonormal11;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ececmsohyperlink11
        {mso-style-name:ec_ecmsohyperlink11;
        color:blue;
        text-decoration:underline;}
span.ececmsohyperlinkfollowed11
        {mso-style-name:ec_ecmsohyperlinkfollowed11;
        color:purple;
        text-decoration:underline;}
span.ececemailstyle2011
        {mso-style-name:ec_ecemailstyle2011;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.ececmsochpdefault11, li.ececmsochpdefault11, div.ececmsochpdefault11
        {mso-style-name:ec_ecmsochpdefault11;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.ecemailstyle291
        {mso-style-name:ec_emailstyle291;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.ecmsochpdefault1, li.ecmsochpdefault1, div.ecmsochpdefault1
        {mso-style-name:ec_msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.ecececapple-converted-space
        {mso-style-name:ec_ececapple-converted-space;}
span.EmailStyle43
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The g needs to be in quotes for the global flag.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This works for me:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>text_item = "fred was here";<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>my_exp = new RegExp("fred",'g');<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>new_string = text_item.replace(my_exp, "dave");<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>debug(new_string);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> Friday, April 17, 2009 1:49 PM<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] how to strip out a specific string?<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><br>
More likely PEBKAC.<br>
<br>
"Problem Exists Between Keyboard And Chair"<br>
<br>
text_item = "fred was here";<br>
my_exp = new RegExp("fred",g);<br>
new_string = text_item.replace(my_exp, "dave");<br>
<br>
</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Nothing happens, or in some variations I get "Null" in
the debug trace.</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center id=stopSpelling>
</span></div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Subject:
RE: [Xerte] how to strip out a specific string?<br>
Date: Fri, 17 Apr 2009 13:23:31 +0100<br>
From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>I am a great fan of the
saying ‘if you have a problem that is best solved by regular expressions, then
you have two problems’.</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>What were you trying to do
again?</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>
<p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> Friday, April 17, 2009 12:52 PM<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] how to strip out a specific string?</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><br>
<br>
I tried a whole whack of variations and could not come up with a combination to
get it to work. :-/<br>
The docs at the authors homepage had no sample code snippets, and the example
.fla code of course would not transfer.<br>
<br>
The OP never did say how he resolved, so I just dropped it.<o:p></o:p></span></p>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Subject:
RE: [Xerte] how to strip out a specific string?<br>
Date: Fri, 17 Apr 2009 12:19:10 +0100<br>
From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>In Xerte the replace method
is added to the String class, so it’s</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>myString.replace(myRegExp,
‘replaceString’);</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>
<p class=MsoNormal style='margin-left:108.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> Monday, April 13, 2009 2:17 AM<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] how to strip out a specific string?</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><br>
<br>
I could be imagining things, but I thought Julian just posted something about
Regular Expressions now being supported.<br>
<br>
If that is true, then this would work:<br>
<br>
new_xml = replace(original_xml, /the_string_here/g, "");<br>
<br>
the /g at the end if the string parameter means "global", so it would
replace all the instances of that URL with "".<br>
<br>
Dave<o:p></o:p></span></p>
<div style='margin-left:36.0pt'>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>From:
ronm@mitchellmedia.co.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Subject: Re: [Xerte] how to strip out a specific string?<br>
Date: Sun, 12 Apr 2009 20:19:55 +0100<o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>Cheers Dave that's very helpful - I'll give
that a try.<o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>On 12 Apr 2009, at 19:35, Dave Burnett
wrote:<o:p></o:p></span></p>
</div>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
It actually does have a closing tag: /><br>
<br>
XML shorthands the closing tag to save characters when all the info is
contained in the attributes, i.e. there is no actual value between the tags.<br>
<br>
</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:black'><name>jamesclay (James Clay)</name> //no attributes,
data between tags<br>
<br>
<br>
<link type="text/html" rel="alternate" href="<a
href="http://twitter.com/jamesclay/statuses/1483252089">http://twitter.com/jamesclay/statuses/1483252089</a>"/><br>
<br>
//all data in opening tag attributes, no explicit closing tag, just /><br>
<br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><br>
So if you know the format you show below would be consistent, you could key on
that "/>" as the end of the string and RFind (reverse find) back
to the first "/" you hit.<br>
<br>
That should isolate the actual picture name/format.<br>
<br>
Dave</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div style='margin-left:36.0pt'>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'>From:<span class=ecececapple-converted-space> </span><a
href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a><br>
To:<span class=ecececapple-converted-space> </span><a
href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>
Date: Sun, 12 Apr 2009 19:22:22 +0100<br>
Subject: [Xerte] how to strip out a specific string?</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>Hi all</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>I've been experimenting with the
new module method of creating templates and have created a couple of new templates
optimised for a specific purpose which I’ll happily share with the community
once complete. One is an optimised view of twitter feeds but unless I’m
mistaken it seems like the xml isn't complete for some reason. I can pick up
and display the text and links etc ok but I can't work out how to access the
profile pics. Here's an example entry...</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'><entry></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<id>tag:search.twitter.com,2005:1483252089</id></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<published>2009-04-09T12:59:26Z</published></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> <link
type="text/html" rel="alternate" href="<a
href="http://twitter.com/jamesclay/statuses/1483252089">http://twitter.com/jamesclay/statuses/1483252089</a>"/></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<title>@ronm123 I meant in a browser, via a second projector
probably.</title></span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> <content
type="html">&lt;a href="<a
href="http://twitter.com/ronm123">http://twitter.com/ronm123</a>"&gt;@ronm123&lt;/a&gt;
I meant in a browser, via a second projector probably.</content></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<updated>2009-04-09T12:59:26Z</updated></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> <link
type="image/png" rel="image" href="<a
href="http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg">http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg</a>"/></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<twitter:source>&lt;a href="<a href="http://twitter.com/">http://twitter.com/</a>"&gt;web&lt;/a&gt;</twitter:source></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> <author></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<name>jamesclay (James Clay)</name></span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
<uri><a href="http://twitter.com/jamesclay%3C/uri">http://twitter.com/jamesclay</uri</a>></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>
</author></span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> </entry></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>I want to be able to strip out the
path to the .jpg e.g.<a
href="http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg">http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg</a></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>But can't work out how to do
that. I can access the content of <id>,<title> and even
<name> but the tag containing the profile pic link e.g. <link
type=”image/png” doesn’t have a closing tag. Presumably I need some kind of
function + regular expression - any suggestions?</span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>Cheers</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:black'>Ron</span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
</div>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:black'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
<div style='margin-left:36.0pt'>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:black'>Rediscover Hotmail®: Get e-mail
storage that grows with you.<span class=ecececapple-converted-space> </span><a
href="http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009">Check
it out.</a>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p>
<div style='margin-left:36.0pt'>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>Rediscover Hotmail®: Now available on your
iPhone or BlackBerry <a
href="http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009">Check
it out.</a><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>Windows Live™: Keep your life in sync. <a
href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009">Check
it out.</a><o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>Windows Live™: Life without walls. <a
href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009"
target="_new">Check it out.</a><o:p></o:p></span></p>
</div>
</body>
</html>