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

alias HTML to rdf:HTML #1634

merged 1 commit into from Jun 6, 2018

alias HTML to rdf:HTML #1634

merged 1 commit into from Jun 6, 2018


Copy link

@darobin darobin commented May 23, 2017

Experience shows that when using parsed literals some people see the string "rdf" and immediately have an allergic reaction. Beyond that, the rdf bit is rather unrelated to the fact that this is HTML and feels like a strange magic string. This small patch aliases HTML to rdf:HTML so that one can write "description": { "@type": "HTML", "@value": "<p>…</p>" } and make things look pretty self-evident and obvious.

(I hope this is the right way to change this, I wasn't 100% clear exactly on the correct indirection or how to test this.)

Copy link

danbri commented Jun 6, 2018

This makes sense.

@danbri danbri merged commit dd8288e into schemaorg:master Jun 6, 2018
danbri added a commit that referenced this pull request Jun 6, 2018
espinr pushed a commit to espinr/schemaorg that referenced this pull request Jun 7, 2018
* 'master' of (76 commits)
  Added tests for correct operation of traverseForHTML & traverseForJSONLD functions
  Updated for contentRating / Rating tweak.
  Added Rating as expected of contentRating, for schemaorg#1935 Thanks @vholland!
  Noted alias of HTML from rdf:HTML, schemaorg#1634
  alias HTML to rdf:HTML (schemaorg#1634)
  Obvious 404 fixes from issue (schemaorg#1901) (schemaorg#1930)
  Changes to move to https only (for UI, not for vocab URIs) (schemaorg#1932)
  Fix to docs/tree.jsonld causing crash
  2018 -> 2017, fixes schemaorg#1929 Thanks @Aaranged :)
  Removed duplicate entries, and added a summary. schemaorg#1891
  Updated to cover all changes in 3.4.
  More release notes.
  Added lots of release notes, converted from git.
  Update releases.html
  One-liner for creating release note entries.
  Working on conversion of 900+ lines of changes into release note format. For schemaorg#1891 release 3.4.
  Tweaks to image tag, changed "mp4" to "jpg", added alt. /cc schemaorg#1922
  Small fix to howto html samples (schemaorg#1922)
  Fixes for the HowTo sample (schemaorg#1919)
  Fix physician subclass (schemaorg#1911)

# Conflicts:
#	app.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants