mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Added new rewrite rules add_hn_links_using_hack
and add_hn_links_using_opener
to open HN comments with iOS apps
This commit is contained in:
parent
ace2699e79
commit
54cb8fa028
4 changed files with 104 additions and 0 deletions
|
@ -113,6 +113,10 @@ func applyRule(entryURL string, entry *model.Entry, rule rule) {
|
|||
} else {
|
||||
entry.Content = applyFuncOnTextContent(entry.Content, "body", decodeBase64Content)
|
||||
}
|
||||
case "add_hn_links_using_hack":
|
||||
entry.Content = addHackerNewsLinksUsing(entry.Content, "hack")
|
||||
case "add_hn_links_using_opener":
|
||||
entry.Content = addHackerNewsLinksUsing(entry.Content, "opener")
|
||||
case "parse_markdown":
|
||||
entry.Content = parseMarkdown(entry.Content)
|
||||
case "remove_tables":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue