help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syncing w3m/firefox bookmarks


From: Thierry Volpiatto
Subject: Re: syncing w3m/firefox bookmarks
Date: Thu, 26 Nov 2009 19:21:20 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

Lennart Borgman <lennart.borgman@gmail.com> writes:

> On Thu, Nov 26, 2009 at 3:32 PM, Thierry Volpiatto
> <thierry.volpiatto@gmail.com> wrote:
>> Lennart Borgman <lennart.borgman@gmail.com> writes:
>>
>>> On Fri, Nov 20, 2009 at 8:10 PM, Thierry Volpiatto
>>> <thierry.volpiatto@gmail.com> wrote:
>>>> Andreas Politz <politza@fh-trier.de> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]