Search completed in 1.23 seconds.
itemid - HTML: Hypertext Markup Language
The
itemid global attribute provides microdata in the form of a unique, global identifier of an item. An
itemid attribute can only be specified for an element that has both itemscope and itemtype attributes. Also,
itemid can only be specified on elements that possess an itemscope attribute whose corresponding itemtype refers to or defines a vocabulary that supports global identifiers. The exact meaning of an itemtype's global identifier is provided by the definition of that identifier within the specified vocabulary. The vocabulary defines whether several items with the same global identifier can coexist and, if so, how items with the same identifier are handled. Note: The WHATWG definition specifies that an
itemid must be a URL. However, the following example correctly illustrates that a URN...
...l identifier can coexist and, if so, how items with the same identifier are handled. Note: The WHATWG definition specifies that an
itemid must be a URL. However, the following example correctly illustrates that a URN may also be used. This inconsistency may reflect the incomplete nature of the Microdata specification. Example HTML <dl itemscope itemtype="http://vocab.example.net/book"
itemid="urn:isbn:0-330-34032-8"> <dt>Title <dd itemprop="title">The Reality Dysfunction <dt>Author <dd itemprop="author">Peter F. ...
...f the Microdata specification. Example HTML <dl itemscope itemtype="http://vocab.example.net/book"
itemid="urn:isbn:0-330-34032-8"> <dt>Title <dd itemprop="title">The Reality Dysfunction <dt>Author <dd itemprop="author">Peter F. Hamilton <dt>Publication date <dd><time itemprop="pubdate" datetime="1996-01-26">26 January 1996</time> </dl> Structured data itemscope itemtype:
itemid http://vocab.example.net/book: urn:isbn:0-330-34032-8 itemprop title The Reality Dysfunction itemprop author Peter F. Hamilton itemprop pubdate 1996-01-26 Result Specifications Specification Status Comment HTML Living StandardThe definition of '
itemid' in that specification. Living Standard...
nsINavBookmarksService
ervice, use: var navBookmarksService = Components.classes["@mozilla.org/browser/nav-bookmarks-service;1"] .getService(Components.interfaces.nsINavBookmarksService); Method overview void addObserver(in nsINavBookmarkObserver observer, in boolean ownsWeak); void beginUpdateBatch(); Obsolete since Gecko 1.9 void changeBookmarkURI(in long long a
ItemId, in nsIURI aNewURI); long long createDynamicContainer(in long long aParentFolder, in AUTF8String aName, in AString aContractId, in long aIndex); Note: Renamed from createContainer in Gecko 1.9 Obsolete since Gecko 13.0 long long createFolder(in long long aParentFolder, in AUTF8String name, in long index); void endUpdateBatch(); Obsolete since Gecko 1.9 void exp...
... only! Obsolete since Gecko 1.9 void getBookmarkIdsForURI(in nsIURI aURI, [optional] out unsigned long count, [array, retval, size_is(count)] out long long bookmarks); Note: Renamed from getBookmarkFolders in Gecko 1.9 void getBookmarkIdsForURITArray(in nsIURI aURI, in PRInt64Array aResult); Native code only! ...
...okmarks); Note: Renamed from getBookmarkFolders in Gecko 1.9 void getBookmarkIdsForURITArray(in nsIURI aURI, in PRInt64Array aResult); Native code only! ...
...And 28 more matches
nsIAnnotationService
tion-service;1"] .getService(Components.interfaces.nsIAnnotationService); Note: The annotation service is not thread-safe. You should only use it from the main thread. ...
...aValue, in long aFlags, in unsigned short aExpiration); void setItemAnnotation(in long long a
ItemId, in AUTF8String aName, in nsIVariant aValue, in long aFlags, in unsigned short aExpiration); void setPageAnnotationString(in nsIURI aURI, in AUTF8String aName, in AString aValue, in long aFlags, in unsigned short aExpiration); boolean setItemAnnotationString(in long long a
ItemId, in AUTF8String aName, in AString aValue, in long aFlags, in unsigned short aExpiration); void setPageAnnotationInt32(in nsIURI aURI, in AUTF8String aName, in long aValue, in long aFlags, in unsigned short aExpiration); void setItemAnnotationInt32(in long long a
ItemId, in AUTF8String aName, in long aValue, in long aFlags, in unsigned short aExpiration); void setPageAnno...
...ong aValue, in long aFlags, in unsigned short aExpiration); void setItemAnnotationInt32(in long long a
ItemId, in AUTF8String aName, in long aValue, in long aFlags, in unsigned short aExpiration); void setPageAnnotationInt64(in nsIURI aURI, in AUTF8String aName, in long long aValue, in long aFlags, in unsigned short aExpiration); void setItemAnnotationInt64(in long long a
ItemId, in AUTF8String aName, in long long aValue, in long aFlags, in unsigned short aExpiration); void setPageAnnotationDouble(in nsIURI aURI, in AUTF8String aName, in double aValue, in long aFlags, in unsigned short aExpiration); void setItemAnnotationDouble(in long long a
ItemId, in AUTF8String aName, in double aValue, in long aFlags, in unsigned short aExpiration); void set...
...And 26 more matches
Using the Places annotation service
(aURI, aName, aValue, aFlags, aExpiration); setPageAnnotationInt32(aURI, aName, aValue, aFlags, aExpiration); setPageAnnotationInt64(aURI, aName, aValue, aFlags, aExpiration); setPageAnnotationDouble(aURI, aName, aValue, aFlags, aExpiration); setPageAnnotationBinary(aURI, aName, aData, aDataLen, aFlags, aExpiration); And likewise for items in the Places database: setItemAnnotationString(a
ItemId, aName, aValue, aFlags, aExpiration); setItemAnnotationInt32(a
ItemId, aName, aValue, aFlags, aExpiration); setItemAnnotationInt64(a
ItemId, aName, aValue, aFlags, aExpiration); setItemAnnotationDouble(a
ItemId, aName, aValue, aFlags, aExpiration); setItemAnnotationBinary(a
ItemId, aName, aValue, aDataLen, aFlags, aExpiration); From JavaScript there are two simple function to perform all of the...
... name: This is the name of the annotation. See the section on naming above. value: The value of the annotation. flags: Currently unused. Should be 0. ...
... name: This is the name of the annotation. See the section on naming above. value: The value of the annotation. flags: Currently unused. Should be 0. expiration: The expiration time for the annotation (see "Lifetime of annotations" below). var ioservice = Components.classes["@mozilla.org/net...
...And 15 more matches
Places Developer Guide
in "My Livemark Title", // The title of the livemark siteURI, // The URI of the site. A nsIURI object. feedURI, // The URI of the actual feed. A nsIURI object. bookmarks.DEFAULT_INDEX); // The position of the livemark in its parent folder. ...
...vemark siteURI, // The URI of the site. A nsIURI object. feedURI, // The URI of the actual feed. A nsIURI object. bookmarks.DEFAULT_INDEX); // The position of the livemark in its parent folder. ...
...eedURI, // The URI of the actual feed. A nsIURI object. bookmarks.DEFAULT_INDEX); // The position of the livemark in its parent folder. ...
...And 7 more matches
nsINavBookmarkObserver
toolkit/components/places/nsINavBookmarksService.idlScriptable This interface is an observer for bookmark changes. ...
... void onFolderChanged(in PRInt64 folder, in ACString property); Obsolete since Gecko 1.9 void onFolderMoved(in PRInt64 folder, in PRInt64 oldParent, in PRInt32 oldIndex, in PRInt64 newParent, in PRInt32 newIndex); Obsolete since Gecko 1.9 void onFolderRemoved(in PRInt64 folder, in PRInt64 parent, in PRInt32 index); Obsolete since Gecko 1.9 void onItemAdded(in long long a
ItemId, in long long aParentId, in long aIndex, in unsigned short aItemType, in nsIURI aURI, in AUTF8String aTitle, in PRTime aDateAdded, in ACString aGUID, in ACString aParentGUID); void onItemChanged(in long long a
ItemId, in ACString aProperty, in boolean aIsAnnotationProperty, in AUTF8String aNewValue, in PRTime aLastModified, in unsigned short aItemType, in long long aParentId, in ACString ...
... nsIURI aURI, in AUTF8String aTitle, in PRTime aDateAdded, in ACString aGUID, in ACString aParentGUID); void onItemChanged(in long long a
ItemId, in ACString aProperty, in boolean aIsAnnotationProperty, in AUTF8String aNewValue, in PRTime aLastModified, in unsigned short aItemType, in long long aParentId, in ACString aGUID, in ACString aParentGUID); void onItemMoved(in long long a
ItemId, in long long aOldParentId, in long aOldIndex, in long long aNewParentId, in long aNewIndex, in unsigned short aItemType, in ACString aGUID, in ACString aOldParentGUID, in ACString aNewParentGUID); void onItemRemoved(in long long a
ItemId, in long long aParentId, in long aIndex, in unsigned short aItemType, in nsIURI aURI, in ACString aGUID, in ACString aParentGUID); void onItem...
...And 7 more matches
Places utilities for JavaScript
int, boolean aShowPicker); boolean showMinimalAddMultiBookmarkUI(array nsIURI aURIList); boolean showBookmarkProperties(int aId); boolean showFolderProperties(int aId); boolean showAddFolderUI(string aTitle, int aDefaultInsertionPoint, boolean aShowPicker); array object getAnnotationsForURI(nsIURI aURI); array object getAnnotationsForItem(int a
ItemId); void setAnnotationsForURI(nsIURI aURI, object aAnnos); void setAnnotationsForURI(int a
ItemId, object aAnnos); getViewForNode(nsIDOMNode aNode); void markPageAsTyped(string aURL); void markPageAsFollowedBookmark(string aURL); boolean checkURLSecurity(nsINavHistoryResultNode aURINode); string getQueryStringForFolder(int aFolderId); ...
...curity(nsINavHistoryResultNode aURINode); string getQueryStringForFolder(int aFolderId); string getDescriptionFromDocument(nsIDOMDocument doc); string setPostDataForBookmark(int aBoomarkId, string aPostData); string getPostDataForBookmark(int aBoomarkId); array string getURLAndPostDataForKeyword(string aKeyword); string getItemDescription(int a
ItemId); nsINavHistoryResultNode getMostRecentBookmarkForURI(nsIURI aURI); nsINavHistoryResultNode getMostRecentFolderForFeedURI(nsIURI aURI); nsINavHistoryResultNode getURLsForContainerNode(nsINavHistoryResultNode aNode); void openContainerNodeInTabs(nsINavHistoryResultNode aNode, nsIDOMEvent aEvent); void openURINodesInTabs(array nsINavHistoryResultNode aNo...
...ect getAnnotationsForURI(aURI) Parameters aURI The URI for which annotations are to be retrieved. Return array of objects, each containing the following properties: name, flags, expires, mimeType, type, value getAnnotationsForItem() Fetch all annotations for an item, including all properties of each annotation which would be required to recreate it. array object getAnnotationsForItem(a
ItemId) Parameters a
ItemId The identifier of the itme for which annotations are to be retrieved. Return type Return Array of objects, each containing the following properties: name, flags, expires, mimeType, type, value setAnnotationsForURI() Annotate a URI with a batch of annotations. setAnnotationsForURI(nsIURI aURI, array object aAnnos) Parameters aURI The URI...
...And 2 more matches
Creating Event Targets - Archive of obsolete content
e to it, and run jpm init, accepting all the defaults. ...
...he following code: var {Cc, Ci} = require("chrome"); var { XPCOMUtils } = require("resource://gre/modules/XPCOMUtils.jsm"); var bookmarkService = Cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getService(Ci.nsINavBookmarksService); var bookmarkObserver = { onItemAdded: function(a
ItemId, aFolder, aIndex) { console.log("added ", bookmarkService.getBookmarkURI(a
ItemId).spec); }, onItemVisited: function(a
ItemId, aVisitID, time) { console.log("visited ", bookmarkService.getBookmarkURI(a
ItemId).spec); }, QueryInterface: XPCOMUtils.generateQI([Ci.nsINavBookmarkObserver]) }; exports.main = function() { bookmarkService.addObserver(bookmarkObserver, false); }; exports.onUnload = function() { bookmarkService.removeObserver(bookmarkObserver); } Try ...
...ed "bookmarks.js", and add the following code: var { emit, on, once, off } = require("sdk/event/core"); var {Cc, Ci} = require("chrome"); var { XPCOMUtils }= require("resource://gre/modules/XPCOMUtils.jsm"); var bookmarkService = Cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getService(Ci.nsINavBookmarksService); var bookmarkObserver = { onItemAdded: function(a
ItemId, aFolder, aIndex) { emit(exports, "added", bookmarkService.getBookmarkURI(a
ItemId).spec); }, onItemVisited: function(a
ItemId, aVisitID, time) { emit(exports, "visited", bookmarkService.getBookmarkURI(a
ItemId).spec); }, QueryInterface: XPCOMUtils.generateQI([Ci.nsINavBookmarkObserver]) }; bookmarkService.addObserver(bookmarkObserver, false); exports.on = on.bind(null, exports); e...
...dk/core/heritage"); var { merge } = require("sdk/util/object"); var {Cc, Ci} = require("chrome"); var { XPCOMUtils } = require("resource://gre/modules/XPCOMUtils.jsm"); var bookmarkService = Cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getService(Ci.nsINavBookmarksService); function createObserver(target) { var bookmarkObserver = { onItemAdded: function(a
ItemId, aFolder, aIndex) { emit(target, "added", bookmarkService.getBookmarkURI(a
ItemId).spec); }, onItemVisited: function(a
ItemId, aVisitID, time) { emit(target, "visited", bookmarkService.getBookmarkURI(a
ItemId).spec); }, QueryInterface: XPCOMUtils.generateQI([Ci.nsINavBookmarkObserver]) }; bookmarkService.addObserver(bookmarkObserver, false); } var BookmarkMan...
Bookmarks - Archive of obsolete content
an nsINavBookmarkObserver object and use the nsINavBookmarksService.addObserver() and nsINavBookmarksService.removeObserver() methods. Note that this example takes advantage of XPCOMUtils to generate the nsISupports.QueryInterface() method. ...
...arksService.addObserver() and nsINavBookmarksService.removeObserver() methods. Note that this example takes advantage of XPCOMUtils to generate the nsISupports.QueryInterface() method. ...
...rkListener = { onBeginUpdateBatch: function() {}, onEndUpdateBatch: function() {}, onItemAdded: function(a
ItemId, aFolder, aIndex) {}, onItemRemoved: function(a
ItemId, aFolder, aIndex) {}, onItemChanged: function(aBookmarkId, aProperty, aIsAnnotationProperty, aValue) { MyExtension.doSomething(); }, onItemVisited: function(aBookmarkId, aVisitID, time) {}, onItemMoved: function(a
ItemId, aOldParent, aOldIndex, aNewParent, aNewIndex) {}, QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsINavBookmarkObserver]) }; // An extension var MyExtension = { // This function is called when my add-on is loaded onLoad: function() { bmsvc.addObserver(myExt_bookmarkListener, false); }, // This function is called when my add-on is unloaded onUnLoad: function() { ...
JavaScript Client API - Archive of obsolete content
t be allowed to change and should be URL friendly). If not, you may have to invent your own mapping from data objects to GUIDs as long as it's consistent. In this case, it is highly recommended to use the Utils.makeGUID() helper to generate new GUIDs: let newGuid = Utils.makeGUID(); Your Store object must implement the following methods: itemExists(id) createRecord(id, collection) change
ItemID(oldId, newId) getAllIDs() wipe() create(record) update(record) remove(record) You may also find it useful to override other methods of the base implementation, for example applyIncomingBatch if the underlying storage for your data supports batch operations. createRecord The createRecord( id, collection ) method gets called by the engine to request a new record for an item with a giv...
...ports batch operations. createRecord The createRecord( id, collection ) method gets called by the engine to request a new record for an item with a given GUID. It's your Store's responsibility to instantiate a Record object, assign the given GUID, and return it. itemExists(guid) Should simply return true if an item with the given guid exists in the store, false otherwise. change
ItemID(oldId, newId) Must find the stored item currently associated with the guid oldId and change it to be associated with the guid newId. getAllIDs() Must return an iterable list containing the GUIDs of every item being stored on the local system. This can be a dictionary-type object where the keys are the GUIDs and the values are whatever; or it can simply be a list of GUIDs. This is the ...
.../ Return true if an item with given guid exists in the store. }, createRecord: function(id, collection) { record = new FooRecord(uri); // Look up the data corresponding to this guid, by the mapping // you've defined. // Set the data and the guid on the new record: record.bar = 17; // or whatever record.id = guid; // return the record return record; }, change
ItemID: function(oldId, newId) { // Find the item with guid = oldId and change its guid to newId. }, getAllIDs: function() { // Return a list of the GUIDs of all items. Invent GUIDs for any items // that don't have them already, and remember the mapping for later use. }, wipe: function() { // Delete everything! }, create: function(record) { // Create a new item based on ...
Manipulating bookmarks using Places
an nsINavBookmarkObserver object and use the nsINavBookmarksService.addObserver() and nsINavBookmarksService.removeObserver() methods. Note that this example takes advantage of XPCOMUtils to generate the nsISupports.QueryInterface() method. ...
...arksService.addObserver() and nsINavBookmarksService.removeObserver() methods. Note that this example takes advantage of XPCOMUtils to generate the nsISupports.QueryInterface() method. ...
...rkListener = { onBeginUpdateBatch: function() {}, onEndUpdateBatch: function() {}, onItemAdded: function(a
ItemId, aFolder, aIndex) {}, onItemRemoved: function(a
ItemId, aFolder, aIndex) {}, onItemChanged: function(aBookmarkId, aProperty, aIsAnnotationProperty, aValue) { MyExtension.doSomething(); }, onItemVisited: function(aBookmarkId, aVisitID, time) {}, onItemMoved: function(a
ItemId, aOldParent, aOldIndex, aNewParent, aNewIndex) {}, QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsINavBookmarkObserver]) }; // An extension var MyExtension = { // This function is called when my add-on is loaded onLoad: function() { bmsvc.addObserver(myExt_bookmarkListener, false); }, // This function is called when my add-on is unloaded onUnLoad: function() { ...
nsIAnnotationObserver
toolkit/components/places/public/nsIAnnotationService.idlScriptable Please add a summary to this article. 1.0 66 Introduced Gecko 1.8 Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3) Method overview void onItemAnnotationRemoved(in long long a
ItemId, in AUTF8String aName); void onItemAnnotationSet(in long long a
ItemId, in AUTF8String aName); void onPageAnnotationRemoved(in nsIURI aURI, in AUTF8String aName); void onPageAnnotationSet(in nsIURI aPage, in AUTF8String aName); Methods onItemAnnotationRemoved() This method is called when an annotation is deleted for an item. If aName is empty, then ALL annotations for the given item have been deleted. This is not called when annotations are expired (normally happens when the applicatio...
...ing aName); void onPageAnnotationSet(in nsIURI aPage, in AUTF8String aName); Methods onItemAnnotationRemoved() This method is called when an annotation is deleted for an item. If aName is empty, then ALL annotations for the given item have been deleted. This is not called when annotations are expired (normally happens when the application exits). ...
... aPage, in AUTF8String aName); Methods onItemAnnotationRemoved() This method is called when an annotation is deleted for an item. If aName is empty, then ALL annotations for the given item have been deleted. This is not called when annotations are expired (normally happens when the application exits). void onItemAnnotationRemoved( in long long a
ItemId, in AUTF8String aName ); Parameters a
ItemId The item whose annotation is to be deleted. aName The annotation name. onItemAnnotationSet() This method is called when an annotation value is set for an item. It could be a new annotation, or it could be a new value for an existing annotation. void onItemAnnotationSet( in long long a
ItemId, in AUTF8String aName ); Parameters a
ItemId The item on which the annotation is to be set. aName The...
nsIDynamicContainer
from: nsISupports Last changed in Gecko 1.9 (Firefox 3) The service can fill result nodes directly into the container when it is opened. It can use the property bag on every result node to store data associated with each item, such as a full path on disk. It can also create additional containers for each container, registered to its service. ...
...tainers for each container, registered to its service. Method overview void onContainerMoved(in long long a
ItemId, in long long aNewParent, in long aNewIndex); void onContainerNodeClosed(in nsINavHistoryContainerResultNode aContainer); void onContainerNodeOpening(in nsINavHistoryContainerResultNode aContainer, in nsINavHistoryQueryOptions aOptions); void onContainerRemoving(in long long a
ItemId); Methods onContainerMoved() This method is called when the given container has just been moved, in case the service needs to do any bookkeeping. It is called after the container has been moved. void onContainerMoved( in long long a
ItemId, in long long aNewParent, in long aNewIndex ); Parameters a
ItemId The item-id of the container item. aNewParent The item of the new parent folder for...
...se this when possible if adding query and folder nodes to the container. Do not modify this value. onContainerRemoving() This method is called when the given container is about to be deleted from the bookmarks table, so that the service can do any necessary cleanup. It is called before the container is deleted, so that the service can still reference it. void onContainerRemoving( in long long a
ItemId ); Parameters a
ItemId The item-id of the container item. See also Places nsINavHistoryContainerResultNode nsINavHistoryQueryOptions nsINavBookmarksService.createDynamicContainer() ...
Global attributes - HTML: Hypertext Markup Language
configuration to use when editing this element or its contents. Used primarily on <input> elements, but is usable on any element while in contenteditable mode. is Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see Using custom elements for more details). Note: The item* attributes are part of the WHATWG HTML Microdata feature. ...
... itemscope itemscope (usually) works along with itemtype to specify that the HTML contained in a block is about a particular item. itemscope creates the Item and defines the scope of the itemtype associated with it. itemtype is a valid URL of a vocabulary (such as schema.org) that describes the item and its properties context. ...
... Specification Status Comment HTML Living StandardThe definition of 'Global attributes' in that specification. Living Standard Shadow Parts Working Draft Added the part and exportparts global attributes. HTML 5.2The definition of 'Global attributes' in that specification. Recommendation Snapshot of HTML Living Standard. From HTML 5.1,
itemid, itemprop, itemref, itemscope, and itemtype have been added. HTML 5.1The definition of 'Global attributes' in that specification. Recommendation Snapshot of HTML Living Standard. From HTML5, contextmenu, draggable, dropzone, and spellcheck have been added. HTML5The definition of 'Global attributes' in that specification. Recommendation Snapshot of HTML Living Standar...
nsINavHistoryContainerResultNode
lt on the Places service that describes a container (which is any kind of grouping, including bookmark folders). 1.0 66 Introduced Gecko 1.9 Inherits from: nsINavHistoryResultNode Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) Method overview nsINavHistoryResultNode findNodeByDetails(in AUTF8String aURIString, in PRTime aTime, in long long a
ItemId, in boolean aRecursive); nsINavHistoryResultNode getChild(in unsigned long aIndex); unsigned long getChildIndex(in nsINavHistoryResultNode aNode); Attributes Attribute Type Description childCount unsigned long The number of child nodes; accessing this throws an NS_ERROR_NOT_AVAILABLE exception of containerOpen is false. Read only. childrenReadOnly boolean false if the node's list o...
...escription STATE_CLOSED 0 The container is closed. STATE_LOADING 1 The container has been opened asynchronously, but is still loading and is not all the way opened yet. STATE_OPENED 2 The container is open. Methods findNodeByDetails() Returns a node matching specified details. nsINavHistoryResultNode findNodeByDetails( in AUTF8String aURIString, in PRTime aTime, in long long a
ItemId, in boolean recursive ); Parameters aURIString The URI attribute value to match on. aTime The time attribute to match on. a
ItemId The item ID to match on. aRecursive If true, the search will recurse through all child containers of the current container; if false, only direct children of the container are searched. Return value An nsINavHistoryResultNode of a node matching the specified detai...
HTMLElement - Web APIs
TMLElement.innerText Represents the "rendered" text content of a node and its descendants. As a getter, it approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied it to the clipboard. HTMLElement.itemScope Is a Boolean representing the item scope. HTMLElement.itemType Read only Returns a DOMSettableTokenList... HTMLElement.
itemId Is a DOMString representing the item ID. HTMLElement.itemRef Read only Returns a DOMSettableTokenList... HTMLElement.itemProp Read only Returns a DOMSettableTokenList... HTMLElement.itemValue Returns a Object representing the item value. HTMLElement.lang Is a DOMString representing the language of an element's attributes, text, and element contents. HTMLElement.noModule Is a Bo...
...mment CSS Object Model (CSSOM) View ModuleThe definition of 'HTMLElement' in that specification. Working Draft Added the following properties: offsetParent, offsetTop, offsetLeft, offsetWidth, and offsetHeight. HTML Living StandardThe definition of 'HTMLElement' in that specification. Living Standard Added the following properties: translate, itemScope, itemType,
itemId, itemRef, itemProp, properties, and itemValue. Added the following method: forceSpellcheck(). Moved the onXYZ attributes to the GlobalEventHandlers interface and added an inheritance from it. HTML5The definition of 'HTMLElement' in that specification. Recommendation Added the following properties: dataset, hidden, tabindex, accessKey, accessKeyLabel, draggable, dropzone, co...
Microdata - HTML: Hypertext Markup Language
roduct data) and provides its own format for the definition of the terms and encyclopedic articles. This extension was made to solve transliteration problems between the Cyrillic and Latin alphabets. Due to the implementation of additional marking parameters of Schema's vocabulary, the indexation of information in Russian-language web-pages became considerably more successful. ...
... itemscope - Itemscope (usually) works along with itemtype to specify that the HTML contained in a block is about a particular item. itemscope creates the Item and defines the scope of the itemtype associated with it. itemtype is a valid URL of a vocabulary (such as schema.org) that describes the item and its properties context. ...
Displaying Places information using views
HistoryResultNode property title title url uri date time visitCount accessCount keyword * description * dateAdded dateAdded lastModified lastModified tags tags ** icon *keyword and description are looked up in the Places database using the nsINavHistoryResultNode property
itemId. **The title column (and only the title column) automatically receives the favicon referenced by the nsINavHistoryResultNode property icon. You may specify as few or as many of these magic columns as you want, and your tree may of course contain other columns as well. In lieu of setting an id on a treecol, you may specify an anonid attribute. This is useful when you need the id for another pur...
Querying Places
= node.QueryInterface(Ci.nsINavHistoryQueryResultNode); dump("Query, place URI = " + query.uri + "\n"); break; case node.RESULT_TYPE_FOLDER: // Note that folder nodes are of type nsINavHistoryContainerResultNode by default, but // can be QI'd to nsINavHistoryQueryResultNode to access the query and options that // created it. dump("Folder " + node.title + " id = " + node.
itemId + "\n"); break; case node.RESULT_TYPE_SEPARATOR: dump("-----------\n"); break; } The result view interface If you are mapping a result into UI, you can implement the nsINavHistoryResultViewer interface and attach it to the result with the nsINavHistoryResult.viewer attribute. This viewer will be called when the result tree changes, either as a result of user action or as a result...
nsINavHistoryQueryResultNode
nderbird 3.3 / SeaMonkey 2.1) Note: If you request that places not be expanded in the options that generated the node, the node will report that it has no children and will never try to populate itself. Method overview void getQueries([optional] out unsigned long queryCount, [retval,array,size_is(queryCount)] out nsINavHistoryQuery queries); Attributes Attribute Type Description folder
ItemId long long For both simple folder nodes and simple-folder-query nodes, this is set to the concrete
itemId of the folder. Otherwise, this is set to -1. Read only. queryOptions nsINavHistoryQueryOptions The options that group the node's children; only valid for RESULT_TYPE_QUERY nodes. Read only. Methods getQueries() Returns the queries that build the node's children; only valid for RESULT_TYP...
nsINavHistoryResultNode
in chrome, this will be the original chrome URI of the icon. Read only. Note: Prior to Gecko 1.9.2, this was an nsIURI. indentLevel long This is the number of levels between this node and the top of the hierarchy. The members of result.children have an indentLevel value of zero, their children have an indentLevel of 1, and so forth. The indent level of the root node is set to -1. Read only.
itemId long long If the node is an item (bookmark, folder, or separator), this value is the row ID of that bookmark in the database. For other nodes, this value is set to -1. Read only. lastModified PRTime If the node is an item (bookmark, folder, or separator), this value is the time at which the item was last modified. For other nodes, this value is 0. Note: When an item is added lastModified is se...
itemprop - HTML: Hypertext Markup Language
<p itemprop="a">1</p> <p itemprop="a">2</p> </div> As is the following <div itemscope> <p itemprop="a">1</p> <p itemprop="b">test</p> <p itemprop="a">2</p> </div> And the following <div id="x"> <p itemprop="a">1</p> </div> <div itemscope itemref="x"> <p itemprop="b">test</p> <p itemprop="a">2</p> </div> Other examples HTML <dl itemscope itemtype="http://vocab.example.net/book"
itemid="urn:isbn:0-330-34032-8"> <dt>Title <dd itemprop="title">The Reality Dysfunction <dt>Author <dd itemprop="author">Peter F. Hamilton <dt>Publication date <dd><time itemprop="pubdate" datetime="1996-01-26">26 January 1996</time> </dl> Structured data itemscope itemtype:
itemid http://vocab.example.net/book: urn:isbn:0-330-34032-8 itemprop title...
itemref - HTML: Hypertext Markup Language
Note: the itemref attribute is not part of the microdata data model. It is merely a syntactic construct to aid authors in adding annotations to pages where the data to be annotated does not follow a convenient tree structure. ...
itemtype - HTML: Hypertext Markup Language
case-sensitive, each is a valid and absolute URL, and all defined to use the same vocabulary. The attribute's value must have at least one token. The item types must all be types defined in applicable specifications (such as schema.org), and must all be defined to use the same vocabulary. The itemtype attribute can only be specified on elements which have an itemscope attribute specified. The
itemid attribute can only be specified on elements which have both an itemscope attribute and an itemtype attribute specified. They must only be specified on elements with an itemscope attribute, whose itemtype attribute specifies a vocabulary not supporting global identifiers for items, as defined by that vocabulary's specification. The exact meaning of a global identifier is determined by the vocabul...
HTML documentation index - HTML: Hypertext Markup Language
attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. 20 is Global attributes, HTML, Reference, is The is global attribute allows you to specify that a standard HTML element should behave like a defined custom built-in element (see Using custom elements for more details). 21
itemid Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference,
itemid The
itemid global attribute provides microdata in the form of a unique, global identifier of an item. 22 itemprop Attribute, Global attribute, HTML, HTML Microdata, Microdata, Reference The itemprop global attribute is used to add properties to an item. Every HTML element can have an ite...