Skip to content

Commit

Permalink
Finish 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jul 10, 2020
2 parents a951166 + 3682d39 commit 872e812
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.1
0.6.2
44 changes: 44 additions & 0 deletions examples/ogp-example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<html prefix="og: http://ogp.me/ns# my_namespace: http://example.com/ns#">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
<meta property="og:audio" content="http://example.com/bond/theme.mp3" />
<meta property="og:description"
content="Sean Connery found fame and fortune as the
suave, sophisticated British agent, James Bond." />
<meta property="og:determiner" content="the" />
<meta property="og:locale" content="en_GB" />
<meta property="og:locale:alternate" content="fr_FR" />
<meta property="og:locale:alternate" content="es_ES" />
<meta property="og:site_name" content="IMDb" />
<meta property="og:video" content="http://example.com/bond/trailer.swf" />
<meta property="og:image" content="http://example.com/ogp.jpg" />
<meta property="og:image:secure_url" content="https://secure.example.com/ogp.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="A shiny red apple with a bite taken out" />
<meta property="og:video" content="http://example.com/movie.swf" />
<meta property="og:video:secure_url" content="https://secure.example.com/movie.swf" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video:width" content="400" />
<meta property="og:video:height" content="300" />
<meta property="og:audio" content="http://example.com/sound.mp3" />
<meta property="og:audio:secure_url" content="https://secure.example.com/sound.mp3" />
<meta property="og:audio:type" content="audio/mpeg" />
<meta property="og:image" content="http://example.com/rock.jpg" />
<meta property="og:image" content="http://example.com/rock2.jpg" />
<meta property="og:image" content="http://example.com/rock.jpg" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta property="og:image" content="http://example.com/rock2.jpg" />
<meta property="og:image" content="http://example.com/rock3.jpg" />
<meta property="og:image:height" content="1000" />
<meta property="og:type" content="website" />
<meta property="og:type" content="my_namespace:my_type" />
</head>
...
</html>
2 changes: 1 addition & 1 deletion lib/rdf/reasoner/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def lint
end

# Must be a defined property
if term && term.property?
if term.respond_to?(:property?) && term.property?
# Warn against using a deprecated term
superseded = term.attributes[:'schema:supersededBy']
superseded = superseded.pname if superseded.respond_to?(:pname)
Expand Down

0 comments on commit 872e812

Please sign in to comment.