Coder Social home page Coder Social logo

rdf-microdata's People

Contributors

gkellogg avatar tak1n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rdf-microdata's Issues

missing Nokogiri dependency

after upgrading linkeddata to v1.1.0, I got the following error:

cannot load such file -- nokogiri
vendor/bundle/ruby/2.0.0/gems/rdf-microdata-1.1.0/lib/rdf/microdata/reader.rb:1:in `require'

AFAICT Nokogiri is only ever specified as a development dependency in the gemspec, but is actually required at runtime.

What require to use ?

I have this error message "Unknown RDF format" if i add "require 'rdf'" in my ruby file.

For this test i have used your html file exemple.

Thanks

HTML5 rel="author"

Schema.org singles out the rel="author" link property as being equivalent to <http://schema.org/author> (and is the only schema.org relation to link tightly to HTML5 in this way)

Is it within the scope of this project to recognise the HTML5 property and map it to the schema.org relation?

I'm happy to have a go at a pull request for the feature but I'd like to know if it fits first :)

'rdf-rdfa' is a runtime dependency

I tried installing this gem, but it seems to depend on rdf-rdfa, which is not part of the runtime dependencies:

$ gem install rdf-microdata                                                                                                   
Fetching: rdf-1.0.9.gem (100%)
Successfully installed rdf-1.0.9
Fetching: rdf-xsd-1.0.2.1.gem (100%)
Successfully installed rdf-xsd-1.0.2.1
Fetching: rdf-microdata-1.0.2.gem (100%)
Successfully installed rdf-microdata-1.0.2
3 gems installed
$ irb -r rdf-microdata
/opt/boxen/rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require':LoadError: cannot load such file -- rdf-microdata
>> ^D
$ irb -r rdf/microdata
/opt/boxen/rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:106:in `require':LoadError: cannot load such file -- rdf/rdfa
>> ^D
$ gem install rdf-rdfa
Fetching: haml-4.0.3.gem (100%)

HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:

* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem

For more info see:

http://rubydoc.info/github/haml/haml/file/CHANGELOG.md

Successfully installed haml-4.0.3
Fetching: rdf-rdfa-1.0.2.gem (100%)
Successfully installed rdf-rdfa-1.0.2
2 gems installed
$ irb -r rdf/microdata
>>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.