all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ELPA] New package: Webfeeder
@ 2019-03-13 17:14 Pierre Neidhardt
  2019-03-22  9:38 ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2019-03-13 17:14 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]

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 the readme.org:

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

Other webfeed generators have been written for Emacs, but either they are tied
to other projects like blog generators, or they only work on Org files like
=ox-rss=.  Since Webfeeder generates webfeeds from HTML files, it is more
general.

The various elements of the HTML input are parsed with customizable functions.
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")
--8<---------------cut here---------------end--------------->8---

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

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ELPA] New package: Webfeeder
  2019-03-13 17:14 [ELPA] New package: Webfeeder Pierre Neidhardt
@ 2019-03-22  9:38 ` Pierre Neidhardt
  2019-03-26 11:12   ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2019-03-22  9:38 UTC (permalink / raw)
  To: Emacs developers; +Cc: cpitclaudel

[-- Attachment #1: Type: text/plain, Size: 98 bytes --]

Ping! :)

Anyone interesting in trying it out?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ELPA] New package: Webfeeder
  2019-03-22  9:38 ` Pierre Neidhardt
@ 2019-03-26 11:12   ` Pierre Neidhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre Neidhardt @ 2019-03-26 11:12 UTC (permalink / raw)
  To: Emacs developers; +Cc: cpitclaudel

[-- Attachment #1: Type: text/plain, Size: 88 bytes --]

I've pushed webfeeder to ELPA.
Enjoy!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-26 11:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-13 17:14 [ELPA] New package: Webfeeder Pierre Neidhardt
2019-03-22  9:38 ` Pierre Neidhardt
2019-03-26 11:12   ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.