From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 09:02:04 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EBA0E0E for ; Wed, 3 Dec 2014 09:02:04 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 108FE3FC for ; Wed, 3 Dec 2014 09:02:03 +0000 (UTC) Received: from r56.edvax.de (port-92-195-18-117.dynamic.qsc.de [92.195.18.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D66B127654; Wed, 3 Dec 2014 10:02:00 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sB3920nk003431; Wed, 3 Dec 2014 10:02:00 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 3 Dec 2014 10:02:00 +0100 From: Polytropon To: Ernie Luzar Subject: Re: firefox bookmarks verifier Message-Id: <20141203100200.01681767.freebsd@edvax.de> In-Reply-To: <547EC816.5020900@gmail.com> References: <547E4CD8.4010509@gmail.com> <20141203005232.GA64389@3006.local> <20141203022349.8c81b802.freebsd@edvax.de> <547E7FAD.2040305@gmail.com> <20141203044125.99e72ede.freebsd@edvax.de> <547EC41C.4060002@dat.pl> <547EC816.5020900@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Maciej Milewski , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 09:02:04 -0000 On Wed, 03 Dec 2014 16:21:42 +0800, Ernie Luzar wrote: > Everything I read on firefox website everyone is complaining that they > (firefox developers] used a bastardized version of .json4 which is a > compressed version. > There is no way to read the file. This must be "new". Older versions of Firefox did use a simple text-based format (HTML and uncompressed JSON). If your description is true, it really sounds terrible and against the idea of interoperability (traditionally an important attribute of quality for UNIX and Linux programs). As I said, my Firefox here is very old, and it uses a kind of "stripped down" HTML for bookmarks, very easy to deal with; the subdirectory bookmarkbackups/ contains JSON files, not compressed, just "one-liners", also easy to deal with (at least by using a JSON access library). > This is going to force me to leave > firefox and move to something else that has a favorites/bookmarks style > like MS browser You can use Opera: Its bookmarks file ~/.opera/bookmarks.adr is easy to pars, it contains "name=value" pairs, prefixed by a "#URL" or "#FOLDER" that indicates what the entry is, so it's easy to parse, verify, and recombine. You don't need complicated import/export tools here. Also check out Chromium. > What ever were firefox developers thinking??? Smoking to much weed at > work!!!! They probably did not assume that someone is so stupid to expect to be able to verify the validity of stored bookmark entries. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...