From 8088bf8ed8a25e2c952673d11491313a70c8143b Mon Sep 17 00:00:00 2001 From: James McKinney Date: Thu, 3 Oct 2013 14:57:45 -0400 Subject: [PATCH] Normalize the dct namespace to dcterms everywhere --- catalog.md | 4 ++-- examples/catalog-sample-extended.html | 24 ++++++++++++------------ examples/catalog-sample-extended.xml | 24 ++++++++++++------------ examples/catalog-sample.html | 12 ++++++------ examples/catalog-sample.xml | 12 ++++++------ examples/catalog-template.html | 8 ++++---- examples/catalog-template.xml | 8 ++++---- 7 files changed, 46 insertions(+), 46 deletions(-) diff --git a/catalog.md b/catalog.md index f57888cb..b87946b2 100644 --- a/catalog.md +++ b/catalog.md @@ -37,11 +37,11 @@ To fulfill the requirements of this memorandum, agencies should begin to describ JSON is a lightweight and simple way to represent machine-readable data. It is quickly becoming the *de facto* standard for shuttling data across the internet, fueled primarily by the rise of mobile and APIs. Modern programming languages can interpret and produce JSON out of the box. -The JSON representation of the catalog should track directly to the RDFa version, with the exception that JSON keys should not contain the domain prefix (e.g., `dct:title` becomes `title` and `dct:description` becomes simply `description`). Catalogs should be composed of an array of JSON objects, and all fields other than keywords should be a string (where keywords is an array of strings). +The JSON representation of the catalog should track directly to the RDFa version, with the exception that JSON keys should not contain the domain prefix (e.g., `dcterms:title` becomes `title` and `dcterms:description` becomes simply `description`). Catalogs should be composed of an array of JSON objects, and all fields other than keywords should be a string (where keywords is an array of strings). ### RDFa Lite -[RDFa Lite](http://www.w3.org/TR/rdfa-lite/) is a subset of RDFa (Resource Description Framework in Attribute) that provides a common syntax for expressing metadata on websites in a way that computers can understand and begin to formulate knowledge about those data about your organization. RDFa Lite embeds itself in existing, standard HTML pages. For example, if previously a dataset was described as `

Name of Dataset

`, RDFa would extend that markup as `

Name of Dataset

` (notice the additional of the property field). This additional metadata is not visible when the page is rendered, and does not affect the page layout or content. It simply provides an additional level of description for search engines, crawlers, and other programmatic consumers of your site's content. It is acceptable for the RDFa Lite file to contain only the machine-readable metadata, but agencies may wish to add human readable content to display the metadata to the public if they so desire. +[RDFa Lite](http://www.w3.org/TR/rdfa-lite/) is a subset of RDFa (Resource Description Framework in Attribute) that provides a common syntax for expressing metadata on websites in a way that computers can understand and begin to formulate knowledge about those data about your organization. RDFa Lite embeds itself in existing, standard HTML pages. For example, if previously a dataset was described as `

Name of Dataset

`, RDFa would extend that markup as `

Name of Dataset

