miniflux-v2/reader
Jouni K. Seppänen bb0d2bf675 Add Youtube videos in Quanta articles
Some articles (especially the recent year-in-review ones) include a Youtube
video. The server-side rendered articles do not include the Youtube iframe,
but they do have a script that looks like

    <script type="text/javascript" data-reactid="6">
      window.__APOLLO_STATE__ = {
        ...
          youtube_id: "9uASADiYe_8",

We add a reformatting function that tries to detect obvious JavaScript code
that has a field or variable called youtube_id that has an 11-character
double-quoted value, and adds the referenced Youtube videos in the beginning of
the article. This is slightly more general than needed for Quanta, in the hope
that it could be useful for similar sites.
2022-01-03 10:10:13 -08:00
..
atom Setup golangci-lint Github Action 2021-03-22 21:34:48 -07:00
browser Fix minor typo 2021-10-17 16:58:42 -07:00
date Add workaround to handle some invalid dates 2021-03-21 10:52:27 -07:00
encoding Remove deprecated io/ioutil package 2021-02-16 21:25:21 -08:00
handler Add per feed cookies option 2021-03-22 20:27:58 -07:00
icon Add option to allow self-signed or invalid certificates 2021-02-21 13:58:52 -08:00
json use authors entry for json 1.1 feeds 2021-07-21 21:28:37 -07:00
media Add support of media elements for Atom feeds 2019-11-28 23:55:40 -08:00
opml Add <head> tag to OPML export 2021-12-16 11:49:50 -08:00
parser Remove deprecated io/ioutil package 2021-02-16 21:25:21 -08:00
processor Add Telegram integration 2021-09-07 20:04:22 -07:00
rdf Handle RDF feed with HTML encoded entry title 2021-03-19 18:49:51 -07:00
readability Add rewrite rule to fix Medium.com images 2020-09-29 22:27:32 -07:00
rewrite Add Youtube videos in Quanta articles 2022-01-03 10:10:13 -08:00
rss Handle RSS feed title with encoded Unicode entities 2021-04-30 22:57:29 -07:00
sanitizer Handle srcset images with no space after comma 2021-10-13 21:31:08 -07:00
scraper Add Youtube videos in Quanta articles 2022-01-03 10:10:13 -08:00
subscription Fix finding JSON feeds with new MIME type 2021-08-21 13:01:08 -07:00
xml Remove deprecated io/ioutil package 2021-02-16 21:25:21 -08:00
doc.go Fix typo in license header 2018-10-08 15:50:15 -07:00