MozillaZine

Contents.rdf

From MozillaZine Knowledge Base

(Difference between revisions)

Revision as of 23:46, 22 November 2004

Contents

Example contents.rdf files

For content

See Dev : Extensions : Overlays for more information. myext should be your extension's short name.

<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
  <RDF:Seq about="urn:mozilla:package:root">
    <RDF:li resource="urn:mozilla:package:myext"/>
  </RDF:Seq>

  <RDF:Description about="urn:mozilla:package:myext"
	chrome:name="myext"
	chrome:extension="true" />
<!-- for Mozilla Suite and old Firefox/Thunderbird versions:
	chrome:displayName="My Extension's Long Name"
	chrome:author="Me"
	chrome:authorURL="http://myext.com/"
	chrome:description="An example extension"
	chrome:settingsURL="chrome://myext/content/"
-->

  <RDF:Seq about="urn:mozilla:overlays">
    <RDF:li resource="chrome://browser/content/browser.xul"/>
  </RDF:Seq>

  <RDF:Seq about="chrome://browser/content/browser.xul">
    <RDF:li>chrome://myext/content/overlay.xul</RDF:li>
  </RDF:Seq>
</RDF:RDF>

For locales

For skin