Sha256: de07929cd728ae62af6b85a1e36913c19fe5f47d6850da56b44f7f3c9275cdc3

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

module Rdfa
  SHORTCUTS = {
    :classes => {
      :resource     => [:rdfs , :resource],
      :list         => [:rdf , :list],
      :event        => [:dctypes , :event],
      :community    => [:sioc , :community],
      :post         => [:sioc , :post],
      :forum        => [:sioc , :forum],
      :person       => [:foaf , :person],
      :project      => [:doap , :project],
    },
    :properties => {
      :seealso      => [:rdfs , :seealso],
      :label        => [:rdfs , :label],    
      :comment      => [:rdfs , :comment],          
      :creator      => [:dcel , :creator],    
      :title        => [:dcel , :title],    
      :language     => [:dcel , :language],    
      :date         => [:dcel , :date],    
      :description  => [:dcel , :description],    
      :source       => [:dcel , :source],
      :license      => [:dcterms , :license],
      :abstract     => [:dcterms , :abstract],
      :created      => [:dcterms , :created],
      :abstract     => [:dcterms , :abstract],
      :content      => [:sioc , :content],
      :name         => [:foaf , :name],
      :knows        => [:foaf , :knows],
      :name         => [:foaf , :name],
      :weblog       => [:foaf , :weblog],
      :homepage     => [:foaf , :homepage],
      :depiction    => [:foaf , :depiction],
      :mbox         => [:foaf , :mbox],
      :openid       => [:foaf , :openid],      
    }
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdfa-0.0.8 lib/rdfa/shortcuts.rb