1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-27 17:28:38 +00:00

Add a rewrite rule for castopod episodes

This commit is contained in:
Romain de Laage 2022-01-30 09:11:43 +01:00 committed by Frédéric Guillot
parent 7a1429bcc1
commit 808635e314
3 changed files with 17 additions and 0 deletions

View file

@ -100,6 +100,8 @@ func applyRule(entryURL, entryContent string, rule rule) string {
} else {
logger.Debug("[Rewrite] Cannot find selector for remove rule %s", rule)
}
case "add_castopod_episode":
entryContent = addCastopodEpisode(entryURL, entryContent)
}
return entryContent