<?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>gHacks technology news &#187; smart bookmarks</title>
	<atom:link href="http://www.ghacks.net/tag/smart-bookmarks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Mon, 09 Nov 2009 19:30:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create Firefox Smart Bookmarks</title>
		<link>http://www.ghacks.net/2008/10/06/create-firefox-smart-bookmarks/</link>
		<comments>http://www.ghacks.net/2008/10/06/create-firefox-smart-bookmarks/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 14:40:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Browsing]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 3]]></category>
		<category><![CDATA[firefox 3 bookmarks]]></category>
		<category><![CDATA[firefox bookmarks]]></category>
		<category><![CDATA[firefox database]]></category>
		<category><![CDATA[firefox sqlite]]></category>
		<category><![CDATA[firefox tips]]></category>
		<category><![CDATA[places]]></category>
		<category><![CDATA[smart bookmarks]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=7443</guid>
		<description><![CDATA[Firefox 3 changed the bookmarking system from using html files to using sqlite databases. One benefit of using databases is the possibility to run custom queries. Three of the so called smart bookmarks are already available after installing Firefox3: Most Visited, Recently Bookmarked and Recent Tags all make use of database queries to provide the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ghacks.net/tag/firefox/">Firefox</a> 3 changed the bookmarking system from using html files to using sqlite databases. One benefit of using databases is the possibility to run custom queries. Three of the so called smart bookmarks are already available after installing Firefox3: Most Visited, Recently Bookmarked and Recent Tags all make use of database queries to provide the user with dynamic results.</p>
<p>So what&#8217;s possible with this technique besides the three default dynamic bookmark folders? Users could display all bookmarks that are tagged with a specific tag, display the latest ten pages that they visited on a specific domain or to list the least visited bookmarks. Many additional possibilities exist and it is just a matter of defining the database query correctly to achieve them.</p>
<p>The basics first. Database queries are added as normal bookmarks and placed in the location field instead of the usual url. The name can be selected freely. Database queries use the place:query syntax. Let&#8217;s take a look at an example:</p>
<p><span id="more-7443"></span><img src="http://www.ghacks.net/wp-content/uploads/2008/10/places-query-firefox.jpg" alt="places query firefox" title="places query firefox" width="337" height="222" class="alignnone size-medium wp-image-7444" /></p>
<p>The above query is &#8220;place:queryType=0&#038;sort=8&#038;maxResults=10&#8243; uses the filters queryType, sort and maxResults.</p>
<p>queryType=0 will return an URI for each result<br />
sort=8  will sort the bookmarks by visit count<br />
maxResults=10 limits the results to ten bookmarks.</p>
<p>The guys at the <a href="http://forums.mozillazine.org/viewtopic.php?p=3260477&#038;sid=7bb28673ce186510c1fe6a394991cb70#3260477">Mozillazine</a> forum did a good job of listing the relevant queries and it would be redundant to simply copy and paste their work here. Just head over to the forum and take a look at the queries. If you want to have a specific query and cannot get it to work let us know in the comments and we try to build it for you.</p>

	Tags: <a href="http://www.ghacks.net/tag/firefox-3/" title="firefox 3" rel="tag">firefox 3</a>, <a href="http://www.ghacks.net/tag/firefox-3-bookmarks/" title="firefox 3 bookmarks" rel="tag">firefox 3 bookmarks</a>, <a href="http://www.ghacks.net/tag/firefox-bookmarks/" title="firefox bookmarks" rel="tag">firefox bookmarks</a>, <a href="http://www.ghacks.net/tag/firefox-database/" title="firefox database" rel="tag">firefox database</a>, <a href="http://www.ghacks.net/tag/firefox-sqlite/" title="firefox sqlite" rel="tag">firefox sqlite</a>, <a href="http://www.ghacks.net/tag/firefox-tips/" title="firefox tips" rel="tag">firefox tips</a>, <a href="http://www.ghacks.net/tag/places/" title="places" rel="tag">places</a>, <a href="http://www.ghacks.net/tag/smart-bookmarks/" title="smart bookmarks" rel="tag">smart bookmarks</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2008/12/12/fix-cannot-delete-firefox-3-bookmarks/" title="Fix: Cannot Delete Firefox 3 Bookmarks (December 12, 2008)">Fix: Cannot Delete Firefox 3 Bookmarks</a> (6)</li>
	<li><a href="http://www.ghacks.net/2008/12/15/page-bookmarks/" title="Page Bookmarks (December 15, 2008)">Page Bookmarks</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/10/06/firefox-bookmarks-reset-special-folders/" title="Firefox Bookmarks: Reset Special Folders (October 6, 2008)">Firefox Bookmarks: Reset Special Folders</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/09/18/fast-firefox-3-unsorted-bookmarks-access/" title="Fast Firefox 3 Unsorted Bookmarks Access (September 18, 2008)">Fast Firefox 3 Unsorted Bookmarks Access</a> (4)</li>
	<li><a href="http://www.ghacks.net/2008/07/01/check-for-dead-bookmarks-in-firefox-3/" title="Check For Dead Bookmarks in Firefox 3 (July 1, 2008)">Check For Dead Bookmarks in Firefox 3</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2008/10/06/create-firefox-smart-bookmarks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
