trumptracker.github.io/_data/README.md
2017-05-09 21:54:38 +02:00

965 B

Open data

##data.yaml In data.yaml there is a list of promises with attributes that describe the promise.

  • title: The title of the promise. Should not be longer than 80 characters.
  • description: A description of the promise, formatted in HTML.
  • url: The url is automatically generated and should not be touched
  • status: The available statusses can be seen under 'statuses' in data.yaml
  • status_info: Some text describing why the promise is marked how it is.
  • category: The category of the promise. The available categories can be seen under 'icons' in data.yaml
  • tags: An array of some tags describing the promise. Not really used anymore.
  • comments: An array of shorted url's that point to the comments in Reddit. Sorted by time, first is newest.
  • sources: An array of sources that correlate to the promise. Sorted by time, last is newest.

data.json is being generated automatically and should not be changed!