Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #373: Created PodcastSeries and PodcastEpisode #2007

Merged
merged 8 commits into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 199 additions & 0 deletions data/ext/pending/issue-373-examples.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
TYPES: PodcastSeries

PRE-MARKUP:

<div class="show__description">
<img src="https://.../inquisitive_artwork.png">
<h2><a href="http://www.relay.fm/inquisitive"><span>Inquisitive</span></a></h2>
<h3>
<p>
Inquisitive is a show for the naturally curious.
Each week, Myke Hurley takes a look at what makes creative
people successful and what steps they have taken to get there.
</p>
</h3>
<h5>Subscribe</h5>
<ul>
<li><a href="http://www.relay.fm//inquisitive/feed">RSS</a></li>
<li><a href="https://itunes.apple.com/us/podcast/id909109678">iTunes</a></li>
</ul>
<h5>Hosted By<spam>Myke Hurley</span></h5>
</div>


MICRODATA:

<div itemscope itemtype="http://schema.org/PodcastSeries" class="show__description">
<img itemprop="image" src="https://.../inquisitive_artwork.png">
<h2>
<a itemprop="url" href="http://www.relay.fm/inquisitive">
<span itemprop="name">Inquisitive</span>
</a>
</h2>
<h3>
<p itemprop="description">
Inquisitive is a show for the naturally curious.
Each week, Myke Hurley takes a look at what makes creative
people successful and what steps they have taken to get there.
</p>
</h3>
<h5>Subscribe</h5>
<ul>
<li><a itemprop="webFeed"
href="http://www.relay.fm//inquisitive/feed">RSS</a></li>
<li><a href="https://itunes.apple.com/us/podcast/id909109678">iTunes</a></li>
</ul>
<h5>Hosted By<span itemprop="author" >Myke Hurley</span></h5>
</div>

RDFA:

TODO


JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "PodcastSeries",
"image": "https://www.relay.fm/inquisitive_artwork.png",
"url": "http://www.relay.fm/inquisitive",
"name": "Inquisitive",
"description": "Inquisitive is a show for the naturally curious. Each week, Myke Hurley takes a look at what makes creative people successful and what steps they have taken to get there.",
"webFeed": "http://www.relay.fm//inquisitive/feed",
"author": {
"@type": "Person",
"name": "Myke Hurley"
}
}
}
</script>

TYPES: PodcastEpisode

PRE-MARKUP:

<div class="episode__entry">
<h2>
<a href="http://www.relay.fm/inquisitive/27">
<span>#27: Behind the App #1: History</span>
</a>
</h2>
<small>February 18th, 2015</small>
<small>37 minutes</small>
<p>
In the first episode of “Behind the App”, a special series of
Inquisitive, we take a look at the beginnings of iOS app development,
by focusing on the introduction of the iPhone and the App Store.
</p>
<p>
Download:
<a href="http://.../Inquisitive_027.mp3">MP3 (25.75 MB)</a>
</p>
</div>

MICRODATA:

<div itemscope itemtype="http://schema.org/PodcastEpisode" class="episode__entry">
<h2>
<a itemprop="url" href="http://www.relay.fm/inquisitive/27">
<span itemprop="name">#27: Behind the App #1: History</span>
</a>
</h2>
<small itemprop="datePublished" datetime="2015-02-18">February 18th, 2015</small>
<small itemprop="timeRequired" datetime="PT37M">37 minutes</small>
<p itemprop="description">
In the first episode of “Behind the App”, a special series of
Inquisitive, we take a look at the beginnings of iOS app development,
by focusing on the introduction of the iPhone and the App Store.
</p>
<p itemprop="associatedMedia" itemscope itemtype="http://schema.org/MediaObject">
Download:
<a itemprop="contentUrl" href="http://.../Inquisitive_027.mp3">
MP3 (<span itemprop="contentSize">25.75 MB</span>)
</a>
</p>
</div>

