* feed-builder.el: An RSS (and Atom?) generator @ 2018-08-12 12:39 Pierre Neidhardt 2018-08-12 12:42 ` Pierre Neidhardt 0 siblings, 1 reply; 6+ messages in thread From: Pierre Neidhardt @ 2018-08-12 12:39 UTC (permalink / raw) To: emacs-devel [-- Attachment #1: Type: text/plain, Size: 974 bytes --] Hi! I've recently revamped my website in pure Org/Elisp (using ox-publish): https://ambrevar.xyz Source is here: https://gitlab.com/ambrevar/ambrevar.gitlab.io The main difficulty was to generate the webfeed file. I could not find any Elisp library to do that. There is ox-rss in Org-contrib but it works over a single Org file only. It is possible to create a meta-Org file with #+includes, but that's inconvenient and limited (the #+TITLE tags get concatenated to start with). So I went ahead and implemented a webfeed generator from scratch. (It's a first draft.) It's rather simple actually: it takes a bunch of HTML files as input, extracts valuable information through user-defined functions and saves everything into an RSS file. I'll implement Atom generation later. What do you people think? Would this be useful enough to be considered for inclusion in Emacs? Am I missing existing alternatives? Cheers! -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: feed-builder.el: An RSS (and Atom?) generator 2018-08-12 12:39 feed-builder.el: An RSS (and Atom?) generator Pierre Neidhardt @ 2018-08-12 12:42 ` Pierre Neidhardt 2018-08-13 13:35 ` Clément Pit-Claudel 0 siblings, 1 reply; 6+ messages in thread From: Pierre Neidhardt @ 2018-08-12 12:42 UTC (permalink / raw) To: emacs-devel [-- Attachment #1: Type: text/plain, Size: 185 bytes --] Maybe a direct link to feed-builder.el would be nice! :p https://gitlab.com/ambrevar/ambrevar.gitlab.io/blob/master/feed-builder.el -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: feed-builder.el: An RSS (and Atom?) generator 2018-08-12 12:42 ` Pierre Neidhardt @ 2018-08-13 13:35 ` Clément Pit-Claudel 2018-08-13 14:48 ` Pierre Neidhardt 0 siblings, 1 reply; 6+ messages in thread From: Clément Pit-Claudel @ 2018-08-13 13:35 UTC (permalink / raw) To: Pierre Neidhardt, emacs-devel On 2018-08-12 08:42, Pierre Neidhardt wrote: > Maybe a direct link to feed-builder.el would be nice! :p > > https://gitlab.com/ambrevar/ambrevar.gitlab.io/blob/master/feed-builder.el This looks nice! I think it would make for a fine contribution on ELPA. I'd recommend separating the part that generates the RSS feed from the part that reads the info from the collection of HTML files; it would be ideal for the generator to be independent of the data source. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: feed-builder.el: An RSS (and Atom?) generator 2018-08-13 13:35 ` Clément Pit-Claudel @ 2018-08-13 14:48 ` Pierre Neidhardt 2018-08-13 16:01 ` Clément Pit-Claudel 0 siblings, 1 reply; 6+ messages in thread From: Pierre Neidhardt @ 2018-08-13 14:48 UTC (permalink / raw) To: Clément Pit-Claudel; +Cc: emacs-devel [-- Attachment #1: Type: text/plain, Size: 459 bytes --] > This looks nice! Thanks! > I think it would make for a fine contribution on ELPA. What's the policy for inclusion between Emacs and ELPA? > I'd recommend separating the part that generates the RSS feed from the part that > reads the info from the collection of HTML files; it would be ideal for the > generator to be independent of the data source. I'll do that when I add support for Atom. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: feed-builder.el: An RSS (and Atom?) generator 2018-08-13 14:48 ` Pierre Neidhardt @ 2018-08-13 16:01 ` Clément Pit-Claudel 2019-03-13 17:11 ` Pierre Neidhardt 0 siblings, 1 reply; 6+ messages in thread From: Clément Pit-Claudel @ 2018-08-13 16:01 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: emacs-devel On 2018-08-13 10:48, Pierre Neidhardt wrote: > What's the policy for inclusion between Emacs and ELPA? I think the usual assumption is that most things go to ELPA, except for "core" features. Installing packages from ELPA is trivial, too, so in practice it makes little difference. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: feed-builder.el: An RSS (and Atom?) generator 2018-08-13 16:01 ` Clément Pit-Claudel @ 2019-03-13 17:11 ` Pierre Neidhardt 0 siblings, 0 replies; 6+ messages in thread From: Pierre Neidhardt @ 2019-03-13 17:11 UTC (permalink / raw) To: Clément Pit-Claudel; +Cc: emacs-devel, Pierre Neidhardt [-- Attachment #1: Type: text/plain, Size: 219 bytes --] At last I've managed to take some time to finish this. Here is the result: https://gitlab.com/ambrevar/emacs-webfeeder. I'll sent an ELPA inclusion request just now. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-03-13 17:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-08-12 12:39 feed-builder.el: An RSS (and Atom?) generator Pierre Neidhardt 2018-08-12 12:42 ` Pierre Neidhardt 2018-08-13 13:35 ` Clément Pit-Claudel 2018-08-13 14:48 ` Pierre Neidhardt 2018-08-13 16:01 ` Clément Pit-Claudel 2019-03-13 17:11 ` Pierre Neidhardt
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).