From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.user Subject: Re: Permissive html parser for guile Date: Wed, 23 Jan 2019 22:18:45 +0100 Message-ID: <87lg3b5ayy.fsf@elephly.net> References: <1b161633-c285-1401-d771-c965dae58149@riseup.net> <874l9z78sc.fsf@elephly.net> <87womv5psn.fsf@elephly.net> <656912ae-c706-5a12-dee7-f0c0e581bdb1@riseup.net> 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="146067"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.0; emacs 26.1 Cc: Guile User To: Panicz Maciej Godek Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 24 14:07:31 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmejC-000blK-VL for guile-user@m.gmane.org; Thu, 24 Jan 2019 14:07:31 +0100 Original-Received: from localhost ([127.0.0.1]:53698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmejB-0003jR-RN for guile-user@m.gmane.org; Thu, 24 Jan 2019 08:07:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmeiV-0003WY-11 for guile-user@gnu.org; Thu, 24 Jan 2019 08:06:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmeiU-0005QW-5q for guile-user@gnu.org; Thu, 24 Jan 2019 08:06:47 -0500 Original-Received: from sender-of-o53.zoho.com ([135.84.80.218]:21842) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gmeiT-000501-NA for guile-user@gnu.org; Thu, 24 Jan 2019 08:06:46 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548278331; cv=none; d=zoho.com; s=zohoarc; b=aixIduJCtlNC0pr6Am/B963TFj47JnUU07S2E6LWeTnlgJ0l9t2VxlPtvAZrhoLxkXW+uBupUkD7uvSpTLqs1VAWkynOt71AEDyIDheaqf9kflLjcU3sJGgn16TviDnWhYKFEmid9djx/NoD5fTw2m0ic64t+cOKAfyEWm2nnPo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548278331; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=JwFITnaM89B3WekcvJnP1Gqpnj/f/2s5pQSyhfFhW1s=; b=XVG+SCbh4Rdsjd1Jd3YmoAQjLppjWsza1r8qxh0zztogzPyVz8ld5FpYqxW9kZw0LZy7CD0k/XHiLrU6r8bzia+WOb97qQVHkwYHdjj9XL6C9HPsxCDFUbPNlwEYeGeHe92X8Zx9NibooQyk6dfwQRxpWUPa/aG05Nrb5Ea0ekU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548278331; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=511; bh=JwFITnaM89B3WekcvJnP1Gqpnj/f/2s5pQSyhfFhW1s=; b=FeG87T7Hcdzxkhd2sA6vtcftFjYe+Cfrbr9UqLzJUGLFUc2FZQw2HEZtWFl0Idrf uMg19A1zjKtaTX6KbQKG73uC/gtciSBCgAOJTlPPCOsI4nzsdK4zUamfDAtdt0tWjuH 7gBvvU7nZIed1hvJzxzWIe3nokZGPHUdOKVQP4ZY= Original-Received: from localhost (p578E6B53.dip0.t-ipconnect.de [87.142.107.83]) by mx.zohomail.com with SMTPS id 154827832945459.709106065047195; Wed, 23 Jan 2019 13:18:49 -0800 (PST) In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.218 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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:15254 Archived-At: Panicz Maciej Godek writes: > I believe that the canonical way of working with XML documents in Guile is > through the (sxml simple) module (and others): > https://www.gnu.org/software/guile/manual/html_node/SXML.html > > It contains xml->sxml function which allows to convert XML strings to a > more familiar s-expression based format. This is fine for XML, but it=E2=80=99s not fine for HTML documents, which m= ay or may not be valid XML documents. --=20 Ricardo