All Projects → hubgit → jquery-microdata

hubgit / jquery-microdata

Licence: MIT License
jQuery plugin for HTML Microdata

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jquery-microdata

node-htmlmetaparser
A `htmlparser2` handler for parsing rich metadata from HTML. Includes HTML metadata, JSON-LD, RDFa, microdata, OEmbed, Twitter cards and AppLinks.
Stars: ✭ 44 (+238.46%)
Mutual labels:  microdata
busy-load
A flexible loading-mask jQuery-plugin
Stars: ✭ 76 (+484.62%)
Mutual labels:  jquery-plugin
tabullet
Simple jQuery plugins for creating a table that can insert, edit, and delete row in one place.
Stars: ✭ 13 (+0%)
Mutual labels:  jquery-plugin
ml-stack-nav
Customizable, responsive, accessible, easy-to-use multi-level stack navigation menu with slide effect.
Stars: ✭ 20 (+53.85%)
Mutual labels:  jquery-plugin
biz-ui
jQuery Plugin Collections for Business
Stars: ✭ 24 (+84.62%)
Mutual labels:  jquery-plugin
jquery-svg
A jQuery plugin to apply css styles and js scripts to a SVG which is embedded (using the <object> tag).
Stars: ✭ 28 (+115.38%)
Mutual labels:  jquery-plugin
intl-tel-input-rails
intl-tel-input for the Rails asset pipeline
Stars: ✭ 35 (+169.23%)
Mutual labels:  jquery-plugin
jquery.skeleton.loader
A jQuery plugin to make screen skeleton loader.
Stars: ✭ 65 (+400%)
Mutual labels:  jquery-plugin
decoy
jQuery plugin to make decoys for your elements.
Stars: ✭ 53 (+307.69%)
Mutual labels:  jquery-plugin
jquery-load-json
jQuery plugin that enables developers to load JSON data from the server and load JSON object into the DOM
Stars: ✭ 26 (+100%)
Mutual labels:  jquery-plugin
econ data
Python 3 examples of using economic data APIs and working with economic microdata. Includes bd CPS.
Stars: ✭ 31 (+138.46%)
Mutual labels:  microdata
jqIpLocation
jqIpLocation – jQuery Plugin that returns the location of an IP address in JSON format
Stars: ✭ 18 (+38.46%)
Mutual labels:  jquery-plugin
hierarchy-select
Hierarchy Select jQuery Plugin for Twitter Bootstrap
Stars: ✭ 40 (+207.69%)
Mutual labels:  jquery-plugin
web
realness.online
Stars: ✭ 15 (+15.38%)
Mutual labels:  microdata
dom-navigator
⚓️ JS library that allow keyboard navigation through DOM elements (←↑→↓).
Stars: ✭ 36 (+176.92%)
Mutual labels:  jquery-plugin
php-schema.org-mapping
A fluent interface to create mappings using Schema.org for Microdata and JSON-LD.
Stars: ✭ 31 (+138.46%)
Mutual labels:  microdata
cascading-dropdown
Cascading form drop-down menus
Stars: ✭ 43 (+230.77%)
Mutual labels:  jquery-plugin
jquery-asColorPicker
ColorInput is a jQuery plugin used to show color picker for a input field.
Stars: ✭ 18 (+38.46%)
Mutual labels:  jquery-plugin
bootstrap-dropselect
A simple jQuery plugin that extends bootstrap's dropdown menu into something like github's select menu.
Stars: ✭ 77 (+492.31%)
Mutual labels:  jquery-plugin
jsontree
jQuery plugin for JSON visualization
Stars: ✭ 14 (+7.69%)
Mutual labels:  jquery-plugin

jQuery Microdata

Extract and manipulate objects stored in HTML Microdata.

Demonstration

Get all items of a certain type

$(node).items(itemtype)

$('#albumlist').items('http://schema.org/MusicAlbum')

Get the property nodes of an item

item.property(property) => a set of jQuery nodes

$(node).property('name') => [ node ]

$(node).property('byArtist').eq(0).property('album') => [ node, node ]

Get the value of a property

property.value() => the itemValue of the node(s)

$(node).property('name').value() => string

$(node).property('byArtist').eq(0).property('name').value() => string

Get the values of a property as an array

property.values() => array of the itemValues of the nodes

$(node).property('name').values() => [ string, string ]

Set a property

item.property(property).value(value)

$(node).property('name').value('Yellow Submarine')

Set one of multiple properties with the same name

item.property(property).eq(index).value(value)

$(node).property('name').eq(1).value('Yellow Submarine')

jQuery Things

The plugin also provides a convenience method for working with items ("things") where there is only a single instance of each property. This is analogous to jQuery's data method.

Get a property of an item

item.microdata(key)

$(node).microdata('name');

Set a property of an item

item.microdata(key, value)

$(node).microdata('name', 'The Beatles');

Set multiple properties of an item

item.microdata({ key: value })

$(node).microdata({
    name: 'The Beatles',
    url: 'https://en.wikipedia.org/wiki/The_Beatles'
});

Get all properties of a single item or a collection of matched items

collection.microdata()

$(node).microdata()

$('#albumlist').items('http://schema.org/MusicAlbum').microdata()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].