From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,PDS_OTHER_BAD_TLD,RDNS_NONE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 29546 invoked from network); 1 Sep 2021 01:28:15 -0000 Received: from unknown (HELO 4ess.inri.net) (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 1 Sep 2021 01:28:15 -0000 Received: from mail-lf1-f48.google.com ([209.85.167.48]) by 4ess; Tue Aug 31 09:20:42 -0400 2021 Received: by mail-lf1-f48.google.com with SMTP id k13so4084740lfv.2 for <9front@9front.org>; Tue, 31 Aug 2021 06:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:in-reply-to:references:message-id:mime-version :content-transfer-encoding; bh=hIgcmNRelvo8KvdHrugCxfzkXETV89yf4dYOmu+1DXA=; b=tYsq7YIMiCI5PhF1axO/BU4dDOd86EoLa2RrWvZgxYvpNIg4t01axHUd9vDpPhD12y ks87iYJ5/a0tvSR3inGgnlo50eQGIXSuqgcfHtQuF1il31sjorjXoTj9sbSP7cJZ7lWU EARm/lzezTANUPwGSkZe/0cOAGReZqsKNTTfzq1wXjvILHK+zKcJFhA4L0XT585HL5lO opZAJyn8vA7ngywHKW62CcoVZAJy//ntmYNGlaiV8RWWnqyFgZeR5rhr7KBulBqaB1tp ZME2ZU2k53Lfzjw4x8fVPb0uzowtt4Xlx/FLS6/r3c/aSF20aiRtWITJuqfqHGWZGRNJ Apxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=hIgcmNRelvo8KvdHrugCxfzkXETV89yf4dYOmu+1DXA=; b=DReYURFWKxPY9OT4gNUchwkjwwVbMwfoNgh+DTQ9vlpRV659sCWzylaHYXffbudkfj 2gAE6ZvtcBERKhIYtImrnxpK1uz5JEVq6JqLBSPcOjicpG95zy1aYyZz8QBdbcI05hfW hsqfoCJ6B86bDgp0i6G68ABlsoQqqAnuDmT4EAuuWmDLYtBjrwtmXSJGPOq81QUGN9Ox FurfXeu8C6jJrFXAV3G9SHwj9BM0tCWNJRurRoOGbfJ1VQlxlM4zX891dh7KFzkgU7BF zLnsNqvPU5ZRQa8XA22NZwzQ5etP08B/maKoWIghgdHXFinEofuh7wWCeNhk9vEGjqtA DDnw== X-Gm-Message-State: AOAM530I69w6aW4kchF6/05g9LflxKKZ3HyRzGo/pXCTWPyh3TEhqlfn DMi0Dt4vgo29LsZo1qqzxx0uoojy4SI= X-Google-Smtp-Source: ABdhPJxz8bReXo3hMLANrpYRP4flDMPg0LmUCK6+UxXZ1af4M7JKq546YNnP0rNqHI0GMpZpYhei7w== X-Received: by 2002:ac2:5d4a:: with SMTP id w10mr22048170lfd.529.1630416034596; Tue, 31 Aug 2021 06:20:34 -0700 (PDT) Return-Path: Received: from [127.0.0.1] ([188.170.83.223]) by smtp.gmail.com with ESMTPSA id bq10sm1725830lfb.25.2021.08.31.06.20.33 for <9front@9front.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Aug 2021 06:20:34 -0700 (PDT) Date: Tue, 31 Aug 2021 13:20:29 +0000 From: Pavel Renev To: 9front@9front.org In-Reply-To: References: Message-ID: <3C2596FB-B368-4A1D-8974-F8F63A99E671@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: factory-oriented enhancement-oriented engine Subject: Re: [9front] htmlfs Reply-To: 9front@9front.org Precedence: bulk I have a half-backed DOMfs: http://git=2Ensmpr=2Exyz/domfs/files=2Ehtml but it just represents documents as a flat list of numbered nodes (the way= rio serves its windows) and their hierarchy is provided through a separate= file=2E The challenge with xml/html is that unlike traditional file trees their el= ements do not have unique names and instead addressed by their order=2E Add= itionaly, element's attributes often play bigger role than text data they c= ontain=2E Style also can override tree hierarchy when it comes to rendering, and whe= n it comes to javascript, programs look up needed elements via global searc= h by id and usually only care about element's immediate parent/children=2E TL;DR: the tree is a lie=2E=20 Maybe serving html via some kind of database query interface would be bett= er=2E