<?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: UIWebView:  Dynamically Modify HTML documents</title>
	<atom:link href="http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents</link>
	<description>Tips and Tricks for iPhone SDK Developers</description>
	<lastBuildDate>Thu, 11 Mar 2010 21:29: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/uiwebview-dynamically-modify-html-documents/comment-page-1#comment-1614</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sun, 06 Dec 2009 21:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=330#comment-1614</guid>
		<description>@Riskpp: My comment above was in error. shouldStartLoadWithRequest does not see each request made as external resources are loaded for an HTML page in an UIWebView.</description>
		<content:encoded><![CDATA[<p>@Riskpp: My comment above was in error. shouldStartLoadWithRequest does not see each request made as external resources are loaded for an HTML page in an UIWebView.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riskpp</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents/comment-page-1#comment-1589</link>
		<dc:creator>Riskpp</dc:creator>
		<pubDate>Thu, 03 Dec 2009 08:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=330#comment-1589</guid>
		<description>Could you please explain how to gather information about remote references using shouldStartLoadWithRequest method?
thanks!</description>
		<content:encoded><![CDATA[<p>Could you please explain how to gather information about remote references using shouldStartLoadWithRequest method?<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents/comment-page-1#comment-1400</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 31 Oct 2009 13:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=330#comment-1400</guid>
		<description>@Pat: That is a good question. I recall testing the base tag with UIWebView a long time ago, without much success. Time to give it another try and see if I can get it to work, or document why it doesn&#039;t.</description>
		<content:encoded><![CDATA[<p>@Pat: That is a good question. I recall testing the base tag with UIWebView a long time ago, without much success. Time to give it another try and see if I can get it to work, or document why it doesn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents/comment-page-1#comment-1399</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 31 Oct 2009 13:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=330#comment-1399</guid>
		<description>@Clive: Yes, that would be the process. However parsing the HTML, CSS and JavaScript for all remote references is not a trivial task. &lt;del datetime=&quot;2009-12-07T00:14:14+00:00&quot;&gt;An alternative is to use the shouldStartLoadWithRequest method of UIWebView to gather the information about remote references.&lt;/del&gt;</description>
		<content:encoded><![CDATA[<p>@Clive: Yes, that would be the process. However parsing the HTML, CSS and JavaScript for all remote references is not a trivial task. <del datetime="2009-12-07T00:14:14+00:00">An alternative is to use the shouldStartLoadWithRequest method of UIWebView to gather the information about remote references.</del></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents/comment-page-1#comment-1395</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Sat, 31 Oct 2009 10:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=330#comment-1395</guid>
		<description>Isn&#039;t this what the &lt;base href=&quot;&quot;&gt; tag is for?  Haven&#039;t tried it so maybe it doesn&#039;t work in this case.</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t this what the &lt;base href=&#8221;"&gt; tag is for?  Haven&#8217;t tried it so maybe it doesn&#8217;t work in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive</title>
		<link>http://iPhoneIncubator.com/blog/windows-views/uiwebview-dynamically-modify-html-documents/comment-page-1#comment-1393</link>
		<dc:creator>Clive</dc:creator>
		<pubDate>Sat, 31 Oct 2009 09:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=330#comment-1393</guid>
		<description>can this technique also be used to change references to css &amp; js files to local versions? and change refs to images/css/js within the css and js files?

I wonder how to completely download a web page to view offline? Would the sequence be:
1. parse the html for css, js and images
2. change references to local ones
3. build an array of each reference
4. download each item in array to local file
5. parse each local css and js files for more references
6. change references to local ones, build array and download. goto 5 till all files are done.

or something like that</description>
		<content:encoded><![CDATA[<p>can this technique also be used to change references to css &amp; js files to local versions? and change refs to images/css/js within the css and js files?</p>
<p>I wonder how to completely download a web page to view offline? Would the sequence be:<br />
1. parse the html for css, js and images<br />
2. change references to local ones<br />
3. build an array of each reference<br />
4. download each item in array to local file<br />
5. parse each local css and js files for more references<br />
6. change references to local ones, build array and download. goto 5 till all files are done.</p>
<p>or something like that</p>
]]></content:encoded>
	</item>
</channel>
</rss>
