User:Prawsthorne/StepxStep: Difference between revisions

Jump to navigation Jump to search
Line 112: Line 112:
Having a stable URL is going to be important for being an issuer. The meta-data within the badge (or json file) needs to refer back to an internet domain name. This is so the badge can be validated and the data within the origin, criteria, and evidence can be viewed and referenced through time.
Having a stable URL is going to be important for being an issuer. The meta-data within the badge (or json file) needs to refer back to an internet domain name. This is so the badge can be validated and the data within the origin, criteria, and evidence can be viewed and referenced through time.
==== Basic web site with the ability to support the json content type ====
==== Basic web site with the ability to support the json content type ====
For manual issue of a badge your web server is going to have to support the '''application/json''' content-type. Ihis is done by some administrative tasks with your servers configuration. A Google search of your server name (Apache, IIS, etc.) and the keyword '''content-type''' should provide the information you are after.  
For manual issue of a badge your web server is going to have to support the '''application/json''' content-type. Ihis is done by some administrative tasks with your servers configuration. A Google search of your server name (Apache, IIS, etc.) and the keyword '''content-type''' should provide the information regarding your server recognizing this content-type.
<pre>
{
  "recipient": "sha256$2ad891a61112bb953171416acc9cfe2484d59a45a3ed574a1ca93b47d07629fe",
  "salt": "hashbrowns",
  "evidence": "/badges/html5-basic/bimmy",
  "expires": "2013-06-01",
  "issued_on": "2011-06-01",
  "badge": {
    "version": "0.5.0",
    "name": "HTML5 Fundamental",
    "image": "/img/html5-basic.png",
    "description": "Knows the difference between a <section> and an <article>",
    "criteria": "/badges/html5-basic",
    "issuer": {
      "origin": "http://p2pu.org",
      "name": "P2PU",
      "org": "School of Webcraft",
      "contact": "admin@p2pu.org"
  }
  }
}
</pre>
 
 
* create a screencast for editing the httpd.conf file in apache... also show the server restart...
* create a screencast for editing the httpd.conf file in apache... also show the server restart...


1,065

edits

Navigation menu