canmove, Confirmed users
2,056
edits
(link to the grammar reference and the topics page) |
(link to the grammar reference and the topics page) |
||
Line 65: | Line 65: | ||
When Firefox encounters a <code><link></code> tag whose <code>rel</code> attribute is set to <code>microsummary</code>, it loads the URL in the <code>href</code> attribute and uses its content as the microsummary for the page. If the content is plain text, Firefox uses it as-is. If the content is HTML, however, Firefox first converts it to plain text (Firefox supports only plain text microsummaries at this time). | When Firefox encounters a <code><link></code> tag whose <code>rel</code> attribute is set to <code>microsummary</code>, it loads the URL in the <code>href</code> attribute and uses its content as the microsummary for the page. If the content is plain text, Firefox uses it as-is. If the content is HTML, however, Firefox first converts it to plain text (Firefox supports only plain text microsummaries at this time). | ||
Note: if the content at the URL is a microsummary generator, Firefox will use the generator to extract the microsummary from the contents of the page itself, so you can write code to generate the microsummary on the client instead of the server. But generating microsummaries on the server-side is generally simpler and more efficient, so we recommend you take that approach. If you do want to write a client-side generator, however, see the [http://developer.mozilla.org/en/docs/Creating_a_Microsummary Creating a Microsummary tutorial]. | Note: if the content at the URL is a microsummary generator, Firefox will use the generator to extract the microsummary from the contents of the page itself, so you can write code to generate the microsummary on the client instead of the server. But generating microsummaries on the server-side is generally simpler and more efficient, so we recommend you take that approach. If you do want to write a client-side generator, however, see the [http://developer.mozilla.org/en/docs/Creating_a_Microsummary Creating a Microsummary tutorial] and the [http://developer.mozilla.org/en/docs/Microsummary_XML_grammar_reference Microsummary XML grammar reference]. | ||
Note the additional information available in [http://developer.mozilla.org/en/docs/Microsummary_topics Microsummary topics]. | |||
== Writing Microsummary Generator Add-ons == | == Writing Microsummary Generator Add-ons == |