From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 03:30:32 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA3E38CC for ; Wed, 3 Dec 2014 03:30:32 +0000 (UTC) Received: from mail-pa0-x241.google.com (mail-pa0-x241.google.com [IPv6:2607:f8b0:400e:c03::241]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5A5BE7 for ; Wed, 3 Dec 2014 03:30:32 +0000 (UTC) Received: by mail-pa0-f65.google.com with SMTP id et14so5952111pad.0 for ; Tue, 02 Dec 2014 19:30:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=wXRZdl+xgaecgg3AjMHCGHmLfdUp3l21lE383Bo+EBI=; b=nvlR4GmjP7vZC3yaIivYaFxofwswIjoRj5KvsSbVIfqXgJ/rr21CbkhMLqAWipqoZA fSyIq3da8Cm9rPGe7E2DIWMOTQT86K/xZYqeKOW9IqLdd4m7M/2usenRO8cyJW8niTKp hhOrMe4Xs4LZkbtNOuFNJaJuLELuOiwa7XATf5HWdgqqSe1wjXLVf4XROkgEwxpncI+N ti0LYVCBa7HwgXV/v90kMQnhUR4ojpa4BxpqHPAObFPeML1WThzrtsPSC0rxftJiAfM0 SR1oGHEj/ogpd5UTC9MrR1k51HX2I1oU4wnW0HmWHtyURohzt75lqbtqzrxscGScu7oo alyw== X-Received: by 10.66.90.201 with SMTP id by9mr4448187pab.148.1417576356479; Tue, 02 Dec 2014 19:12:36 -0800 (PST) Received: from [192.168.111.115] ([120.29.118.234]) by mx.google.com with ESMTPSA id yp5sm20628589pbb.16.2014.12.02.19.12.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 19:12:36 -0800 (PST) Message-ID: <547E7FAD.2040305@gmail.com> Date: Wed, 03 Dec 2014 11:12:45 +0800 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Polytropon Subject: Re: firefox bookmarks verifier References: <547E4CD8.4010509@gmail.com> <20141203005232.GA64389@3006.local> <20141203022349.8c81b802.freebsd@edvax.de> In-Reply-To: <20141203022349.8c81b802.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sean DuBois , 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 03:30:33 -0000 Polytropon wrote: > On Tue, 2 Dec 2014 18:52:32 -0600, Sean DuBois wrote: > >> It doesn't solve your exact problem, but it is how I would solve the >> problem. I would loop over your bookmarks and filter links that return a >> 404 etc.. >> > > That would have been my suggestion, too. But be aware > that just checking for 404 often isn't sufficient, because > some error pages indicate things like "oops, article or > blog post not found" which is a ("valid") 200 response, > but the requested content simply isn't there anymore... > > So maybe you would extract the fields "bookmark title" > and "bookmark URI", then use wget to dump the page, grep > for and compare. Otherwise, wget --spider would > probably be enough. > > For those entries still valid, create a new bookmark file > that can then be re-imported into Firefox (or exchanged > for the one that was the original source). The original > format can be recreated quite easily; if I remember > correctly, Firefox stores bookmarks in HTML or JSON. > > > So your answer is that Firefox has no built in function to verify bookmarks? Secondly When I imported my bookmarks from my MS browser into Firefox they were all organized in folders just like they were in the MS browser. Now when to go to export Firefox bookmarks I get them listed in URL sorted order missing there organized folders. This is not acceptable. Need to have them exported grouped in their folders as Firefox shows them. How can I get this accomplished? Where does Firefox store the raw bookmarks html file? This file must be like a directory tree with each folder being a sub-directory. Does any one know of any Firefox addon's that address these problems with Firefox bookmarks?