From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kenan Toker Newsgroups: gmane.lisp.guile.user Subject: Re: Using shtml with htmlprag - output of shtml->html is different to some given HTML Date: Thu, 5 Sep 2019 09:38:49 +1000 Message-ID: <5c940139-4544-07ed-b01f-1e154e3eb30e@kdtsh.net> References: <6db79fe7-36e9-edbf-4ac0-35a8fb8bbb03@kdtsh.net> <3473b297-0afb-0ee8-f0c8-19e917dc7af5@neilvandyke.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="226030"; mail-complaints-to="usenet@blaine.gmane.org" To: Neil Van Dyke , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Sep 05 01:39:53 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i5esS-000wdz-Dw for guile-user@m.gmane.org; Thu, 05 Sep 2019 01:39:52 +0200 Original-Received: from localhost ([::1]:41510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5esQ-0000FP-KV for guile-user@m.gmane.org; Wed, 04 Sep 2019 19:39:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35747) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5err-0000FC-LP for guile-user@gnu.org; Wed, 04 Sep 2019 19:39:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5erm-0005Ex-AI for guile-user@gnu.org; Wed, 04 Sep 2019 19:39:13 -0400 Original-Received: from mx2a.mailbox.org ([2001:67c:2050:104:0:2:25:2]:43910 helo=mx2.mailbox.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5erl-0005BO-5j for guile-user@gnu.org; Wed, 04 Sep 2019 19:39:09 -0400 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id E1F03A111E; Thu, 5 Sep 2019 01:39:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kdtsh.net; s=MBO0001; t=1567640342; 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:references:references:openpgp:openpgp:autocrypt:autocrypt; bh=iC2w/X3zNkCD9U9WQcJN0yNNg2rFfbXmesBKrSY21YA=; b=a9T2e+74HbBZ38z+l71hTe4KgjdAhDF5xYfzzYCLrFfKhkcK7KOp2QsuWNvreP0sjwoKYQ Gl52fZANfLBMjFF7WqDbuC2wLx4iPPY3bBI0LlUSPgGr8GGm05I16qQeISaTDVtqsmKG1c W0g6+RLAx/Cinf+dH0+rgaKNLYB54EtPf4JwPiV4u3q6HfpyJCatidWiE/irjNoxf14a12 /IgB6ZRUsvBVbKtTj3/SVj2tXOyyhB0Y0kVv0hwNXnrTTbqe1TiPYvHqltVY+SNv21hJut 9gc6jTLT/9W0WMxMbnq97aYIeFMOLJYdSF//o8CW8g8gI8Zu5583jlg0Eh6xdg== Original-Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id ZdZXwKq4-11e; Thu, 5 Sep 2019 01:38:59 +0200 (CEST) Openpgp: preference=signencrypt Autocrypt: addr=kenan@kdtsh.net; keydata= mQINBFyA6SwBEAC5HOqkiz7aHvqPl0Nxdi9XAM0S9WZuudZeHuVBJGmkaMWWUvORXmC2L0bG 0RZpJJa16C8c5BkWfgA8HAlbHfThDZYc6FIbvg2ZU7t2O6KciLWaFCCNtWJCNqHI76XteipP xN1PxWZUTdGZ53veMiPsd/QRIZSlAv4WMVVz6fjnIkmf0SNCBnK8xSHpzUokZ2hZfEgiNQfY dlfBwOJlorwEVKhzK3Q1X4fkCJWfsODGaQRzUi2TzCCAmVQGCGIhbYMWToG/OKRHSIk3GDYc rrOJHiDq4gKjVLCehKF9OH5mYTkDIWVPl3AFELEKh27KSO5FakzgGTTo5laTvIAj7rb3PiMx NkeyH1jujWGTxJD1K8m3MMDNMduSw5dQphSGweXKhWq9IhC5Wg7XXqR7aZrQEMEvJafoGte6 TWQsKrw52qgyjP/Ov7QrrUeGo5f9mQDCAyyUaewZIXCBKUcG9VF+HEBh+/2KaD3DnENhG8eH Eky2j2wD+PrWdix7lEC6138y5Fmqh+teKQcW4CiPqjvFsAp10DI+vr1tZ3CihRFhF9+H+UjJ 1/UI/JVGtgB0IiSvqpaOQCmIZVHvjpRSLk/4Ur6Bp57Qrkvb7Z5cNYJt310TSK/Sf7Cw42Lo /USqWpMnuTIQPYKiSeANcwaRNw72UQaXagOyDuWq57R20HuSWQARAQABtB1LZW5hbiBUb2tl ciA8a2VuYW5Aa2R0c2gubmV0PokCVAQTAQoAPhYhBKvLDPhewwLBpHqotDvZCzeW7/YFBQJc gOksAhsDBQkHhh+ABQsJCAcDBRUKCQgLBRYCAwEAAh4 In-Reply-To: <3473b297-0afb-0ee8-f0c8-19e917dc7af5@neilvandyke.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:67c:2050:104:0:2:25:2 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15705 Archived-At: Hi Neil, Brilliant! I'm using the version which is bundled with the guile-lib 0.2.6.1 - https://www.nongnu.org/guile-lib/ for website, https://download.savannah.nongnu.org/releases/guile-lib/ for download. I haven't tried using a different version than this. I can also see from the header that this version was `forked` (I'm not sure if that's the best way to put it) and built into guile-lib in 2004. If trying a different version of htmlprag is a good idea I can give that a go too. Re: porting html-parsing and generally working with RnRS again, that sounds like a good project. As it happens, when I was searching around for more info about htmlprag I came across html-parsing, and I thought that maybe it could drop easily into Guile but a glance at the code confirmed this wasn't to be. It looks like a great library. Cheers, Kenan On 5/9/19 12:33 am, Neil Van Dyke wrote: > Hi, Kenan. > > If you can tell me a URL for which `htmlprag` you're using, I'll try > to fix the problem. > > If I can't quickly figure out a simple fix for that `htmlprag`, I > might end up trying to quickly do an unofficial port of the current > (sadly Racket-specific) incarnation of the `htmlprag` code, since the > newer code works correctly with your example, and I don't see an > obvious fix in the version history: > "https://www.neilvandyke.org/racket/html-parsing/#%28part._.History%29"= =2E > > (Coincidentally, I recently decided to switch back from Racket, to > building atop RnRS again, and hopefully advancing it.=C2=A0 `htmlprag` = was > the very first Scheme code I ever wrote, and was tested on many Scheme > implementations, so porting `html-parsing` back from Racket first > seems suiting, and probably very easy.) > > Neil V. >