From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Pierre Neidhardt <mail@ambrevar.xyz>
Newsgroups: gmane.emacs.devel
Subject: [ELPA] New package: Webfeeder
Date: Wed, 13 Mar 2019 18:14:10 +0100
Message-ID: <87bm2eu271.fsf@ambrevar.xyz>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha256; protocol="application/pgp-signature"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="261866"; mail-complaints-to="usenet@blaine.gmane.org"
User-Agent: mu4e 1.0; emacs 26.1
To: Emacs developers <emacs-devel@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 13 18:15:34 2019
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1h47Ta-00163e-78
	for ged-emacs-devel@m.gmane.org; Wed, 13 Mar 2019 18:15:34 +0100
Original-Received: from localhost ([127.0.0.1]:48211 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1h47TX-0006b8-3U
	for ged-emacs-devel@m.gmane.org; Wed, 13 Mar 2019 13:15:31 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:37963)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@ambrevar.xyz>) id 1h47SK-0006ZL-0J
	for emacs-devel@gnu.org; Wed, 13 Mar 2019 13:14:17 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@ambrevar.xyz>) id 1h47SI-0005go-Jt
	for emacs-devel@gnu.org; Wed, 13 Mar 2019 13:14:15 -0400
Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:52593)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <mail@ambrevar.xyz>) id 1h47SI-0005g2-7j
	for emacs-devel@gnu.org; Wed, 13 Mar 2019 13:14:14 -0400
X-Originating-IP: 90.92.41.33
Original-Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33])
	(Authenticated sender: mail@ambrevar.xyz)
	by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id A555D2000C
	for <emacs-devel@gnu.org>; Wed, 13 Mar 2019 17:14:10 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 217.70.183.200
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:234132
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/234132>

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi!

I'm happy to announce the initial release of Emacs Webfeeder, an RSS /
Atom webfeed generator that works directly over HTML files.

  https://gitlab.com/ambrevar/emacs-webfeeder

From=20the readme.org:

=2D-8<---------------cut here---------------start------------->8---
Webfeeder is an Emacs library to generate [[https://en.wikipedia.org/wiki/R=
SS][RSS]] and [[https://en.wikipedia.org/wiki/Atom_(Web_standard)][Atom]] f=
eeds from HTML files.

Other webfeed generators have been written for Emacs, but either they are t=
ied
to other projects like blog generators, or they only work on Org files like
=3Dox-rss=3D.  Since Webfeeder generates webfeeds from HTML files, it is mo=
re
general.

The various elements of the HTML input are parsed with customizable functio=
ns.
For instance, Webfeeder offers two functions to parse the title:
~webfeeder-title-libxml~ (using libxml if your Emacs is linked against it)
and the less reliable ~webfeeder-title-default~.
Feel free to write you own function and bind ~webfeeder-title-function~
before generating the feeds.

The generated feeds should be valid on https://validator.w3.org/feed/.  If =
not,
it's a bug, please report.

Example:

(webfeeder-build
 "atom.xml"
 "./public"
 "https://example.org/"
 '("post1.html" "post2.html" "post3.html")
 :title "My homepage"
 :description "A collection of articles in Atom")
=2D-8<---------------cut here---------------end--------------->8---

I'd like to add the package to ELPA.
Feedback is more than welcome!

Cheers!

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlyJOmIACgkQm9z0l6S7
zH/GlQgAp0jhs7IHWs7xWNzcxDV2gE14i0mAArd/hcJCvutM9zPedthk2PSJcPp/
SHsnnDbxJ3XLOuHwHrGzZHULSUx72/j3mxCZCzjxtsM0OjuS81eWjWdBHD8tk70U
PsxyNibVz7A8jJ6vw85dB+K7Ra8Qj8pEZdLpyyi0Egq3WK23kvgBdnuGOjmtnH4M
mSvrUxWnJz1CfHpZw0zSkfaR3JPfowTb7KKWUREzNCxc11D9K/qF3qrVrQiDAeAB
4tuZDetLeLECKA067VsecShztNGxIatZNW++bJSKF6loVH0D6QbTkzm0kXq6hVXQ
85NVGXd7y3cR+yy4SFQASWqjLh/q7w==
=EYXM
-----END PGP SIGNATURE-----
--=-=-=--