Donnerstag, 28. Juni 2007

Howto: Wo ist die Google Gears DB?

Google Gears hat in den letzten Wochen einigen Buzz erhalten, zurecht wie ich finde.

Die Technologie zeigt, was in Zukunft alles innerhalb des Browsers möglich sein wird. Und der Google Reader ist wirklich ein Paradebeispiel, wie simpel und doch effizient Offline-Fähigkeit sein kann.

Beim Durchsuchen der Search-Referals von document.write(); bin ich auf eine interessante Frage gestossen: wo liegt die Google Gears Database?

In den API Dokumentation von Google Gears findet man recht schnell die Antwort auf die Frage:
Database files that your application creates are stored on the user's computer in a location that is determined by the browser being used and the platform.

Windows Vista - Internet Explorer
Location: {FOLDERID_LocalAppDataLow}\Google\Google Gears for Internet Explorer
Example: C:\Users\Bob\AppData\LocalLow\Google\Google Gears for Internet Explorer

Windows Vista - Firefox - Database files are stored in the user profile directory.
Location: C:\Users\{username}\AppData\Local\Mozilla\Firefox\Profiles\{profile}.default\Google Gears for Firefox
Example: C:\Users\Bob\AppData\Local\Mozilla\Firefox\Profiles\uelib44s.default\Google Gears for Firefox

Windows XP - Internet Explorer - Database files are stored in the user profile directory.
Location: C:\Documents and Settings\{username}\Local Settings\Application Data\Google\Google Gears for Internet Explorer
Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Google\Google Gears for Internet Explorer

Windows XP - Firefox - Database files are stored in the user profile directory.
Location: C:\Documents and Settings\{username}\Local Settings\Application Data\Mozilla\Firefox\Profiles\{profile}\Google Gears for Firefox
Example: C:\Documents and Settings\Bob\Local Settings\Application Data\Mozilla\Firefox\Profiles\uelib44s.default\Google Gears for Firefox

Mac OS/X - Firefox - Database files are stored in the user profile directory.
Location: Users/{username}/Library/Caches/Firefox/Profiles/{profile}.default/Google Gears for Firefox
Example: Users/Bob/Library/Caches/Firefox/Profiles/08ywpi3q.default/Google Gears for Firefox

Linux - Firefox - Database files are stored in the user home directory.
Location: ~bob/.mozilla/firefox/{firefox's profile id}/Google Gears for Firefox
Example: ~bob/.mozilla/firefox/08ywpi3q.default/Google Gears for Firefox

Ich hoffe, die Antwort hilft weiter!

Keine Kommentare: