mozilla

Revision 125011 of Templates in Firefox 3

  • Revision slug: Templates_in_Firefox_3
  • Revision title: Templates in Firefox 3
  • Revision id: 125011
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment new page, needs content

Revision Content

{{template.Fx_minversion_header(3)}} {{template.Draft()}}

Templates have been significantly improved in Firefox 3. The key improvement allows the use of custom query processors to handle other types of datasources besides RDF. A new query syntax makes this possible. Support for XML sources is also provided. A full description of the new features available for templates {{mediawiki.interwiki('wikimo', 'XUL:Template_Features_in_1.9', 'is available')}}. ({{template.Bug(285631)}})

Other template improvements

  • relational conditions have been added to allow for more precise control over what results match a rule. This allows, for example, matching of results that start or end with certain strings, or that are before or after other values.
  • a flag 'dont-recurse' has been added to prevent recursion for happening such that only one level of results are generated
  • APIs have been added to the template builder to retrieve a result object representing an output item.
  • the XUL sort service is more robust and sorts both content and non-content trees better. It also allows sorting of non-template built content. ({{template.Bug(335122)}})

See also

Revision Source

<p>{{template.Fx_minversion_header(3)}}
{{template.Draft()}}
</p><p>Templates have been significantly improved in Firefox 3. The key improvement allows the use of custom query processors to handle other types of datasources besides RDF. A new query syntax makes this possible. Support for XML sources is also provided. A full description of the new features available for templates {{mediawiki.interwiki('wikimo', 'XUL:Template_Features_in_1.9', 'is available')}}. ({{template.Bug(285631)}})
</p>
<h3 name="Other_template_improvements">Other template improvements</h3>
<ul><li>relational conditions have been added to allow for more precise control over what results match a rule. This allows, for example, matching of results that start or end with certain strings, or that are before or after other values.
</li><li>a flag 'dont-recurse' has been added to prevent recursion for happening such that only one level of results are generated
</li><li>APIs have been added to the template builder to retrieve a result object representing an output item.
</li><li>the XUL sort service is more robust and sorts both content and non-content trees better. It also allows sorting of non-template built content. ({{template.Bug(335122)}})
</li></ul>
<h3 name="See_also">See also</h3>
<ul><li><a href="en/Firefox_3_for_developers">Firefox 3 for developers</a>
</li></ul>
Revert to this revision