From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SEo4F0Y5lWKULwEAbAwnHQ (envelope-from ) for ; Mon, 30 May 2022 23:38:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iBEdF0Y5lWJDGwAA9RJhRA (envelope-from ) for ; Mon, 30 May 2022 23:38:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 016CF365EC for ; Mon, 30 May 2022 23:38:14 +0200 (CEST) Received: from localhost ([::1]:55356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvn5Z-0000Dt-7p for larch@yhetil.org; Mon, 30 May 2022 17:38:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvn5A-0000Dd-U7 for emacs-orgmode@gnu.org; Mon, 30 May 2022 17:37:48 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:43836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvn59-0000IJ-AF for emacs-orgmode@gnu.org; Mon, 30 May 2022 17:37:48 -0400 Received: by mail-pl1-x634.google.com with SMTP id b5so11213074plx.10 for ; Mon, 30 May 2022 14:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=T/W5wxGh0SU4DT+U2LQA212cWj6D57ckbCn/mW4Tk/o=; b=mO5kA5w15QdZ7kl7+wkWd1loF4SxvdjADKaRqwIWru0ced4xn6D7Pb+382wULv1eYg ErpwR7OH9LIxPxMh+lXpH2w2DXjcMhKGVgiUbBtQwK/P8z0pctSxN0u50yYvLhponlfj Vw+jxrcHBBsjQtJyhXzI5kFuWiFFkXzokp2+tOrtmbolgW17RfePe+WXa6aiv9i45gD+ TMP4mhk0EOuGTQ0lLtj0SDmDzbzfTpP4M98kth8e8+y4CksfuNeOkVRGVmFfKd1iKcG6 HiM/5+zqHmdzDqbeSJejKfQ5p0lf4HDbHc3qPgoabhGs4pzrsZ0PEU9nboMkgt243XIn A2vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=T/W5wxGh0SU4DT+U2LQA212cWj6D57ckbCn/mW4Tk/o=; b=nm3+tY4Ktc7jkQcNbIezgP54trcBBMwq9B6cvQiIZ2bx/UK6ole3TLLc15p4RU/uTa YWrhZkQDTiOfPvwG4/Bb47bbOo0/10i2QPbkexATJf79hjambg6Adf4eAuFGQ1rgrqmj fh4SW/mxh/eDzQs/TXro85QgzNdHmf3ly8wzGWhoWhdeB8R7nAWH7LqBayGCIRlMGAnR 9eZsTgb5xoeXFcjshI2k3qfSXmXeTFqbqtbHuZy//o0VBXq+eDl9+Y+mSIOw6xVJLC/h PH5/IK+J4TgHEqifL9hedlSWrc3EmBuVIRDkt2wHW9IIMBB12l8XT2XUf6RSsQohgL/Y Md0Q== X-Gm-Message-State: AOAM531MT32FRkEOzIRbGNd7atMieqNT/bqb7rYBVwC6Yw1eqA/UIZZO OvMkpKC8tMlvJ8CC/6fzFqAwo0415CQ= X-Google-Smtp-Source: ABdhPJzF/vrSW/BLpDj9/o6vna359Xub6eMEi9no4bjRDM9x7/65xx9C9YQqNniajPynaFdHV/c4pA== X-Received: by 2002:a17:903:41d1:b0:163:a0b1:c11a with SMTP id u17-20020a17090341d100b00163a0b1c11amr16605153ple.148.1653946665454; Mon, 30 May 2022 14:37:45 -0700 (PDT) Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id 7-20020a621407000000b0050dc76281bfsm9148681pfu.153.2022.05.30.14.37.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 14:37:45 -0700 (PDT) References: <878rqjc9mi.fsf@mat.ucm.es> User-agent: mu4e 1.7.24; emacs 28.1.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: a simple(r) html export format (like org-mime) Date: Tue, 31 May 2022 07:23:22 +1000 In-reply-to: <878rqjc9mi.fsf@mat.ucm.es> Message-ID: <877d623dna.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653946694; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=T/W5wxGh0SU4DT+U2LQA212cWj6D57ckbCn/mW4Tk/o=; b=QMZoFc3E4lcosh2vluFeBfRk9YJnCqoWcqWWj7hxy6bzeRsaVBo/ljazO2OAskPtFn8Uod glG5MCc7L4R5R7vYt9My2hQOHC8WFRsOLCXp9hhHpQib4yS+hmeiydVgzoj0CnFbfLDKp7 m8qRMtJPDH6N/OUossGypN4F/+qEMtF2BX4uzf5hpbSjglriVV2mves5XALK+oiL2rd2aQ mRoj9FKDDrmf5q0Vmhv+SqqmJSb6oAtrKdZg0Ci2s7gWXcfL2QuC1DmW8F+UCO9lx4Uhjd 49Wt34Qugl6zPv+W0K1Ieiwze0tKSycqL69UnyJsPbT3zKtV/rXgnG6ryHyWHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653946694; a=rsa-sha256; cv=none; b=Aoto3lg/HRiAgV9xC/8xCyGGi/ow0I/qN766sCNClKJIzW//5gWDYXFyz1gsbWS6+e3GzE 9mi/SXyf8axYbE4r2NJx78CuId+Ro3my5DMJ/soIyT6Al1tU7iR89suHKzfg2Yk9oDNrvi Q99bsmouBJBxcvqFNvkjKXwLHqvmBvS7hJm1bDetI985nYR/knJAVTBAekCDmSOdmgQNn6 cBazQVpnG65k3oOO4jO1t/rWRXps4oW8EiEYaw1IvG+1Pl9/f/5i6n4Hj26ufSKue5mjuM IjNtDiF5mFhOvVh+t6dtFCwdu8M3S4NxC13AVrYQ6OnjXg7Z5FYw6nVUMvEO4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mO5kA5w1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mO5kA5w1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 016CF365EC X-Spam-Score: -9.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2Z00eghLmqkw Uwe Brauer writes: > Hi > > Although the vanilla html export backend produces nice html, I sometimes need a > simpler solution[1], like the one produced by org-mime (which is for email). > Does anybody know about such an exporter? > You seem to be aware of htmlise and I have no other suggestions. However, I would also recommend you test things before adopting any specific solution. It sounds like you want to input HTML formatted data into a web interface _Moodle). There will almost certainly be (or at least should be) significant restrictions on what HTML content you are allowed to input via such interfaces. In fact, most well written web interfaces would escape or strip out any embedded HTML in input due to the very real security risks such input represents. A lot will depend o the platform your trying to use and what options it provides. For example, org-mode has support for uploading data to confluence (Atlatian's team collaboration suite). This is done via a RPC facility confluence provides and therefore can provide a nice interface. More manual solutions might be to generate a markdown export of your org buffer - for example, when a site uses Github markdown, you can use the ox-gfm exporter to generate a markdown version of your contgent which you can then cut and paste into the input area of the web interface (assuming it supports Github markdown). You mentioned moodle. I would look to see what markdown flavour moodle supports and then see if you can find a markdown exporter for org which supports that flavour. You may at least then be able to generate versions of your content you can cut and paste into the moodle UI. Moodle is open source, so theoretically, you could do something more sophisticated, given sufficient time and motivation.