From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28154 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: Side Effects from HTML to HTML conversion Date: Tue, 13 Apr 2021 09:25:38 -0400 Message-ID: <950926c0-2980-d7c1-c8a0-c624a540d300@usa.net> References: <40bf250d3cff42be22088054dc3fa618@ageofdatini.info> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13925"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBU5X22BQMGQEECDTKHQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 13 15:25:41 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f189.google.com ([209.85.167.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lWJ2z-0003Ur-CG for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 13 Apr 2021 15:25:41 +0200 Original-Received: by mail-oi1-f189.google.com with SMTP id w14-20020aca300e0000b029013da59dda93sf4824288oiw.13 for ; Tue, 13 Apr 2021 06:25:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618320340; cv=pass; d=google.com; s=arc-20160816; b=pYVw3NyPk39wZP4uJFaS7pns1daCxKPiyZx1zdgwV2IDeO8mNVKWMBIlh8KPUO6KUA GSThp/MNF42+cbQ8grLgvCl7Kz2fsH+IIlJr4xjrxDGjrov57RrBtHYTcwnAX76Wz53p ND1mEtnqMTDX/usWsVV+GUd3avL5VKCXQVyuXZltilM/jJlVoInNblZimWujI3QvMHAr 3IykGb4CozSV9+0QnvKR2KPMa0cK7AqovI4CZ/9O5Pijn3/JO3D0kH4VYsvJAframFsU 6XJTdRwUz1kunmANmd5D4qFcxN08O5TVMjQVyB6a+DKoga94zc/+d/bxhMldb9xDeqRN 4g1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:sender:dkim-signature; bh=ONBIRnG45b5wKRjTc0QFk1qZGlXxOxH3LCEXB+9qjKY=; b=hhimn8FzR3efmEV28GPq50MOfm/TSSk4Qdx99BYvGwMgHQrUcdmzUJi9MmBE+ZQ0aT GNi7xzCv9sGIfGxgAqtFqwgLaQr5hiRhTasQBilWbMsmAwnAad06r+rjW8qoLZrnmWOT iayFVtnO0mNn99ElXnmoAwXV4AWKlz05zXWn3oud9kLZ0dY5G0oVZF04PIx/BUlYFsW7 US6gRR/ygISSKD5K4yKksImkcdXXRExRCn0qEiKOL3EU5qIL6GvT1aO/NVBsnkhFL80Z dpATOL2HAThUo8CuU2NFF9TVcG35b/rK8JbodzhqdWyhS6eoRKx/8Pj+7ouE+lqPPMAT 0WFA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ONBIRnG45b5wKRjTc0QFk1qZGlXxOxH3LCEXB+9qjKY=; b=VTgRm2w5DFV4FwnAbYzDaM5hFzTlQYFQq+EEc3hdJ27D0yyVXq5O0Gn+PxMTqXK54T 7QMvuLCx1oECoW8RJnyZ1Rly8Uc73cV5AI2zhb+ddFQUV9SOp3kSVskhR9xI9WJSUSoI 065Fwl8oWOpfDum5bwSJZAMHXHxr7VYf8s/q1KuDRMl+YGZTFRvohNDvFIKid6P9LHup UHwPiwz2RT3gbJ7jrzvzZ1df1aG/JMHN3j88pj39Uvf0oZgo39M060Do4coheyR8y/Pv Z1Yb7ODv8PIr9qFTsLG9gsvQP9XfzDdPRevJEP89ohfZxkU7ev67v4cRNE5MBj4hw/n0 WmpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=ONBIRnG45b5wKRjTc0QFk1qZGlXxOxH3LCEXB+9qjKY=; b=tQQ/3MoV/N5xwv8eSqhrgC3uC6xvLJeGThH9Zt9llqBkVThAPZH3590xhgBaoxhvZD gSUjiVWEDsAJr0xAJQsMrWXqrhB/XzRb+2V6k3Y6YTXmk7p12QORtTWfmI0iy/0vDyDI 3WALb8ztQGuF4b94pqjdV6ENpwYthIQYYDfrQ90PTsTYa2CF0Ywh+jdF7kcYDO6y3hIl zzzK2F3E+d9XPfCwqFfIeDODz02gVIRdH1DaPon9RsJA3G9DgxVBv9HTOjenK26c7iTU FFqoLmwu1ogtjFZQS64JmvA81tj6M1gOabCKAdaJ5vJzPlgndQiuAtBTOUty3eEpUYiH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5316oi+ITIMJeGHXhU6ekCGdBbBuFjAEgpv+JBjoypDjIlGObP02 Ae8fnxtD8ib/KLlhflDYjoE= X-Google-Smtp-Source: ABdhPJzAXGpNmnRmroZJR4nwtNydLT+BlSlojyErucU1N4FqFZRuwUfr3VP0qAFoKygCyHfX4C41Jw== X-Received: by 2002:aca:1204:: with SMTP id 4mr21387ois.92.1618320340427; Tue, 13 Apr 2021 06:25:40 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:dc45:: with SMTP id t66ls3337024oig.1.gmail; Tue, 13 Apr 2021 06:25:39 -0700 (PDT) X-Received: by 2002:aca:b48a:: with SMTP id d132mr3249093oif.159.1618320339085; Tue, 13 Apr 2021 06:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618320339; cv=none; d=google.com; s=arc-20160816; b=w1rd2HuvtlXcTc2XBHBglTIcJvSFKH6VqIJfCOEpAh3nq6Q1CiBUzAeFenFRM//XUg eXwBBGTV89awFqnXbqEiveUtFUBaPhAMGZxHrDHlKR/a7DN0BSKspwOaGRSL+67lRtse ebprvk2Kq639YuM9/TrzbQDFJvsCIRl5ytYcM6prK5IxaZDibMTFa64+mPPc6BbZK07q UjYNc2ApkIqxPA+kvrmokZ6PwIu+WOzftHCgma/VpYL+Ntyn/VYk7MJemmKlhMeW+Rr+ TSa7SfeaRcVdR2ihDWWu+6zBODPexKTwinCiJVxSFgC1MADPVO+7/yo0b7mfr3ozqbaL VUYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=uGq+jX8RRrLFJTkKu2UAsBtBAHkvuhYq9KQJiWmZ5RE=; b=q+4qDggEGZXNx/qJe8SYD9OQnCP/nm5YMN5BeWe8JggAvRHqXBFZJATKzhMKkk+EUn I/gl7ln4S+EDmz58tlsaiqb97W9WJF6MYgRxP3ir78KS1q7TzwZ66MbkSutOmneH1J99 VIyKhhIHmeJ4wArsdOrVo/Cl0Do5/7XHZmfUelDWfcrceqPoYyBxcua40me7EyijexUs OHJQyeb/l1VdpoVxFJULeep86Q73GZFeylyKP1IvSAa5goKEG/J9xrOBDoOVs2AtGlN9 qa1HNljww0DQM5PchH5tM3SyeowLHPCR8pCrYe9FtwT0Gaht7MDYAQ4x7dePxcv3oeFH lqTA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id u1si286704oif.3.2021.04.13.06.25.38 for ; Tue, 13 Apr 2021 06:25:39 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from MacBook-Pro.fios-router.home (unknown [192.168.1.62]) by mail.magehandbook.com (Postfix) with ESMTP id 4FKRDy2c04zPGQ for ; Tue, 13 Apr 2021 09:25:38 -0400 (EDT) In-Reply-To: <40bf250d3cff42be22088054dc3fa618-aFO/2INALiozYggVrLCuDg@public.gmane.org> Content-Language: en-US X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28154 Archived-At: On 4/13/21 2:57 AM, S. Manning wrote: > If any of you can suggest a more appropriate tool than pandoc for my use > case (take a HTML fragment and some metadata, wrap the fragment in > header and footer text with some values inserted from the metadata to > create a valid HTML file) I will consider it. Honestly, the number of template engines of various complexities for HTML may as well be infinite at this point. My first thought for this would be to write it as a PHP file - the metadata locations would be variables, process to HTML output - but pick a language and platform and you'll be able to find a dozen. Actually, my *first* thought for myself would be to use BBEdit's built in template system. So, yeah - expand that to include most high-end HTML editing software. Daniel T. Staal -- --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------