Received: from mout-y-111.mailbox.org (mout-y-111.mailbox.org [91.198.250.236]) by mail-b.sr.ht (Postfix) with ESMTPS id 2CFD9FF0FC for <~mieum/booksin.space@lists.sr.ht>; Fri, 30 Oct 2020 09:46:26 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=pass (2048-bit key) header.d=namu.blue header.i=@namu.blue header.b=ElwcugPr Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-111.mailbox.org (Postfix) with ESMTPS id 4CMyB90RYNzQlR7; Fri, 30 Oct 2020 10:46:25 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=namu.blue; s=MBO0001; t=1604051177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=06G9PVOhraCOdTmHtTOsqpi19cH7QtCtiwk6TwuHv0Q=; b=ElwcugProLro1tkFny4TAJ+7ro1MdzrP4z+k4BHD6fXAp1ZDYC5dOiSYG047ZsAbk18057 kMXo8LBO+Fh3lhFtUZGHXKSq3tyfkeSW1H9wcScK8L85ZEu7BVaK7MUxaJG5L8/5t6I460 lDOvTyfx+zH6scwM0ypGkGNKsM7jRa4fJz9L55bavZSFXtnYyj25o1XKitiDoBD0LwtlHI UeDRylm2+r2uIk/r07KaVEo0e1iM+RWhHdBqM9e0tmANiHFLzf02jeuuIr53KIaT95tCRE Wiq5kv832lt3RjlGMm+5+UWR/8QqmY/yz66l+G12L0qVCCNVG4sbbnbST1lCIw== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id bmgfu7aGxX_w; Fri, 30 Oct 2020 10:46:15 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Subject: Re: The brick and mortar From: "mieum" To: "Arav K." , "Callum Brown" , <~mieum/booksin.space@lists.sr.ht> Date: Fri, 30 Oct 2020 18:15:40 +0900 Message-Id: In-Reply-To: X-MBO-SPAM-Probability: X-Rspamd-Score: -2.12 / 15.00 / 15.00 X-Rspamd-Queue-Id: D2ADE182A X-Rspamd-UID: ca03f6 >the centralized repo should also be made available, perhaps at a >different subdomain (e.g. 'repo.booksin.space' or 'content.<...>' etc.), >so that others can freely keep copies of the same main content. I agree :) It's there, might as well make it accessible~ Also, on a somehwat related note, it may be good to write the builder so that it is portable to other domains. That is, it might be nice to make it so that this repo could be cloned, built, and hosted on another domain if desirable~ It's not "essential," but relatively easy to implement, so why not? >Even if individual .gmi files for chapters are >provided, I would also like a singular .gmi file containing the entire >text, for completeness. As such, it may be best to require a singular >complete .gmi, but also allow for splitting the text into multiple .gmi >files which would automagically (or manually) be linked to in a >table-of-contents page. This is pretty much what I mean. There should be a complete text available, but also it would be nice if the table of contents was a list of links that linked to separate .gmi files for each chapter (because some texts will be quite long and unwiedly otherwise...although, if your client has a search function then it is kind of irrelevant :b). It may be worth putting this off until later. It wouldn't be too hard to add this "feature" later on if it seems like a good idea. >Unless too many complications arise, the main build system could simply >be a Makefile, which could refer to more complex commands (in C, Python, >whatever) to do stuff like index generation. For sure. I have only limited programming skills to contribute, but I could collaborate on something in Python. I do not know C, but if that's the direction things take then I guess I will be learning (I had wanted to anyway. This whole project is a learning experience for me anyway, like everything!) >I think, because the files may contain somewhat repetitive content (due >to having translations of the main text), the metadata should be a >separate .yml / .bib file (or both .yml and .bib). That may also be >slightly easier to parse (as you don't need to find the metadata >embedded inside a file, and there is a singular location for the >metadata). These are good points. I had not considered just sourcing metadata from a .bib file. That might be a better option, actually. Speaking of .bib files, it might be nice to have a central .bib file that includes all the info for the whole library. That would be useful for writing scripts to GET all the books from one author, for example. Also I meant to respond to your comment about page numbers. Unless the source contains them, that may be difficult to include. I'm always happy to find ebooks that have "real" page numbers because it makes citing them in papers easier. As far as denoting them in the text, there are several ways. One would simply be to add something like [pg 43] in-line with the text. But this is hard to notice. Another option would be to break a paragraph with a single pre-formatted line that states the "real" page number. But keep in mind, the goal of this library is not necessarily to provide exact replications of the originals. Indeed, whatever we get from project gutenberg, for example, is already an abstraction or derivation of an original source. But like you said, where page numbers are an integral part of the text, that is, where they are needed to make sense of the content, then whoever prepares that text would need to decided on an appropriate way to indicate them. Thanks Arav! Also, I saw that you contacted me on irc, and I pinged you back. ~mieum