Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235063
| From | Emanuel Berg <moasenwood@zoho.eu> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: generate a rss.xml from a bunch of HTML files |
| Date | 2021-05-10 17:20 +0200 |
| Message-ID | <CdfRn-5ba-11@gated-at.bofh.it> (permalink) |
| References | <CcOo9-3Cd-1@gated-at.bofh.it> <CcZ0d-2B8-5@gated-at.bofh.it> <CdeVj-4w5-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
>> ...and this somewhat more complex-looking one...
>>
>> "W3C RSS 1.0 News Feed Creation How-To"
>> https://www.w3.org/2001/10/glance/doc/howto
>
> Great, but stops on <figure> and <figurecaption>, these are
> HTML5 tags:
>
> http://html5doctor.com/the-figure-figcaption-elements/
>
> so either we must change the XSLT rules to make use of for
> example the caption at least, _or_ we must either make
> a rule or tell the tool to ignore them, if such an option
> exists...
Here is the Makefile [last] only one problem, the XSLT file or
xsltproc tool (?) doesn't seem to transform the HTML into RSS,
really, output is basically a text file with no markup
whatsoever except for the first line which is
<?xml version="1.0" encoding="utf-8"?>
Maybe I do something wrong?
name = tree-house
src = ${name}.html
srcpp = ${name}-pp.html
trans = html2rss.xsl
dst = ${name}.rss
opts = --html
all: ${dst}
${srcpp}: ${src}
sed -e 's/<\/*fig\(ure\|caption\)>//g' $< > $@
${dst}: ${srcpp}
xsltproc -o $@ ${opts} ${trans} $<
--
underground experts united
https://dataswamp.org/~incal
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 12:00 +0200
Re: generate a rss.xml from a bunch of HTML files davidson <davidson@freevolt.org> - 2021-05-09 23:20 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 02:00 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 16:20 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 17:20 +0200
Re: generate a rss.xml from a bunch of HTML files davidson <davidson@freevolt.org> - 2021-05-13 00:10 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-11 00:40 +0200
Re: generate a rss.xml from a bunch of HTML files David Wright <deblis@lionunicorn.co.uk> - 2021-05-11 02:30 +0200
Re: generate a rss.xml from a bunch of HTML files The Wanderer <wanderer@fastmail.fm> - 2021-05-11 02:40 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-11 03:10 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-11 03:40 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-11 02:50 +0200
Re: generate a rss.xml from a bunch of HTML files Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-11 08:10 +0200
Re: generate a rss.xml from a bunch of HTML files David Wright <deblis@lionunicorn.co.uk> - 2021-05-11 17:20 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-12 03:20 +0200
Re: generate a rss.xml from a bunch of HTML files The Wanderer <wanderer@fastmail.fm> - 2021-05-12 12:10 +0200
Re: generate a rss.xml from a bunch of HTML files Greg Wooledge <greg@wooledge.org> - 2021-05-12 13:40 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-12 13:50 +0200
Re: generate a rss.xml from a bunch of HTML files Curt <curty@free.fr> - 2021-05-12 19:10 +0200
Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-12 14:20 +0200
Re: generate a rss.xml from a bunch of HTML files Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2021-05-11 14:20 +0200
csiph-web