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