2017-12-12 07:16:32 +01:00
|
|
|
// Copyright 2017 Frédéric Guillot. All rights reserved.
|
|
|
|
// Use of this source code is governed by the Apache 2.0
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2018-08-25 06:51:50 +02:00
|
|
|
package rewrite // import "miniflux.app/reader/rewrite"
|
2017-12-12 07:16:32 +01:00
|
|
|
|
|
|
|
// List of predefined rewrite rules (alphabetically sorted)
|
|
|
|
// Available rules: "add_image_title", "add_youtube_video"
|
|
|
|
// domain => rule name
|
|
|
|
var predefinedRules = map[string]string{
|
|
|
|
"abstrusegoose.com": "add_image_title",
|
|
|
|
"amazingsuperpowers.com": "add_image_title",
|
|
|
|
"cowbirdsinlove.com": "add_image_title",
|
|
|
|
"drawingboardcomic.com": "add_image_title",
|
|
|
|
"exocomics.com": "add_image_title",
|
|
|
|
"happletea.com": "add_image_title",
|
|
|
|
"imogenquest.net": "add_image_title",
|
|
|
|
"lukesurl.com": "add_image_title",
|
|
|
|
"mercworks.net": "add_image_title",
|
|
|
|
"mrlovenstein.com": "add_image_title",
|
|
|
|
"nedroid.com": "add_image_title",
|
|
|
|
"oglaf.com": "add_image_title",
|
|
|
|
"optipess.com": "add_image_title",
|
|
|
|
"peebleslab.com": "add_image_title",
|
2019-08-13 17:44:23 +02:00
|
|
|
"www.qwantz.com": "add_image_title,add_mailto_subject",
|
2017-12-12 07:16:32 +01:00
|
|
|
"sentfromthemoon.com": "add_image_title",
|
|
|
|
"thedoghousediaries.com": "add_image_title",
|
|
|
|
"treelobsters.com": "add_image_title",
|
|
|
|
"youtube.com": "add_youtube_video",
|
2020-03-21 04:45:37 +01:00
|
|
|
"invidio.us": "add_invidious_video",
|
2017-12-12 07:16:32 +01:00
|
|
|
"xkcd.com": "add_image_title",
|
2019-11-29 05:11:39 +01:00
|
|
|
"framatube.org": "nl2br,convert_text_link",
|
2020-09-30 07:22:25 +02:00
|
|
|
"medium.com": "fix_medium_images",
|
2017-12-12 07:16:32 +01:00
|
|
|
}
|