<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Inject JavaScript Functions Into a UIWebView</title>
	<atom:link href="http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview</link>
	<description>Tips and Tricks for iPhone SDK Developers</description>
	<lastBuildDate>Wed, 10 Mar 2010 21:31:19 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-2384</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 08 Mar 2010 22:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-2384</guid>
		<description>@Andres: This sounds like a Firefox issue and not an iPhone Development issue.</description>
		<content:encoded><![CDATA[<p>@Andres: This sounds like a Firefox issue and not an iPhone Development issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Fury</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-2349</link>
		<dc:creator>Andres Fury</dc:creator>
		<pubDate>Fri, 05 Mar 2010 00:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-2349</guid>
		<description>Hi, I came across this blog article while searching for help with JavaScript. I&#039;ve recently switched browsers from Opera to Mozilla Firefox 3.1. Just recently I seem to have a problem with loading JavaScript. Everytime I browse page that requires Javascript, the page does not load and I get a &quot;runtime error javascript.JSException: Unknown name&quot;. I cannot seem to find out how to fix it. Any aid is greatly appreciated! Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I came across this blog article while searching for help with JavaScript. I&#8217;ve recently switched browsers from Opera to Mozilla Firefox 3.1. Just recently I seem to have a problem with loading JavaScript. Everytime I browse page that requires Javascript, the page does not load and I get a &#8220;runtime error javascript.JSException: Unknown name&#8221;. I cannot seem to find out how to fix it. Any aid is greatly appreciated! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walker</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-1710</link>
		<dc:creator>Walker</dc:creator>
		<pubDate>Thu, 24 Dec 2009 02:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-1710</guid>
		<description>@Nick:Oh! Taht&#039;s too bad. But thank you all the same!</description>
		<content:encoded><![CDATA[<p>@Nick:Oh! Taht&#8217;s too bad. But thank you all the same!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-1703</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 23 Dec 2009 15:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-1703</guid>
		<description>@Walker: Unfortunately the JavaScript API for the YouTube player does not work in a UIWebView. We spent a week trying to figure out how to use JavaScript to play a video, to no avail.</description>
		<content:encoded><![CDATA[<p>@Walker: Unfortunately the JavaScript API for the YouTube player does not work in a UIWebView. We spent a week trying to figure out how to use JavaScript to play a video, to no avail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walker</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-1702</link>
		<dc:creator>Walker</dc:creator>
		<pubDate>Wed, 23 Dec 2009 06:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-1702</guid>
		<description>@Nick:Hi, Nick! Do you know how to use javascript to control YouTube player? I want to play a video from YouTube in my iPhone app, but I don&#039;t want the embed preview page. I wonder if I can control the player. Do you know how? Please help me, and thank you in advance!</description>
		<content:encoded><![CDATA[<p>@Nick:Hi, Nick! Do you know how to use javascript to control YouTube player? I want to play a video from YouTube in my iPhone app, but I don&#8217;t want the embed preview page. I wonder if I can control the player. Do you know how? Please help me, and thank you in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Gray</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-1677</link>
		<dc:creator>Brandon Gray</dc:creator>
		<pubDate>Thu, 17 Dec 2009 05:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-1677</guid>
		<description>Hi, this is my question. How can I change this to only show one image or id or  tag? Any help would be great.</description>
		<content:encoded><![CDATA[<p>Hi, this is my question. How can I change this to only show one image or id or  tag? Any help would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david brossa</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/how-to-inject-javascript-functions-into-a-uiwebview/comment-page-1#comment-1615</link>
		<dc:creator>david brossa</dc:creator>
		<pubDate>Sun, 06 Dec 2009 21:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=355#comment-1615</guid>
		<description>you can also call a JS file from a bundle (get around that readability snag and have as many fnctions as you need)....



NSString *filePath = [[NSBundle mainBundle]  pathForResource:@&quot;loco&quot; ofType:@&quot;js&quot; inDirectory:@&quot;&quot;];

NSData *fileData = [NSData dataWithContentsOfFile:filePath];

NSString *jsString = [[NSMutableString alloc] initWithData:fileData encoding:NSUTF8StringEncoding];

[webby stringByEvaluatingJavaScriptFromString:jsString];</description>
		<content:encoded><![CDATA[<p>you can also call a JS file from a bundle (get around that readability snag and have as many fnctions as you need)&#8230;.</p>
<p>NSString *filePath = [[NSBundle mainBundle]  pathForResource:@&#8221;loco&#8221; ofType:@&#8221;js&#8221; inDirectory:@&#8221;"];</p>
<p>NSData *fileData = [NSData dataWithContentsOfFile:filePath];</p>
<p>NSString *jsString = [[NSMutableString alloc] initWithData:fileData encoding:NSUTF8StringEncoding];</p>
<p>[webby stringByEvaluatingJavaScriptFromString:jsString];</p>
]]></content:encoded>
	</item>
</channel>
</rss>
