<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>iCab Blog &#187; Safari</title>
	<atom:link href="http://www.icab.de/blog/tag/safari/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icab.de/blog</link>
	<description>iCab related stuff; Mac, iPhone and Cocoa programming</description>
	<lastBuildDate>Mon, 17 Oct 2011 15:03:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Calling iCab Mobile from within Safari on the iPhone</title>
		<link>http://www.icab.de/blog/2009/09/07/calling-icab-mobile-from-within-safari-on-the-iphone/</link>
		<comments>http://www.icab.de/blog/2009/09/07/calling-icab-mobile-from-within-safari-on-the-iphone/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 21:03:20 +0000</pubDate>
		<dc:creator>Alexander</dc:creator>
				<category><![CDATA[iCab]]></category>
		<category><![CDATA[iPhone & iPod Touch]]></category>
		<category><![CDATA[Tips & tricks]]></category>
		<category><![CDATA[iCab Mobile]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.icab.de/blog/?p=53</guid>
		<description><![CDATA[Almost all apps on the iPhone can easily open a URL in Safari. But normally you can&#8217;t open a URL from within Safari in other apps, for example in iCab Mobile (V 1.7). But with a &#8220;bookmarklet&#8221; (a special bookmark which is based on JavaScript code) you can do this as well. Here&#8217;s how the [...]]]></description>
			<content:encoded><![CDATA[<p>Almost all apps on the iPhone can easily open a URL in Safari. But normally you can&#8217;t open a URL from within Safari in other apps, for example in iCab Mobile (V 1.7).</p>
<p>But with a &#8220;bookmarklet&#8221; (a special bookmark which is based on JavaScript code) you can do this as well. Here&#8217;s how the bookmark URL for the bookmarklet should look like:</p>
<pre style="padding-left:0.7em; border-left: 1px solid #030; color: #003300; font-size:0.9em">    javascript:location.href='web'+location.href.substring(4);</pre>
<p>Because you can&#8217;t create Bookmarks from scratch in Safari on the iPhone, you should just create a bookmark of a random page and change its URL to the above line and the title to &#8220;Open in iCab Mobile&#8221;.</p>
<p>If you open this bookmarklet from within the Safari bookmarks, the currently displayed web page is passed to iCab Mobile and opened there.</p>
<p>The bookmarklet simply changes the URL scheme from &#8220;http&#8221; to &#8220;web&#8221; and from &#8220;https&#8221; to &#8220;webs&#8221;. And because iCab Mobile supports the &#8220;web&#8221; and &#8220;webs&#8221; schemes as a replacement for &#8220;http&#8221; and &#8220;https&#8221;, the iPhone OS will pass these modified URLs to iCab Mobile.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.icab.de/blog/2009/09/07/calling-icab-mobile-from-within-safari-on-the-iphone/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>

