LEFT | RIGHT |
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 | |
3 <!-- | |
4 - This file is part of the Adblock Plus web scripts, | |
5 - Copyright (C) 2006-2016 Eyeo GmbH | |
6 - | |
7 - Adblock Plus is free software: you can redistribute it and/or modify | |
8 - it under the terms of the GNU General Public License version 3 as | |
9 - published by the Free Software Foundation. | |
10 - | |
11 - Adblock Plus is distributed in the hope that it will be useful, | |
12 - but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 - GNU General Public License for more details. | |
15 - | |
16 - You should have received a copy of the GNU General Public License | |
17 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | |
18 --> | |
19 | |
20 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
21 xmlns:em="http://www.mozilla.org/2004/em-rdf#"> | |
22 {%- for extension in extensions %} | |
23 <Description about="urn:mozilla:extension:{{extension.extensionID}}"> | |
24 <em:updates> | |
25 <Seq> | |
26 <li> | |
27 <Description> | |
28 <em:version>{{extension.version}}</em:version> | |
29 {%- for app in extension.compat %} | |
30 <em:targetApplication> | |
31 <Description> | |
32 <em:id>{{app.id}}</em:id> | |
33 <em:minVersion>{{app.minVersion or "*"}}</em:minVersion> | |
34 <em:maxVersion>{{app.maxVersion or "*"}}</em:maxVersion> | |
35 <em:updateLink>{{extension.updateURL}}</em:updateLink> | |
36 {%- if extension.changelogURL %} | |
37 <em:updateInfoURL>{{extension.changelogURL}}</em:updateInfoURL> | |
38 {%- endif %} | |
39 </Description> | |
40 </em:targetApplication> | |
41 {%- endfor %} | |
42 </Description> | |
43 </li> | |
44 </Seq> | |
45 </em:updates> | |
46 </Description> | |
47 {%- endfor %} | |
48 </RDF> | |
LEFT | RIGHT |