rules.go 1.2 KB

123456789101112131415161718192021222324252627282930
  1. // Copyright 2017 Frédéric Guillot. All rights reserved.
  2. // Use of this source code is governed by the Apache 2.0
  3. // license that can be found in the LICENSE file.
  4. package rewrite
  5. // List of predefined rewrite rules (alphabetically sorted)
  6. // Available rules: "add_image_title", "add_youtube_video"
  7. // domain => rule name
  8. var predefinedRules = map[string]string{
  9. "abstrusegoose.com": "add_image_title",
  10. "amazingsuperpowers.com": "add_image_title",
  11. "cowbirdsinlove.com": "add_image_title",
  12. "drawingboardcomic.com": "add_image_title",
  13. "exocomics.com": "add_image_title",
  14. "happletea.com": "add_image_title",
  15. "imogenquest.net": "add_image_title",
  16. "lukesurl.com": "add_image_title",
  17. "mercworks.net": "add_image_title",
  18. "mrlovenstein.com": "add_image_title",
  19. "nedroid.com": "add_image_title",
  20. "oglaf.com": "add_image_title",
  21. "optipess.com": "add_image_title",
  22. "peebleslab.com": "add_image_title",
  23. "sentfromthemoon.com": "add_image_title",
  24. "thedoghousediaries.com": "add_image_title",
  25. "treelobsters.com": "add_image_title",
  26. "youtube.com": "add_youtube_video",
  27. "xkcd.com": "add_image_title",
  28. }