Registry / serialization / microformats

microformats

JSON →
library4.5.0rbrubygemsunverified

A Ruby gem to parse HTML containing microformats2 and classic microformats that returns a collection of dynamically defined Ruby objects, a Ruby hash, or a JSON hash.

gem install microformats
INSTALL
IMPORT
SIG · MICROFORMATS
M
microformats
serializationrubyv4.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Microformats
require 'microformats'

Parse a simple h-card microformat.

require 'microformats' result = Microformats.parse('<div class="h-card"><p class="p-name">John Doe</p></div>') puts result.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
microformats — gem install microformats · libregistry