From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32099 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: How to process chunkedhtml output with Lua Date: Fri, 27 Jan 2023 11:42:56 +0100 Message-ID: References: <35211aad-9b34-1c74-b25f-c2c3777da632@intielectronics.com> <84b97b97-8fe6-fb71-7d97-6ee0733b5763@intielectronics.com> <3F114306-007A-47CB-A067-3F7EE07900B0@gmail.com> <621a843e-049e-1a2b-1c60-df3158b6dc2e@intielectronics.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009f886905f33c871c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35254"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBN6VZ2PAMGQEWOAFFQY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 27 11:43:08 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f192.google.com ([209.85.128.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pLMCJ-0008yl-Nh for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 27 Jan 2023 11:43:07 +0100 Original-Received: by mail-yw1-f192.google.com with SMTP id 00721157ae682-506368dc06dsf50687257b3.9 for ; Fri, 27 Jan 2023 02:43:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674816186; cv=pass; d=google.com; s=arc-20160816; b=PjGifKf0/LcHY72C6rbg7jrUmQeK1UoONgypFQaScZ3G2g14qwOrrxwanSER3RwkNn 7i9HtZqqQELDn3C6amvACIQwSi7w82dwfjJkczMPtYe1FD9Dax8GnMkK7+L1chQox8un mTh8DTsca2ScS9r3qoqwv/3oYAfRQsfo654GNY4uyyHPSj6OTU54burBgI6x/VdohXO/ PbgGdPe2I6+NaQDhW2NeogRylzQScD8Jj68Ux2gsL2LfN7mVSmX8L0m83GxGYS+sDfJa 811n6lX42Ql1eIsoERb8SmVXNuRn5N+qaERXJdK7zxPH4jZMqOZJCdSMMHyl1d/aumpe OXOQ== 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:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=yR2pTR+saxr70G8JR97vMLU8o1dZ86OlsZJMt9A4A5s=; b=ChBqL3pAxGEjpSnIXKVYL0ixN2uw/MTPo7EY0+gfDMIRW4tafGcBOoP+zEOkc3v7YF UJ0E41Omsm65xkMpradpXhnEAWQ7jqNuFjNUvtYdNlzW1iFbukyo5RS45aE3GLcF7J5X P11C9+3k/XK0PdY9jsdKXcwNIuEOnky/QiFZDFfTjNNgdl9wO8BdmbnTB0e5mc2IW/Yq pWx76ei9WD3neWAbtF0vRrC+w0IGt8L3+33kU59AyGYCFl0X35cmgUuY1JCN6l9GvTMh tGQ2ZVQ1CqViLL/bAbw83iZR4NT2q9ZanmchzDMHQ+z6zbDDyKp2GPJWJ9WXzzwCoB4M 5TYw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.170 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=yR2pTR+saxr70G8JR97vMLU8o1dZ86OlsZJMt9A4A5s=; b=ZxpwzwTFBB42cHal6dDxAJSR6EC3HT40ejOZgGhKUkTvLUGFR+XSgxHYEbNpqC3Ojb KZSLuegiJPBynj8aR8HuKgRWNyrkvdLP7Re/nATE7nkdijKrDztKwrzzhYkxlsp06vN6 tBh6rmTabTKdtl5RyI/0m/Whv0hq/3Q7BXnU9QnnPvnCscj0JOuPx6h/8W5258oOudmF qHzvAzO3DcyKCcKCVY3UtrCdBcV0vqnS90xEuoNpD6SmEZzNl2e/YVL4yrfVfF9EyiMS /gT5RThmvxu0BAZF3JGKvru6R6pXdESgLy2Ko6a149HrPRep3LcGglLQz8uAhlCO+e63 jNRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=yR2pTR+saxr70G8JR97vMLU8o1dZ86OlsZJMt9A4A5s=; b=3rArOQ5rJfPnc0bRNdPNTSvlX9YbvxAiGB588OxT8+XrmcGUTFmz3fa21pJbtArVIe TEClf+OMmEErwEVPIlB6r09RWwC0fd5eDXLu8V6hrEtFUsaGaVl7pt0vva3Lesiyph4O +L4NpmEMXkHD4SVK0290j6OXaksSu4MU/ynim6OzMlWecldc0tUvcaX7H7bDju7KHpeS 46XfA/qSyFwwuXjvCXDBUvxVidb8NufPLjTHvuHd9abmQgv7ZyzRO+g4b5ifwBVluDsz pc77NkIrDDb3wgPyUIRwgUvrbRP4bejDonRb+DRpxWBI3l Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2koFvrd981U1o+pfHh1tVdpSw/AGc9tUFJ8JSJ713w5B4ptA5m3M KWdRdF7DQwBLccivSBzYEtU= X-Google-Smtp-Source: AMrXdXu0TGLXfvlTjLw+WvekHiIVBi7FmogSzYjK8iO42vvLnfqGHHTiJMWJLUF6aLx0KFKGpUyskQ== X-Received: by 2002:a0d:e28a:0:b0:500:477b:1ac7 with SMTP id l132-20020a0de28a000000b00500477b1ac7mr3371530ywe.107.1674816186530; Fri, 27 Jan 2023 02:43:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a81:2c2:0:b0:506:3ad0:ce9e with SMTP id 185-20020a8102c2000000b005063ad0ce9els3107328ywc.8.-pod-prod-gmail; Fri, 27 Jan 2023 02:43:03 -0800 (PST) X-Received: by 2002:a0d:cf44:0:b0:4f0:f83c:3efb with SMTP id r65-20020a0dcf44000000b004f0f83c3efbmr25441841ywd.51.1674816183073; Fri, 27 Jan 2023 02:43:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674816183; cv=none; d=google.com; s=arc-20160816; b=lBXHAncmIAz+z2UXVg1JPyGs07Z36f+rm57DNznKOe07EVVEvHlnbgO9sVHp5fAsNe 9hlpJ2YywMkdCoEc9ydI72o/K33MEmd+eYdWhigCLQnmS86YyRPP511YCNBHW/FENZzZ pMfCMu2Pg1MnOTE22svlj38RHAWTqebzEFWa7W5ws++M+3XJ3IURgBDJ003WPi76RKED cBH6zzTftEo/LzzkUEcb1ovOKS2HTJng7eVfM+y+y34LRpFda4SRIBatdUO5ah+2Y59q jJVO/jlTriPQU6ueVwC24t4t9Cy7bpZxlQmV9nnvh6ez9Gc0U6QcStkaoSaqiH1MODdQ UbKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=MiUXotXR5dOKDMU/cJPGboKVfTWNHyCae/HC+S1BVY4=; b=NfrX0BoPM+iKWWH/7/VT3MbHff38JZidY9g0QeVAuNnNeJ8B/LI9GPuiLqk2PDO/1c eDlKFnTWUcMQ2sjg5T9nokzyFBpME2wfCUrU0Df2AT8rbPEzWLgJmsM0mw8V+GIOm5qJ EzZrD0syl0yj6/PT5l1Yvci598OV0Vzk136zFFILI/sXDmERjPuYhf4x0lZ/Bk5ngXmG 1/D6LGHrVIRjfGQeqZ6dHR+jqT/5G52owzlmg7fag2iWt5mLVk8I4ELzpN/H8uvr9o/H rI8v8SdyWfssOCni1dMrhvBZr8UsdkJkNjwkZIx/Tkre8uiuPnUdf/baPjx0cFFMGc1l /0QQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.170 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by gmr-mx.google.com with ESMTPS id g137-20020a81528f000000b004e0c0549c53si809609ywb.2.2023.01.27.02.43.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Jan 2023 02:43:02 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.170 as permitted sender) client-ip=209.85.219.170; Original-Received: by mail-yb1-f170.google.com with SMTP id e15so5438343ybn.10 for ; Fri, 27 Jan 2023 02:43:02 -0800 (PST) X-Received: by 2002:a25:b78b:0:b0:6fa:1d8c:8d74 with SMTP id n11-20020a25b78b000000b006fa1d8c8d74mr4514135ybh.190.1674816182518; Fri, 27 Jan 2023 02:43:02 -0800 (PST) In-Reply-To: <621a843e-049e-1a2b-1c60-df3158b6dc2e-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.219.170 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:32099 Archived-At: --0000000000009f886905f33c871c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den tors 26 jan. 2023 18:42ChrisD skrev: > On 1/25/2023 5:50 PM, John MacFarlane wrote: > > 3) Is there a simple way to get a list of files (including the image > files) that will be included in the chunked html output folder? Maybe I c= an > generate this from the ChunkedDoc, but it's going to take some parsing. > > It should be easy to get the non-image files from the ChunkedDoc. Then > there=E2=80=99s index.json. > What is index.json? If you mean sitemap.json, that doesn't exist yet, and > it doesn't include the image files. > You can always make two runs and use the one produced by the first run during the second run. > > Image files, not so easy. > I'm thinking this task may be easier to do as a post-processing step, > rather than as a filter. I'll have sitemap.json, and I can generate a lis= t > of files from the output folder or zip file. > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/621a843e-049e-1a2b-1c60-= df3158b6dc2e%40intielectronics.com > . > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CADAJKhBtitjLES8th0zKwCSV6GDSCXyM3bqTZekCoex2fqvfWw%40mail.g= mail.com. --0000000000009f886905f33c871c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Den tors 26 jan. 2023 18:42ChrisD <cd34-gg-4SSc53hpTiu9TMao6EloiEEOCMrvLtNR@public.gmane.org> skrev:
On 1/25/2023 5:50 PM, John MacFarlan= e wrote:
> 3) Is there a simple way to get a list of files (including the image f= iles) that will be included in the chunked html output folder? Maybe I can = generate this from the ChunkedDoc, but it's going to take some parsing.=
> It should be easy to get the non-image files from the ChunkedDoc.=C2= =A0 Then there=E2=80=99s index.json.
What is index.json? If you mean sitemap.json, that doesn't exist yet, a= nd it doesn't include the image files.

You can always make two runs and = use the one produced by the first run during the second run.



> Image files, not so easy.
I'm thinking this task may be easier to do as a post-processing step, r= ather than as a filter. I'll have sitemap.json, and I can generate a li= st of files from the output folder or zip file.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.g= oogle.com/d/msgid/pandoc-discuss/621a843e-049e-1a2b-1c60-df3158b6dc2e%40int= ielectronics.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/CADAJKhBtitjLES8th0zKwCSV6GDSCXyM3bqTZekC= oex2fqvfWw%40mail.gmail.com.
--0000000000009f886905f33c871c--