<?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: Getting Started with HTML5 Local Databases</title>
	<atom:link href="http://blog.darkcrimson.com/2010/05/local-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.darkcrimson.com/2010/05/local-databases/</link>
	<description>The Blog of Ben Lister</description>
	<lastBuildDate>Tue, 10 Jan 2012 11:14:28 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: OpenDatabase</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-499</link>
		<dc:creator>OpenDatabase</dc:creator>
		<pubDate>Sat, 07 Jan 2012 04:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-499</guid>
		<description>Is it Auto Increment  ?</description>
		<content:encoded><![CDATA[<p>Is it Auto Increment  ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OpenDatabase</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-498</link>
		<dc:creator>OpenDatabase</dc:creator>
		<pubDate>Sat, 07 Jan 2012 04:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-498</guid>
		<description>openDatabase(&#039;xxxxxx&#039;, &#039;xxxxxx&#039;, dbsize=3M)

In the example above,  The database maxium size is defined.
If the maxium database size is exceeded, What happened ?

Anybody help ?</description>
		<content:encoded><![CDATA[<p>openDatabase(&#8217;xxxxxx&#8217;, &#8216;xxxxxx&#8217;, dbsize=3M)</p>
<p>In the example above,  The database maxium size is defined.<br />
If the maxium database size is exceeded, What happened ?</p>
<p>Anybody help ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-497</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Mon, 02 Jan 2012 21:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-497</guid>
		<description>I am a few months late on this one but: My guess is that the browser is set to remove all cookie/login/session data on close if this happening. Otherwise the only thing I can think of is the page is being viewed on different domains which would contain different versions of the db. e.g. the same version on your-site-name.com&#039;s version would not be reflected on your-site-name2.com.</description>
		<content:encoded><![CDATA[<p>I am a few months late on this one but: My guess is that the browser is set to remove all cookie/login/session data on close if this happening. Otherwise the only thing I can think of is the page is being viewed on different domains which would contain different versions of the db. e.g. the same version on your-site-name.com&#8217;s version would not be reflected on your-site-name2.com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-496</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Mon, 02 Jan 2012 21:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-496</guid>
		<description>Local database can only be accessed (and modified) by the domain they are created on so I think that is why you&#039;re probably seeing this happen. If you need to sync a local and web version for your app, your best best is probably to create a server-side db and poll for a hash value/ write to it asynchronously on page load and on db modification.</description>
		<content:encoded><![CDATA[<p>Local database can only be accessed (and modified) by the domain they are created on so I think that is why you&#8217;re probably seeing this happen. If you need to sync a local and web version for your app, your best best is probably to create a server-side db and poll for a hash value/ write to it asynchronously on page load and on db modification.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-495</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 02 Jan 2012 21:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-495</guid>
		<description>Hi Ben.  Great info, this is really useful.  
However, there is one difference when I use your hosted demo compared to when I download the static html page, and that is resetting the preferences (dropping the table in this case).  I cannot get chrome to do this from the static html page, despite the database being truly and completely local, (unlike cookies which I understand chrome does not implement for static html).
Is this difference something I can easily resolve to allow the dropping of tables from a live site as well as a static file simultaneously?  Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Ben.  Great info, this is really useful.<br />
However, there is one difference when I use your hosted demo compared to when I download the static html page, and that is resetting the preferences (dropping the table in this case).  I cannot get chrome to do this from the static html page, despite the database being truly and completely local, (unlike cookies which I understand chrome does not implement for static html).<br />
Is this difference something I can easily resolve to allow the dropping of tables from a live site as well as a static file simultaneously?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous Coward</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-492</link>
		<dc:creator>Anonymous Coward</dc:creator>
		<pubDate>Thu, 17 Nov 2011 02:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-492</guid>
		<description>good article, but geez this red screen hurts my eyes</description>
		<content:encoded><![CDATA[<p>good article, but geez this red screen hurts my eyes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaushik</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-491</link>
		<dc:creator>Kaushik</dc:creator>
		<pubDate>Mon, 14 Nov 2011 16:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-491</guid>
		<description>Hi,
Wonderful tutorial.. probably the best on internet right now :)

I need a help/suggestion. The code you provided works great but somehow on closing and reopening the browser the data vanishes. What am i doing wrong? I guess its working like a session stuff..</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Wonderful tutorial.. probably the best on internet right now <img src='http://blog.darkcrimson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I need a help/suggestion. The code you provided works great but somehow on closing and reopening the browser the data vanishes. What am i doing wrong? I guess its working like a session stuff..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Getting started with html5 &#124; Techcrank</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-489</link>
		<dc:creator>Getting started with html5 &#124; Techcrank</dc:creator>
		<pubDate>Sun, 16 Oct 2011 18:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-489</guid>
		<description>well that&#039;s pretty helpful.. I am developing my first web app with html5 ... The major issue I am facing right now is the local storage... 

That&#039;s a great example for storing local databases.. well I have been reading a lot about cache manifest which everyone seems to be recommending ...</description>
		<content:encoded><![CDATA[<p>well that&#8217;s pretty helpful.. I am developing my first web app with html5 &#8230; The major issue I am facing right now is the local storage&#8230; </p>
<p>That&#8217;s a great example for storing local databases.. well I have been reading a lot about cache manifest which everyone seems to be recommending &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ferengi</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-486</link>
		<dc:creator>ferengi</dc:creator>
		<pubDate>Fri, 05 Aug 2011 09:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-486</guid>
		<description>is it possible to resize the database ?</description>
		<content:encoded><![CDATA[<p>is it possible to resize the database ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lister</title>
		<link>http://blog.darkcrimson.com/2010/05/local-databases/comment-page-1/#comment-483</link>
		<dc:creator>Ben Lister</dc:creator>
		<pubDate>Fri, 29 Jul 2011 14:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.darkcrimson.com/?p=217#comment-483</guid>
		<description>Ferengi,

you can view databases from the current domain in Safari by going to Develop &gt; Show Web Inspector &gt; Databases, not sure if you can get the actual DB size in the inspector but you can view the data that is being stored which should give you a pretty good idea. As for deleting the database, you can do a simple SQL drop statement e.g. DROP TABLE  page_settings.</description>
		<content:encoded><![CDATA[<p>Ferengi,</p>
<p>you can view databases from the current domain in Safari by going to Develop > Show Web Inspector > Databases, not sure if you can get the actual DB size in the inspector but you can view the data that is being stored which should give you a pretty good idea. As for deleting the database, you can do a simple SQL drop statement e.g. DROP TABLE  page_settings.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

