content element
Description
The <content> element is used to define a custom start file for the extension. The following attributes are associated with it.
src: Points to a file within the extension package which is supposed to be the start fileencoding: Character encoding of the file identified by thesrcattribute
Example
<widget xmlns="http://www.w3.org/ns/widgets">
<content src="index.xml"
encoding="utf-8"
type="application/xhtml+xml"/>
</widget>About this article
| Published in | Dev.Opera |
|---|---|
| Date | December 6, 2011 |
| Author | Opera Software |
| Tags | config.xml, extensions API |
| Original | Internet Archive |