Search completed in 0.93 seconds.
contents.rdf - Archive of obsolete content
copy the following text and paste it into a text file, then save that file as "
contents.rdf": <?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#"> <!-- list all the skins being supplied by this theme --> <rdf:seq about="urn:mozilla:skin:root"> <rdf:li resource="urn:mozilla:skin:myskin/1.0" /> </rdf:seq> <rdf:description about="urn:mozilla:skin:myskin/1.0" chrome:displayname="my skin" chrome:accesskey="m" chrome:author="me" chrome:description="this is my custom skin for mozilla" chrome:name="myskin/1.0" chrome:image="preview.png"> <chrome:packages> <rdf:seq about="urn:mozilla:skin:myskin/1.0:packages"> <rdf:li resource="urn:mozi...
contents.rdf - Archive of obsolete content
copy the following text and paste it into a text file, then save that file as "
contents.rdf": <?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#"> <!-- list all the skins being supplied by this theme --> <rdf:seq about="urn:mozilla:skin:root"> <rdf:li resource="urn:mozilla:skin:my_theme"/> </rdf:seq> <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"> <chrome:packages> <rdf:seq about="urn:mozilla:skin:my_theme:packages"> <rdf:li resource="urn:mozilla:skin:my_theme:bro...
Creating XPI Installer Modules - Archive of obsolete content
resources are collected in jar archives whose contents are specified in
contents.rdf files at their own top level.
... the
contents.rdf file explains the structure and contents of the archive to mozilla's chrome registry; as long as the explanation is accurate, the contents can be arranged in almost any way you want.
...where before a single manifest.rdf file described the resources in an entire package directory or archive, now
contents.rdf files can be used for as large or as small a part of your package description as you want; you can use several
contents.rdf files in your package to describe the various parts (e.g., one for the skin of your package, another for the content, and so on), or you can use a single one, as was common before.
...And 10 more matches
Manifest Files - Archive of obsolete content
create a file called
contents.rdf and place it in this directory.
... copy the text in the box below into the new
contents.rdf file.
... save the
contents.rdf and make sure it is in the directory you created in step 1.
...And 4 more matches
SeaMonkey - making custom toolbar (SM ver. 1.x) - Archive of obsolete content
create a plain text file named
contents.rdf.
...change
contents.rdf, replacing each occurrence of button.xul with the name of one of your new xul files.
... after changing
contents.rdf, delete the files chrome.rdf and overlays.rdf so that seamonkey registers the change the next time it starts.
...And 2 more matches
Cross Package Overlays - Archive of obsolete content
applying overlays to other packages note: this section talks about
contents.rdf which has been replaced in gecko 1.8 by manifest files.
...you specify this by modifying the
contents.rdf file for your package.
...mozilla allows you to add a list of overlays to the
contents.rdf file that you use to list chrome packages, skins and locales.
...And 2 more matches
Index - Archive of obsolete content
after that we'll create a
contents.rdf file describing the tinderstatus component for the chrome registry and an install.js script to perform the installation.
...this is the number that is defined in
contents.rdf.
... 406
contents.rdf add-ons, themes no summary!
... 3785
contents.rdf add-ons, themes copy the following text and paste it into a text file, then save that file as "
contents.rdf": 3786 install.rdf add-ons, themes copy the following text and paste it into a text file, then save that file as "install.rdf": 3787 making sure your theme works with rtl locales add-ons, right-to-left, themes some languages are written fr...
Getting Started - Archive of obsolete content
make a copy of
contents.rdf and place it in \myskin and open it up in your text editor.
...<rdf:li resource="urn:mozilla:skin:myskin/1.0:communicator"/> <rdf:li resource="urn:mozilla:skin:myskin/1.0:editor"/> <rdf:li resource="urn:mozilla:skin:myskin/1.0:global"/> <rdf:li resource="urn:mozilla:skin:myskin/1.0:messenger"/> <rdf:li resource="urn:mozilla:skin:myskin/1.0:navigator"/> finally, in the last section of the
contents.rdf file we need to tell mozilla what version this skin is compliant with.
...the jar file in the \myskin directory, you should now have the 5 sub-directories along with the
contents.rdf and preview.png files.
...once the zip is created, rename it to myskin.jar contents of myskin.jar
contents.rdf preview.png \navigator\...
Making it into a dynamic overlay and packaging it up for distribution - Archive of obsolete content
after that we'll create a
contents.rdf file describing the tinderstatus component for the chrome registry and an install.js script to perform the installation.
... list-style-image: url("chrome://tinderstatus/content/tb-success.png"); } statusbarpanel#tinderbox-status[status="testfailed"] { list-style-image: url("chrome://tinderstatus/content/tb-testfailed.png"); } statusbarpanel#tinderbox-status[status="busted"] { list-style-image: url("chrome://tinderstatus/content/tb-busted.png"); } then we need to create two files in the directory, one called
contents.rdf which contains information for the chrome registry about the component being installed and one called install.js that contains the code to install the component.
...
contents.rdf goes in the content sub-subdirectory: <?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:tinderstatus"/> </rdf:seq> <rdf:description about="urn:mozilla:package:tinderstatus" chrome:displayname="mozilla tinderstatus extension" chrome:author="myk melez" chrome:name="tinderstatus" chrome:extension="true" chrome:description="displays tinderbox status for the mozilla codebase."> </rdf:description> <rdf:seq about="urn:mozilla:overlays"> <rdf:li resource="chrome://navigator/content/navigator.xul"/> </rdf:seq> <rdf:seq about="chrome://navigator/content/navigator.xul"> <rdf:li>chro...
Creating toolbar buttons (Customize Toolbar Window) - Archive of obsolete content
to include the style on your chrome.manifest file: style chrome://global/content/customizetoolbar.xul chrome://myextension/skin/toolbar-button.css if you are developing for firefox 1.0, attach it to the customize toolbar window (chrome://global/content/customizetoolbar.xul) using skin/
contents.rdf.
...es> <seq about="urn:mozilla:skin:classic/1.0:packages"> <li resource="urn:mozilla:skin:classic/1.0:myextension"/> </seq> </chrome:packages> </description> <seq about="urn:mozilla:stylesheets"> <li resource="chrome://global/content/customizetoolbar.xul"/> </seq> <seq about="chrome://global/content/customizetoolbar.xul"> <li>chrome://myextension/skin/toolbar-button.css</li> </seq> </rdf> the skin/
contents.rdf file is denigrated in developing for later releases of firefox.
... solution: check to be sure your stylesheet is correct, make sure your
contents.rdf (or chrome.manifest) is correct, and be sure you didn't forget to apply the stylesheet to customizetoolbar.xul.
Complete - Archive of obsolete content
the file
contents.rdf contains registration data used by seamonkey.
...the file
contents.rdf contains registration data used by seamonkey.
...seamonkey uses: content/allcustom/seamonkey/allcustom.xul this file is specified in content/allcustom/
contents.rdf, which only seamonkey uses.
Chrome registration
this is very helpful when trying to write a chrome.manifest file as you can inspect where the files are being mapped from (jar files, local directory, etc.) old-style
contents.rdf manifests before the plaintext manifests were introduced (which happened in firefox 1.5, toolkit 1.8), rdf manifests named "
contents.rdf" were used to register chrome.
... this format is deprecated; however, seamonkey versions before version 2 do not support the plaintext manifest format yet, so
contents.rdf manifests are required for extensions that wish to maintain backwards compatibility with firefox 1.0 or the suite.
... gecko 1.9.2 note the
contents.rdf manifest format is no longer supported at all starting with gecko 1.9.2; add-ons already installed using this format will continue to work but can no longer be installed.
Install Manifests - Archive of obsolete content
this object has a package property (with a path within the jar file or directory that leads to the location where the
contents.rdf file responsible for registering that package is located), a locale property (ditto, but to register the locale) and a skin property (ditto, but to register the theme material).
...if there is no chrome.manifest, this property is still read by the add-on manager and a chrome.manifest is generated from old-style
contents.rdf.
Index of archived content - Archive of obsolete content
on making it into a static overlay prerequisites specifying the appearance tinderbox creating a release tag creating a skin for firefox/getting started creating a skin for mozilla faq getting started in-depth links
contents.rdf toolbarbindings.xml creating a skin for seamonkey 2.x getting started chrome.manifest install.rdf creating a hybrid cd creating regular expressions for a microsummary generator dtrace dehydra deh...
... solaris 10 build prerequisites sunbird theme tutorial table reflow internals tamarin tracing build documentation the basics of web services themes building a theme common firefox theme issues and solutions creating a skin for firefox uuid
contents.rdf install.rdf making sure your theme works with rtl locales theme changes in firefox 2 theme changes in firefox 3 theme changes in firefox 3.5 theme changes in firefox 4 updating an extension to support multiple mozilla applications using firebug and jquery (screencast) us...
Creating a Skin for Firefox/Getting Started - Archive of obsolete content
(yes, this means that the structure of your new directory and classic.jar will be slightly different.) creating the install files
contents.rdf make a copy of
contents.rdf, place it in \my_theme and open it up in your text editor.
... repackaging jar now all you need to do is repackage a jar file with the following directory structure, using your favorite archive manager to create a zip archive: /browser/* /communicator/* /global/* /help/* /mozapps/* /
contents.rdf /install.rdf /icon.png /preview.png make sure not to just zip up the my_theme parent directory since that will cause the drag and drop install in the next section to fail without error messages.
registerChrome - Archive of obsolete content
xpipath xpipath is the path within the xpi in where the
contents.rdf file defining the chrome is located.
...in this case, registerchrome does not require a path inside the archive, as it does now in order to locate the more flexible
contents.rdf format of installation archives.
Creating an Installer - Archive of obsolete content
our find files example for the find files dialog, we'll create a structure in the archive much like the following: install.js findfile content
contents.rdf findfile.xul findfile.js skin
contents.rdf findfile.css locale
contents.rdf findfile.dtd a directory has been added for each part of the package, the content, the skin and the locale.
... the
contents.rdf files have also been added because they will be needed to register the chrome files.
Learn XPI Installer Scripting by Example - Archive of obsolete content
orm of the registerchrome function (it can also be used to support the now-deprecatedmanifest.rdf style of installation archive), the three parameters represent, in order, the chrome switch used to indicate what kind of software is being registered, the target destination of the software (e.g., the "chrome" folder in the example above), and the path within the xpi (or jar theme archive) where the
contents.rdf file is located.
ant script to assemble an extension - Archive of obsolete content
ude name="**/*"/> <exclude name="**/*~"/> <exclude name="**/*.tpl.*"/> <exclude name="blogmark.jar"/> </fileset> </jar> </target> <target name="templates" description="generate files from templates."> <copy file="chrome/content/blogmark/
contents.rdf.tpl.xml" tofile="chrome/content/blogmark/
contents.rdf" overwrite="true"> <filterchain> <replacetokens> <token key="version" value="${version}"/> <token key="description" value="${description}"/> ...
Themes - Archive of obsolete content
building a themecommon firefox theme issues and solutionscreating a skin for firefoxuuid
contents.rdfinstall.rdfmaking sure your theme works with rtl localestheme changes in firefox 2theme changes in firefox 3theme changes in firefox 3.5theme changes in firefox 4 ...
Obsolete
creating a skin for firefox uuid
contents.rdf install.rdf theme changes in firefox 2 theme changes in firefox 3 theme changes in firefox 3.5 theme changes in firefox 4 building a theme common theme issues and their solutions making sure your theme works with rtl locales creating a skin for seamonkey 2 dom inspector inspectorwidget force rtl yet another theme tutorial ...