Daniel wrote on 21/08/2018 7:32 PM:
Lee wrote on 21/08/2018 4:59 AM:
On 8/20/18, Daniel <d...@rubbish.albury.net.au> wrote:
Lee wrote on 20/08/2018 3:59 AM:
On 8/19/18, Daniel <d...@rubbish.albury.net.au> wrote:
Paul Bergsagel wrote on 19/08/2018 12:18 PM:
Richard Owlett wrote:
My bookmarks have grown like Topsy I have many duplicates and
the tree structure is a mess. I have two primary goals: 1. find
and purge duplicates. 2. move folders around to create a more
reasonable structure.

After trying several approaches and looking for useful tools I
found jq [https://stedolan.github.io/jq/]. One related page I
found is titled "jq is sed for JSON".

An outline of a possible procedure might be: 1. Export
SeaMonkey bookmarks in JSON format. 2. use jq to pretty print
the JSON. It does so nicely. 3. Find duplicate targets and
delete all but one. 4. Each leaf of the bookmark tree is an
object. Move these objects around to create a more friendly
tree. 5. Import the clean organized bookmarks.

Has anyone done this? Is there a friendly in depth jq tutorial?
The ones I've found tend to be on the "Hello world" level.
There is just enough to tantalize.

Links of interest include:
https://stedolan.github.io/jq/manual/v1.5/
http://stedolan.github.io/jq/tutorial/
https://robots.thoughtbot.com/jq-is-sed-for-json

I have a limited understanding of programming and do not consider
myself a programmer at all. Here is my question: "Would it be
possible to create a plug in that would sort and locate duplicate
bookmarks from within SeaMonkey rather than having to export the
bookmarks and use an outside program?  Isn't there a way to
automate advanced bookmark management using a plug in?"

Most probably someone could write an addon to do that.  But aside
from needing someone to actually write it, Firefox is real close to
dropping support for ESR 52.x - which means all the old addons will
no longer work in any supported version of FF.

<Snip>

open the bookmarks manager and select Tools / Export HTML

Yeap, did the exporting and ended with a bunch of gobble-de-gook!!

If you open the file with notepad.. yeah, it does look pretty horrible.
If you use something like notepad++ that automatically deals with
dos/unix line endings it looks much better :)

Lee

Oh!! O.K., I'll have to try to locate a downloadable for notepad++. I wonder if wordpad might not be another possibility!!

Just tried with wordpad and the gobble-de-gook was still there.

Downloaded Notepad++ and installed it and it seemed to function well.

Now to see if I can have two instances of it running at the same time, both reading the same file, so I can compare two separate sections of that one file!! (Alternatively, I could save two copies of the Bookmarks file with different names!!)

--
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.1 Build identifier: 20171016030418

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.1 Build identifier: 20171015235623
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to