くでんな日々や公開どう?
McCoy - MDN
Extension Versioning, Update and Compatibility - MDN
Install Manifests - MDN #updateKey
Install Manifests - MDN #updateURL
【ハウツー】カスタマイジングFirefox - 拡張機能に自動更新機能を (1) Firefoxの自動更新機能とは? | パソコン | マイナビニュース
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{39ffeed1-1b41-43bf-84a3-4059ad3ca152}</em:id>
<em:version>0.36</em:version>
<em:updateURL>http://moondoldo.com/files/DownloadSupportGP/update.rdf</em:updateURL>
<em:updateKey>(McCoyで作成したPublic Key)</em:updateKey>
<em:localized>
<Description>
<em:locale>ja</em:locale>
<em:creator>hida Chrome版 / moondoldo Opera・Firefox移植版</em:creator>
<em:name>DownloadSupport for Google+</em:name>
<em:description>Google+のストリーム上に流れる画像と動画を簡単にダウンロードする機能です</em:description>
<em:homepageURL>http://moondoldo.com/DoldoWorkz/?UserScript%2FDownloadSupport_for_Google%EF%BC%8B_%EF%BC%86_Picasa</em:homepageURL>
<em:contributor>Greasemonkey Compiler by Anthony Lieuallen;</em:contributor>
<em:contributor>http://arantius.com/</em:contributor>
</Description>
</em:localized>
<em:localized>
<Description>
<em:locale>en-US</em:locale>
<em:creator>hida Chrome / moondoldo Opera Firefox transplant version </em:creator>
<em:name>DownloadSupport for Google+</em:name>
<em:description>Download pictures and videos on the stream of Google +</em:description>
<em:homepageURL>http://moondoldo.com/DoldoWorkz/?UserScript%2FDownloadSupport_for_Google%EF%BC%8B_%EF%BC%86_Picasa</em:homepageURL>
<em:contributor>Greasemonkey Compiler by Anthony Lieuallen;</em:contributor>
<em:contributor>http://arantius.com/</em:contributor>
</Description>
</em:localized>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.0</em:minVersion>
<em:maxVersion>10.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>「em:version」を更新
サーバーに置いたupdate.rdfファイルのURLを「em:updateURL」へ
McCoyで作成したPublic Keyを「em:updateKey」へ ※これは最初の1回でいい
<?xml version="1.0"?>
<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description RDF:about="rdf:#$UzRmN2"
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
em:minVersion="3.0"
em:maxVersion="10.*"
em:updateLink="http://moondoldo.com/files/DownloadSupportGP/downloadsupportforgoogle.xpi"
em:updateHash="sha1:1a2f5a5e134c41be51f907abcb6ce10205dc7e34" />
<RDF:Seq RDF:about="rdf:#$QzRmN2">
<RDF:li RDF:resource="rdf:#$RzRmN2"/>
</RDF:Seq>
<RDF:Description RDF:about="rdf:#$RzRmN2"
em:version="0.36">
<em:targetApplication RDF:resource="rdf:#$UzRmN2"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mozilla:extension:{39ffeed1-1b41-43bf-84a3-4059ad3ca152}"
em:signature="(McCoyのSign機能で更新される)">
<em:updates RDF:resource="rdf:#$QzRmN2"/>
</RDF:Description>
</RDF:RDF>「em:minVersion」「em:maxVersion」「em:version」をinstall.rdfファイルと同じ内容にする
サーバーに置いた拡張機能パッケージファイルのURLを「em:updateLink」へ
サーバーに置いた拡張機能パッケージファイルのハッシュ値を「em:updateHash」へ
install.rdfファイルのidと同じ内容を「urn:mozilla:extension:」の後ろへ
McCoyのSign機能を使って「em:signature」を更新 ※これはupdate.rdfファイルへの修正がある度にやらなければいけない