You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

123 lines
4.3 KiB

  1. <!--
  2. Provider List
  3. for the DokuWiki oEmbed plugin
  4. Important:
  5. Due to the risk of a cross-site scripting attack
  6. [http://en.wikipedia.org/wiki/Cross-site_scripting] only list providers
  7. that you trust. Remove any providers that you do not trust.
  8. Usage:
  9. Each provider element has two attributes: name, which is currently not
  10. used and api which is the API endpoint for the provider's OEmbed
  11. service. Each provider also lists scheme elements which contain the
  12. regular expressions of the URLs for which the API endpoint can be used.
  13. The regular expressions are matched agains the entire URL (no need for
  14. '^$') and case insensitively. The schemes listed on oembed.com are not
  15. valid regular expressions and need to be converted.
  16. Providers listed under PROXY PROVIDERS are not content providers but
  17. instead act as intermediaries for providers that may or may not natively
  18. support oEmbed.
  19. A more detailed list of providers can be found on the oEmbed site
  20. https://oembed.com/providers.json
  21. -->
  22. <providers>
  23. <!-- DIRECT PROVIDERS -->
  24. <!-- Flickr -->
  25. <provider name="Flickr" api="http://www.flickr.com/services/oembed/">
  26. <scheme>http://(.*?\.)?flickr\.com/.*?</scheme>
  27. </provider>
  28. <!-- Viddler -->
  29. <provider name="Viddler" api="http://lab.viddler.com/services/oembed/">
  30. <scheme>http://.*?\.viddler\.com/.*?</scheme>
  31. </provider>
  32. <!-- Qik -->
  33. <provider name="Qik" api="http://qik.com/api/oembed.{format}">
  34. <scheme>http://qik\.com/video/.*?</scheme>
  35. <scheme>http://qik\.com/.*?</scheme>
  36. </provider>
  37. <!-- Pownce -->
  38. <provider name="Pownce" api="http://api.pownce.com/2.1/oembed.{format}">
  39. <scheme>http://(.*?\.)?pownce\.com/.*?</scheme>
  40. </provider>
  41. <!-- Revision3 -->
  42. <provider name="Revision3" api="http://revision3.com/api/oembed/">
  43. <scheme>http://(.*?\.)?revision3\.com/.*?</scheme>
  44. </provider>
  45. <!-- Hulu -->
  46. <provider name="Hulu" api="http://www.hulu.com/api/oembed.{format}">
  47. <scheme>http://www\.hulu\.com/watch/.*?</scheme>
  48. </provider>
  49. <!-- Vimeo -->
  50. <provider name="Vimeo" api="http://www.vimeo.com/api/oembed.{format}">
  51. <scheme>http://www\.vimeo\.com/.*?</scheme>
  52. <scheme>http://www\.vimeo\.com/groups/.*?/.*?</scheme>
  53. </provider>
  54. <!-- PROXY PROVIDERS -->
  55. <!-- oohEmbed is no longer active as of 2019 -->
  56. <provider name="oohEmbed" api="http://oohembed.com/oohembed/">
  57. <!-- Amazon Product Image -->
  58. <scheme>http://.*?\.amazon\.(com|co\.uk|de|ca|jp)/(gp/product|o/ASIN|obidos/ASIN|dp)/.*?</scheme>
  59. <!-- CollegeHumor Video -->
  60. <scheme>http://.*?\.collegehumor\.com/video:.*?</scheme>
  61. <!-- Flickr (proxy to native service) -->
  62. <scheme>http://(.*?\.)?flickr\.com/photos/.*?</scheme>
  63. <!-- Funny or Die Video -->
  64. <scheme>http://.*?\.funnyordie.com/videos/.*?</scheme>
  65. <!-- Google Video -->
  66. <scheme>http://video\.google\.com/videoplay\?.*?</scheme>
  67. <!-- Hulu (proxy to native service) -->
  68. <scheme>http://www\.hulu\.com/watch/.*?</scheme>
  69. <!-- IMDb -->
  70. <scheme>http://.*?\.imdb\.com/title/tt.*?/</scheme>
  71. <!-- Metacafe -->
  72. <scheme>http://.*?\.metacafe\.com/watch/.*?</scheme>
  73. <!-- Pownce (proxy to native service) -->
  74. <scheme>http://(.*?\.)?pownce\.com/.*?/notes/.*?</scheme>
  75. <!-- Qik (proxy to native service) -->
  76. <scheme>http://qik\.com/.*?</scheme>
  77. <!-- Revision3 (proxy to native service) -->
  78. <scheme>http://(.*?\.)?revision3\.com/.*?</scheme>
  79. <!-- SlideShare -->
  80. <scheme>http://.*?\.slideshare\.net/.*?</scheme>
  81. <!-- Viddler Video (proxy to native service) -->
  82. <scheme>http://.*?\.viddler\.com/explore/.*?</scheme>
  83. <!-- Vimeo (proxy to native service) -->
  84. <scheme>http://www\.vimeo\.com/.*?</scheme>
  85. <scheme>http://www\.vimeo\.com/groups/.*?/.*?</scheme>
  86. <!-- Wikipedia -->
  87. <scheme>http://.*?\.wikipedia\.org/wiki/.*?</scheme>
  88. <!-- Wordpress.com -->
  89. <scheme>http://.*?\.wordpress\.com/\d{4}/\d{2}/\d{2}/.*?</scheme>
  90. <!-- Youtube -->
  91. <scheme>http://(.*?\.)?youtube\.com/watch.*?</scheme>
  92. </provider>
  93. </providers>