RDFA:

TODO


JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "PodcastEpisode",
"url": "http://www.relay.fm/inquisitive/27",
"name": "#27: Behind the App #1: History",
"datePublished": "2015-02-18",
"timeRequired": "PT37M",
"description": "In the first episode of “Behind the App”, a special series of Inquisitive, we take a look at the beginnings of iOS app development, by focusing on the introduction of the iPhone and the App Store.",
"associatedMedia": {
"@type": "MediaObject",
"contentUrl": "http://www.relay.fm/inquisitive/Inquisitive_027.mp3"
},
"partOfSeries": {
"@type": "PodcastSeries",
"name": "Inquisitive",
"url": "http://www.relay.fm/inquisitive"
}
}
}
</script>

TYPES: PodcastSeason

PRE-MARKUP:

<div class="season__entry">
<h2>
<a href="https://serialpodcast.org/season-one">
<span>Serial: Season 1</span>
</a>
</h2>
<p>
The debut season of Serial contains 12 episodes.
</p>
</div>

MICRODATA:

<div itemscope itemtype="http://schema.org/PodcastSeason" class="season__entry">
<h2>
<a itemprop="url" href="https://serialpodcast.org/season-one">
<span itemprop="name">Serial: Season 1</span>
</a>
</h2>
<meta itemprop="seasonNumber" content="1" />
<p itemprop="description">
The debut season of Serial contains 12 episodes.
</p>
</div>

RDFA:

TODO


JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "PodcastSeason",
"url": "https://serialpodcast.org/season-one",
"name": "Serial: Season 1",
"seasonNumber": 1,
"numberOfEpisodes": 12,
"partOfSeries": {
"@type": "PodcastSeries",
"name": "Serial",
"url": "http://serialpodcast.org/"
}
}
}
</script>
43 changes: 43 additions & 0 deletions data/ext/pending/issue-373.rdfa
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<div>
<div typeof="rdfs:Class" resource="http://schema.org/PodcastSeason">
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWorkSeason">CreativeWorkSeason</a></span>
<span class="h" property="rdfs:label">PodcastSeason</span>
<span property="rdfs:comment">A single season of a podcast. Many podcasts do not break down into separate seasons. In that case, PodcastSeries should be used.</span>
<span property="schema:category">issue-373</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/373">#373</a>
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<!-- https://www.wikidata.org/wiki/Q20899 - how to map from here? /cc @thadguidry -->
</div>
<div typeof="rdfs:Class" resource="http://schema.org/PodcastSeries">
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWorkSeries">CreativeWorkSeries</a></span>
<span class="h" property="rdfs:label">PodcastSeries</span>
<span property="rdfs:comment">A podcast is an episodic series of digital audio or video files which a user can download and listen to.</span>
<span property="schema:category">issue-373</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/373">#373</a>
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<!-- https://www.wikidata.org/wiki/Q20899 - how to map from here? /cc @thadguidry -->
</div>
<div typeof="rdfs:Class" resource="http://schema.org/PodcastEpisode">
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Episode">Episode</a></span>
<span class="h" property="rdfs:label">PodcastEpisode</span>
<span property="rdfs:comment">A single episode of a podcast series.</span>
<span property="schema:category">issue-373</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/373">#373</a>
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<!-- https://www.wikidata.org/wiki/Q24634210 - how to map from here? /cc @thadguidry -->
</div>
<div typeof="rdf:Property" resource="http://schema.org/webFeed">
<span class="h" property="rdfs:label">webFeed</span>
<span property="rdfs:comment">The URL for the feed associated with the podcast series. This is usually RSS or Atom.</span>

<span property="schema:category">issue-373</span><a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/373">#373</a>

<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/PodcastSeries">PodcastSeries</a></span>

<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/URL">URL</a></span>
<span property="schema:category">issue-373</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/373">#373</a>
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
</div>
</div>