<font size=2 face="sans-serif">Hi Ron,</font>
<br>
<br><font size=2 face="sans-serif">I'm not totally sure how you implement
your solution but due to the fact that Xerte is mainly a flash generator
can't you use the built in flash functions to deal with XML?</font>
<br>
<br><font size=2 face="sans-serif">Like:</font>
<br>
<br><font size=2 face="sans-serif">xm = new XML('<entry><id>tag:search.twitter.com,2005:1483252089</id><published>2009-04-09T12:59:26Z</published><link
type="text/html" rel="alternate" href="</font><a href=http://twitter.com/jamesclay/statuses/1483252089><font size=2 face="sans-serif">http://twitter.com/jamesclay/statuses/1483252089</font></a><font size=2 face="sans-serif">"/><title>@ronm123
I meant in a browser, via a second projector probably.</title><content
type="html">&lt;a href="</font><a href=http://twitter.com/ronm123><font size=2 face="sans-serif">http://twitter.com/ronm123</font></a><font size=2 face="sans-serif">"&gt;@ronm123&lt;/a&gt;
I meant in a browser, via a second projector probably.</content><updated>2009-04-09T12:59:26Z</updated><link
type="image/png" rel="image" href="</font><a href=http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg><font size=2 face="sans-serif">http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg</font></a><font size=2 face="sans-serif">"/><twitter:source>&lt;a
href="</font><a href=http://twitter.com/><font size=2 face="sans-serif">http://twitter.com/</font></a><font size=2 face="sans-serif">"&gt;web&lt;/a&gt;</twitter:source><author><name>jamesclay
(James Clay)</name><uri></font><a href=http://twitter.com/jamesclay><font size=2 face="sans-serif">http://twitter.com/jamesclay</font></a><font size=2 face="sans-serif"></uri></author></entry>');</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">trace(xml.firstChild.childNodes[6].attributes.href);
//http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg</font>
<br>
<br><font size=2 face="sans-serif">Cheers,</font>
<br>
<br><font size=2 face="sans-serif">Peter</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">"RonM" <ronm@mitchellmedia.co.uk></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">"'Xerte discussion list'"
<xerte@lists.nottingham.ac.uk></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">12.04.2009 20:21</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">[Xerte] how to strip out a specific
string?</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">xerte-bounces@lists.nottingham.ac.uk</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3 face="Arial">Hi all</font>
<br><font size=3 face="Arial">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...</font>
<br><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial"><entry></font>
<br><font size=3 face="Arial"> <id>tag:search.twitter.com,2005:1483252089</id></font>
<br><font size=3 face="Arial"> <published>2009-04-09T12:59:26Z</published></font>
<br><font size=3 face="Arial"> <link type="text/html"
rel="alternate" href="</font><a href=http://twitter.com/jamesclay/statuses/1483252089><font size=3 color=blue face="Arial"><u>http://twitter.com/jamesclay/statuses/1483252089</u></font></a><font size=3 face="Arial">"/></font>
<br><font size=3 face="Arial"> <title>@ronm123 I meant
in a browser, via a second projector probably.</title></font>
<br><font size=3 face="Arial"> <content type="html">&lt;a
href="</font><a href=http://twitter.com/ronm123><font size=3 color=blue face="Arial"><u>http://twitter.com/ronm123</u></font></a><font size=3 face="Arial">"&gt;@ronm123&lt;/a&gt;
I meant in a browser, via a second projector probably.</content></font>
<br><font size=3 face="Arial"> <updated>2009-04-09T12:59:26Z</updated></font>
<br><font size=3 face="Arial"> <link type="image/png"
rel="image" href="</font><a href=http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg><font size=3 color=blue face="Arial"><u>http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg</u></font></a><font size=3 face="Arial">"/></font>
<br><font size=3 face="Arial"> <twitter:source>&lt;a
href="</font><a href=http://twitter.com/><font size=3 color=blue face="Arial"><u>http://twitter.com/</u></font></a><font size=3 face="Arial">"&gt;web&lt;/a&gt;</twitter:source></font>
<br><font size=3 face="Arial"> <author></font>
<br><font size=3 face="Arial"> <name>jamesclay
(James Clay)</name></font>
<br><font size=3 face="Arial"> <uri></font><a href=http://twitter.com/jamesclay%3c/uri><font size=3 color=blue face="Arial"><u>http://twitter.com/jamesclay</uri</u></font></a><font size=3 face="Arial">></font>
<br><font size=3 face="Arial"> </author></font>
<br><font size=3 face="Arial"> </entry></font>
<br><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial">I want to be able to strip out the path to
the .jpg e.g. </font><a href=http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg><font size=3 color=blue face="Arial"><u>http://s3.amazonaws.com/twitter_production/profile_images/96243182/Photo14_normal.jpg</u></font></a>
<br><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial">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?</font>
<br><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial">Cheers</font>
<br><font size=3 face="Arial">Ron</font><tt><font size=2>_______________________________________________<br>
Xerte mailing list<br>
Xerte@lists.nottingham.ac.uk<br>
</font></tt><a href=http://lists.nottingham.ac.uk/mailman/listinfo/xerte><tt><font size=2>http://lists.nottingham.ac.uk/mailman/listinfo/xerte</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>