aboutsummaryrefslogtreecommitdiff
path: root/files/ja/creating_a_skin_for_firefox/contents.rdf/index.html
blob: 5d56312ee83affa8aba37c8998b0d4cca378aca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: contents.rdf
slug: Creating_a_Skin_for_Firefox/contents.rdf
tags:
  - Add-ons
  - Themes
translation_of: Archive/Themes/Creating_a_Skin_for_Firefox/contents.rdf
---
<p> </p><p>以下のテキストをコピーし、テキストファイルに貼り付けてください。それを "<code>contents.rdf</code>" として保存します:
</p>
<pre>&lt;?xml version="1.0"?&gt;

&lt;RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:chrome="http://www.mozilla.org/rdf/chrome#"&gt;

  &lt;!-- List all the skins being supplied by this theme --&gt;
  &lt;RDF:Seq about="urn:mozilla:skin:root"&gt;
    &lt;RDF:li resource="urn:mozilla:skin:My_Theme"/&gt;
  &lt;/RDF:Seq&gt;

  &lt;RDF:Description about="urn:mozilla:skin:My_Theme"
        chrome:displayName="My Theme"
        chrome:accessKey="N"
        chrome:author=""
        chrome:authorURL=""
        chrome:description=""
        chrome:name="My_Theme"
        chrome:image="preview.png"&gt;
   &lt;chrome:packages&gt;
      &lt;RDF:Seq about="urn:mozilla:skin:My_Theme:packages"&gt;
        &lt;RDF:li resource="urn:mozilla:skin:My_Theme:browser"/&gt;
        &lt;RDF:li resource="urn:mozilla:skin:My_Theme:communicator"/&gt;
        &lt;RDF:li resource="urn:mozilla:skin:My_Theme:global"/&gt;
        &lt;RDF:li resource="urn:mozilla:skin:My_Theme:mozapps"/&gt;
        &lt;RDF:li resource="urn:mozilla:skin:My_Theme:help"/&gt;
      &lt;/RDF:Seq&gt;
    &lt;/chrome:packages&gt;
  &lt;/RDF:Description&gt;

  &lt;!-- Version Information. State that we work only with major version 1 of this package. --&gt;
  &lt;RDF:Description chrome:skinVersion="1.5" about="urn:mozilla:skin:My_Theme:browser"/&gt;
  &lt;RDF:Description chrome:skinVersion="1.5" about="urn:mozilla:skin:My_Theme:communicator"/&gt;
  &lt;RDF:Description chrome:skinVersion="1.5" about="urn:mozilla:skin:My_Theme:global"/&gt;
  &lt;RDF:Description chrome:skinVersion="1.5" about="urn:mozilla:skin:My_Theme:mozapps"/&gt;
  &lt;RDF:Description chrome:skinVersion="1.5" about="urn:mozilla:skin:My_Theme:help"/&gt;
&lt;/RDF:RDF&gt;
</pre>
<div class="noinclude">
</div>