` (notice the additional of the property field). This additional metadata is not visible when the page is rendered, and does not affect the page layout or content. It simply provides an additional level of description for search engines, crawlers, and other programmatic consumers of your site's content. It is acceptable for the RDFa Lite file to contain only the machine-readable metadata, but agencies may wish to add human readable content to display the metadata to the public if they so desire. Generating Machine-Readable Reporting Files diff --git a/examples/catalog-sample-extended.html b/examples/catalog-sample-extended.html index 3bca8a2b..48944f3c 100644 --- a/examples/catalog-sample-extended.html +++ b/examples/catalog-sample-extended.html @@ -5,12 +5,12 @@

Office Locations

  • Title: - Office Locations + Office Locations
  • Description: - A list of the agency's office locations and contact information. + A list of the agency's office locations and contact information.
  • @@ -85,12 +85,12 @@

    Office Locations

  • Release Date: - 7/9/2012 + 7/9/2012
  • Frequency: - 6 months + 6 months
  • @@ -146,12 +146,12 @@

    Database Export

  • Title: - Database Export + Database Export
  • Description: - A full export of the agency's database. + A full export of the agency's database.
  • @@ -226,12 +226,12 @@

    Database Export

  • Release Date: - 3/1/2012 + 3/1/2012
  • Frequency: - yearly + yearly
  • @@ -287,12 +287,12 @@

    System Data API

  • Title: - System Data API + System Data API
  • Description: - A restful web service for a system's data set from 2012. + A restful web service for a system's data set from 2012.
  • @@ -367,12 +367,12 @@

    System Data API

  • Release Date: - 2/15/2013 + 2/15/2013
  • Frequency: - weekly + weekly
  • diff --git a/examples/catalog-sample-extended.xml b/examples/catalog-sample-extended.xml index 253a29d8..9218fe8e 100644 --- a/examples/catalog-sample-extended.xml +++ b/examples/catalog-sample-extended.xml @@ -1,9 +1,9 @@ - Office Locations + Office Locations - A list of the agency's office locations and contact information. + A list of the agency's office locations and contact information. http://www.agency.gov/data/information/locations @@ -33,9 +33,9 @@ today - 7/9/2012 + 7/9/2012 - 6 months + 6 months English @@ -58,9 +58,9 @@ - Database Export + Database Export - A full export of the agency's database. + A full export of the agency's database. http://www.agency.gov/data/information/database @@ -90,9 +90,9 @@ 2001-current - 3/1/2012 + 3/1/2012 - yearly + yearly English @@ -115,9 +115,9 @@ - System Data API + System Data API - A restful web service for a system's data set from 2012. + A restful web service for a system's data set from 2012. http://www.agency.gov/data/information/system_api @@ -147,9 +147,9 @@ 2012 - 2/15/2013 + 2/15/2013 - weekly + weekly English diff --git a/examples/catalog-sample.html b/examples/catalog-sample.html index 68a853b4..7d66c7cb 100644 --- a/examples/catalog-sample.html +++ b/examples/catalog-sample.html @@ -5,12 +5,12 @@

    Office Locations

  • Title: - Office Locations + Office Locations
  • Description: - A list of the agency's office locations and contact information. + A list of the agency's office locations and contact information.
  • @@ -91,12 +91,12 @@

    Database Export

  • Title: - Database Export + Database Export
  • Description: - A full export of the agency's database. + A full export of the agency's database.
  • @@ -177,12 +177,12 @@

    System Data API

  • Title: - System Data API + System Data API
  • Description: - A restful web service for a system's data set from 2012. + A restful web service for a system's data set from 2012.
  • diff --git a/examples/catalog-sample.xml b/examples/catalog-sample.xml index 82580321..5e59946c 100644 --- a/examples/catalog-sample.xml +++ b/examples/catalog-sample.xml @@ -1,9 +1,9 @@ - Office Locations + Office Locations - A list of the agency's office locations and contact information. + A list of the agency's office locations and contact information. http://www.agency.gov/data/information/locations @@ -36,9 +36,9 @@ - Database Export + Database Export - A full export of the agency's database. + A full export of the agency's database. http://www.agency.gov/data/information/database @@ -71,9 +71,9 @@ - System Data API + System Data API - A restful web service for a system's data set from 2012. + A restful web service for a system's data set from 2012. http://www.agency.gov/data/information/system_api diff --git a/examples/catalog-template.html b/examples/catalog-template.html index d12d88b6..70f238e0 100644 --- a/examples/catalog-template.html +++ b/examples/catalog-template.html @@ -5,12 +5,12 @@

  • Title: - +
  • Description: - +
  • @@ -71,12 +71,12 @@

  • Title: - +
  • Description: - +
  • diff --git a/examples/catalog-template.xml b/examples/catalog-template.xml index fb97f5bc..c4dafc28 100644 --- a/examples/catalog-template.xml +++ b/examples/catalog-template.xml @@ -1,9 +1,9 @@ - + - + @@ -28,9 +28,9 @@ - + - +