diff options
Diffstat (limited to 'toolkit/components/microformats/test/lib/maps/h-feed.js')
-rw-r--r-- | toolkit/components/microformats/test/lib/maps/h-feed.js | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/toolkit/components/microformats/test/lib/maps/h-feed.js b/toolkit/components/microformats/test/lib/maps/h-feed.js new file mode 100644 index 000000000..f68022856 --- /dev/null +++ b/toolkit/components/microformats/test/lib/maps/h-feed.js @@ -0,0 +1,36 @@ +/* + Copyright (C) 2010 - 2015 Glenn Jones. All Rights Reserved. + MIT License: https://raw.github.com/glennjones/microformat-shiv/master/license.txt +*/ + +var Modules = (function (modules) { + + modules.maps = (modules.maps)? modules.maps : {}; + + modules.maps['h-feed'] = { + root: 'hfeed', + name: 'h-feed', + properties: { + 'category': { + 'map': 'p-category', + 'relAlt': ['tag'] + }, + 'summary': { + 'map': 'p-summary' + }, + 'author': { + 'uf': ['h-card'] + }, + 'url': { + 'map': 'u-url' + }, + 'photo': { + 'map': 'u-photo' + }, + } + }; + + return modules; + +} (Modules || {})); + |