From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: syncing w3m/firefox bookmarks Date: Thu, 26 Nov 2009 19:21:20 +0100 Organization: ThierryVolpiatto Message-ID: <87iqcx2llr.fsf@tux.homenetwork> References: <87iqd5f9ea.fsf@fh-trier.de> <87y6m1vwpw.fsf@tux.homenetwork> <87my292w7d.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259260666 10739 80.91.229.12 (26 Nov 2009 18:37:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 18:37:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 19:37:39 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDjDk-0001rQ-7Z for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 19:37:36 +0100 Original-Received: from localhost ([127.0.0.1]:53139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDjDj-0004Yu-HE for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 13:37:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDj3k-00080T-Vl for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 13:27:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDj3g-0007uk-8a for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 13:27:16 -0500 Original-Received: from [199.232.76.173] (port=41532 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDj3g-0007uW-4d for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 13:27:12 -0500 Original-Received: from mail-ew0-f224.google.com ([209.85.219.224]:41276) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDj3f-0004CR-T7 for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 13:27:12 -0500 Original-Received: by ewy24 with SMTP id 24so1086356ewy.26 for ; Thu, 26 Nov 2009 10:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:face:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=aVuTNcfUuRfaXVvcdpuXWsmLv6T71HT5XwF+vfkXA9k=; b=wCCBXWmfO2v4MDeV3roGR/0Ai3gLFQG43LO7ah2UASH9j1alJy/59lVAWCo6bdmeWn I7Q4KipA53m1gN6s0BBro6ACOsNixjwhX2YYuJNHtByN8okTSD0PcQSBYb/Cp+eiD516 56R7uFUwZrmzpe+IU8/ya92xlxI39z3Jc1TaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:face:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=K78tcvxPyLLWe/SELLfzpDKVQXBq8s46n0SyiwAtEQlEDIEvB46xBjlJLhqmFouubs fQIxEFu2I+A4Ac9FgkjAbR2YQypdS1nGI6MDy9ndptOySPycs4xv+wTbitVcd08pKteD pCLp+RYwpzBOwkd0IFgQ/UitclI+LtnfFkUZI= Original-Received: by 10.213.107.10 with SMTP id z10mr64681ebo.33.1259260029926; Thu, 26 Nov 2009 10:27:09 -0800 (PST) Original-Received: from tux.homenetwork (248.77.197-77.rev.gaoland.net [77.197.77.248]) by mx.google.com with ESMTPS id 24sm1433964eyx.14.2009.11.26.10.27.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Nov 2009 10:27:09 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHBARgJRFPS0WbMBTC TSG/uJs0yyVHAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABpUlE QVQ4y3VTQXKDMAyUnD7AwvQOhtxj5N4LFh9ow/+/UtlpM0BczWSS0Wola7UBeEb3+3kJ/5p9ZLz3 UI0n0J0Y4K/lh1nG24FhlJOR2LdSKtpV5gfi/Zd+NdaJBbB4D5N0JnfUIVp6obZURkJwS2a8b9uX AkgxA5gCEcknAH1s2z0DPooWmjGKcJR+HNZt+9bm0GtGRycRuZGs98Ffr02vABWGopIAhmXmxnQN BwBXZjgFLHRoqbfeYxCLWqsjLyKhbEHW+A5nEs699Q2O80ALrgHTmUTy6P0MnKyKQpKHpoNWokxs F0D5VegvWmEozyE6nuMiS98mWzlUQ9bW8qYfqOaFtzWlYCqGeIs6HEyl08jkrxUG9MF5ipXpOOpd ZMoXPPVSLWJiiwNNB+eRSyxJZmQKcacikgucnCRiHuJOLmyYJRDPwOqAvY4pA+Wy+VS8G26BAsdb Ph2Hw7ORy/H0IOG0TnaM8Cp0XrFYyU0v2z8AqkifPVbLZ0qo/gsRg60C7p+8Ov9jrUIxFde+jnAq X42hyp/c+ZcnVyUYBarrqZt3+R8450png3cWKgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAwOC0wNS0z MVQyMjoxNDoyMiswMjowMK3VBDcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMDctMTAtMjhUMTc6MDg6 NDgrMDE6MDDLdIcLAAAAEXRFWHRqcGVnOmNvbG9yc3BhY2UAMix1VZ8AAAAgdEVYdGpwZWc6c2Ft cGxpbmctZmFjdG9yADJ4MiwxeDEsMXgxSfqmtAAAAABJRU5ErkJggg== In-Reply-To: (Lennart Borgman's message of "Thu, 26 Nov 2009 19:01:02 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70152 Archived-At: Lennart Borgman writes: > On Thu, Nov 26, 2009 at 3:32 PM, Thierry Volpiatto > wrote: >> Lennart Borgman writes: >> >>> On Fri, Nov 20, 2009 at 8:10 PM, Thierry Volpiatto >>> wrote: >>>> Andreas Politz writes: >>>> >>>>> Hi, >>>>> >>>>> has somebody solved the problem of reading/writing the same set of >>>>> bookmarks in firefox and w3m yet ? >>>> >>>> See http://www.emacswiki.org/cgi-bin/emacs/BookmarkExtension >>>> >>>> With this you can actually import your w3m bookmarks in standard emacs >>>> bookmarks (temporarily or definitely), you can also bookmark from >>>> firefox to emacs bookmarks. >>>> >>>> I plan to add also firefox bookmark importation (will be done soon). >>> >>> >>> Could you perhaps also write them as an .org file? >> >> It's done now, See: >> http://www.emacswiki.org/cgi-bin/emacs/BookmarkExtension > > > Thanks for notification. > > Do I understand it correctly? > - Are firefox bookmarks first imported as emacs bookmarks? No, that's independant, hit "P" in bookmark menu list (C-x r l) will show your firefox bookmarks in bookmark interface. > - And from there you export to org? No, you create directly a org file with your firefox bookmarks: M-x bmkext-firefox2org > - What happens then with the hierarchy that was in firefox? Is it still there? Yes they come in same order than what there is in bookmarks.html (the firefox bookmarks). I really don't know what you want to do exactly with org file, so i provide a very basic function to make a file like: ,---- | * Firefox Bookmarks | | ** My first bookmark | ** My second bookmark | .... `---- Maybe you want to store also bookmarks coming from other browser (e.g w3m), in this case, i will enhance function to support syncing specific section. (e.g update Firefox section without modifying w3m section). NB: As said in precedents posts, Firefox>3 store bookmarks in places.sqlite. To enable Firefox autosync places.sqlite with bookmarks.html, you have to add to user.js: ,---- | user_pref("browser.bookmarks.autoExportHTML", true); `---- or set this to true in about:config interface (double click). -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France