Skip to content

Commit

Permalink
Merge pull request #511 from stuartrobinson/stuart/issue/77
Browse files Browse the repository at this point in the history
Replaced meta tags with link tags for issue #77
  • Loading branch information
danbri committed Apr 24, 2016
2 parents 9096b50 + 1102989 commit 1034830
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions data/examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ MICRODATA:

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
<span itemprop="name">Rope</span>
<meta itemprop="url" content ="foo-fighters-rope.html">
<link itemprop="url" href="foo-fighters-rope.html">
Length: <meta itemprop="duration" content="PT4M5S">4:05 -
14300 plays
<div itemprop="interactionCount" itemscope itemtype="http://schema.org/InteractionCounter">
Expand All @@ -1505,7 +1505,7 @@ MICRODATA:

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
<span itemprop="name">Everlong</span>
<meta itemprop="url" content ="foo-fighters-everlong.html">
<link itemprop="url" href="foo-fighters-everlong.html">
Length: <meta itemprop="duration" content="PT6M33S">6:33 -
11700 plays
<div itemprop="interactionCount" itemscope itemtype="http://schema.org/InteractionCounter">
Expand Down Expand Up @@ -2153,39 +2153,39 @@ MICRODATA:
<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
1.<span itemprop="name">Sweet Home Alabama</span> -
<span itemprop="byArtist">Lynard Skynard</span>
<meta content="sweet-home-alabama" itemprop="url" />
<link href="sweet-home-alabama" itemprop="url" />
<meta content="PT4M45S" itemprop="duration" />
<meta content="Second Helping" itemprop="inAlbum" />
</div>

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
2.<span itemprop="name">Shook you all Night Long</span> -
<span itemprop="byArtist">AC/DC</span>
<meta content="shook-you-all-night-long" itemprop="url" />
<link href="shook-you-all-night-long" itemprop="url" />
<meta content="PT3M32S" itemprop="duration" />
<meta content="Back In Black" itemprop="inAlbum" />
</div>

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
3.<span itemprop="name">Sharp Dressed Man</span> -
<span itemprop="byArtist">ZZ Top</span>
<meta content="sharp-dressed-man" itemprop="url" />
<link href="sharp-dressed-man" itemprop="url" />
<meta content="PT4M13S" itemprop="duration" />
<meta content="Eliminator" itemprop="inAlbum" />
</div>

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
4.<span itemprop="name">Old Time Rock and Roll</span> -
<span itemprop="byArtist">Bob Seger</span>
<meta content="old-time-rock-and-roll" itemprop="url" />
<link href="old-time-rock-and-roll" itemprop="url" />
<meta content="PT3M12S" itemprop="duration" />
<meta content="Stranger In Town" itemprop="inAlbum" />
</div>

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
5.<span itemprop="name">Hurt So Good</span> -
<span itemprop="byArtist">John Cougar</span>
<meta content="hurt-so-good" itemprop="url" />
<link href="hurt-so-good" itemprop="url" />
<meta content="PT3M39S" itemprop="duration" />
<meta content="American Fool" itemprop="inAlbum" />
</div>
Expand Down Expand Up @@ -2614,7 +2614,7 @@ MICRODATA:

<div itemscope itemtype="http://schema.org/MusicAlbum">
<h1 itemprop="name"> King of Limbs </h1>
<meta content="/artist/radiohead/album/the-king-of-limbs" itemprop="url" />
<link href="/artist/radiohead/album/the-king-of-limbs" itemprop="url" />
<img alt="Blurry, spooky cover art"
src="king-of-limbs.jpg" itemprop="image" />
<meta content="8" itemprop="numTracks" />
Expand All @@ -2627,12 +2627,12 @@ MICRODATA:
<h3>Sample Tracks</h3>
<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
<span itemprop="name">Bloom</span>
<meta content="/artist/radiohead/album/the-king-of-limbs/track/bloom" itemprop="url" />
<link href="/artist/radiohead/album/the-king-of-limbs/track/bloom" itemprop="url" />
<meta content="PT5M14S" itemprop="duration" />5:14
</div>
<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">
<span itemprop="name">Morning Mr Magpie</span>
<meta content="/artist/radiohead/album/the-king-of-limbs/track/morning-mr-magpie" itemprop="url" />
<link href="/artist/radiohead/album/the-king-of-limbs/track/morning-mr-magpie" itemprop="url" />
<meta content="PT4M40S" itemprop="duration" />4:40
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions data/sdo-website-examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PRE-MARKUP:
MICRODATA:

<div itemscope itemtype="http://schema.org/WebSite">
<meta itemprop="url" content="http://www.example.com/"/>
<link itemprop="url" href="http://www.example.com/"/>
<form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
<meta itemprop="target" content="http://www.example.com/search?q={query}"/>
<input itemprop="query-input" type="text" name="query">
Expand All @@ -18,7 +18,7 @@ MICRODATA:
RDFA:

<div vocab="http://schema.org/" typeof="WebSite">
<meta property="url" content="http://www.example.com/"/>
<meta property="url" href="http://www.example.com/"/>
<form property="potentialAction" typeof="http://schema.org/SearchAction">
<meta property="target" content="http://www.example.com/search?q={query}"/>
<input property="query-input" type="text" name="query">
Expand Down

0 comments on commit 1034830

Please sign in to comment.