Talk:Microsummaries

From MozillaWiki
Revision as of 01:59, 15 May 2006 by MykMelez (talk | contribs)
Jump to navigation Jump to search

Note: I would prefer for discussion about Microsummaries to happen in the [mozilla.dev.apps.firefox newsgroup], as I find this forum non-conducive to followable threaded discussion. -myk

Processing Instruction

It would be nice if an XML Processing Instruction was added as a way of associating a micro-summary with an XML resource. Furthermore, a content type for the format should be established.

<?micro-summary type="application/micro-summary+xml" href="/summary.xml"?>

The best part of using a processing instruction is that it works in all XML languages without breaking anything if the client application doesn't support the feature. Daniel Schierbeck 05:23, 20 Mar 2006 (PST)

RDF

What about using any published RDF (and not just RSS) as an input for microsummaries? For that matter, generic XML should also be supported as an input format, e.g. the MMOG EVE Online publishes character information as XML.


~Grauw

Update period

As suggested by stonedyak on MozillaZine forums, the spec should provide a way to dictate how often a microsummary is updated.

The interval could be dictated in seconds, minutes or whatever seems appropriate. This would give added flexibility for generator authors, but would make the microsummary service more efficient due to running fewer useless checks.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<generator xmlns="http://www.mozilla.org/microsummaries/0.1" name="Yahoo! Finance Stock Quote">
  <update interval="14400"/>
  <pages>
    <include/>
  </pages>
  <template>
    [...]
  </template>
</generator>

--Cusser 12:38, 14 May 2006 (PDT)