Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Clouds

macrumors newbie
Original poster
Oct 5, 2010
3
0
Hi,
I have a simple html/xml text like this:
PHP:
<script type="text/javascript">
window.location.href="http://www.google.com?search=xxxxxx&d=yyyyy";
</script>
please tell me the best way to parse the link http://www.google.com?search=xxxxxx&d=yyyyy in that html text.
Thank you!
 
If you're sure that it will stay that simple NSXMLParser could work. If this is in a UIWebView you might be able to work some javascript magic...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.