Bugzilla – Bug 571
Describe the model expected of processors that would allow vCard, iCalendar, BibTeX, etc, extraction.
Last modified: 2009-05-27 14:53:28 CEST
Index: source =================================================================== --- source (revision 3106) +++ source (revision 3107) @@ -49653,6 +49653,40 @@ iterate over a series of elements (whether items, properties, or otherwise) must do so in <span>tree order</span>.</p> + <p>A generic API upon which the vocaulary-specific conversions + defined below (vCard, iCalendar, BibTeX) can be built will need to + provide the following information when given a <code>Document</code> + (or equivalent):</p> + + <ul> + + <li><span>The document's current address</span>.</li> + + <li>The <code>textContent</code> of <span>the <code>title</code> + element</span>, if any.</li> + + <li>The list of <span>top-level microdata items</span>.</li> + + <li>For each <span title="concept-item">item</span>, the list of + properties that have that <span title="concept-item">item</span> as + their <span title="concept-item-corresponding">corresponding + item</span>.</li> + + <li>For each property, its <span title="property + names">name</span>.</li> + + <li>For each property, its <span + title="concept-property-value">value</span> (which might be a + further <span title="concept-item">item</span>).</li> + + <li>For each property, if its <span + title="concept-property-value">value</span> is not itself an <span + title="concept-item">item</span>, whether the element is a + <code>time</code> element, a <span title="URL property + elements">URL property element</span>, or another element.</li> + + </ul> + <h4>JSON</h4>