{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/2238","labels_url":"https://api.github.com/repos/github/linguist/issues/2238/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/2238/comments","events_url":"https://api.github.com/repos/github/linguist/issues/2238/events","html_url":"https://github.com/github/linguist/issues/2238","id":62512414,"number":2238,"title":"Add .odd extension","user":{"login":"joewiz","id":59118,"avatar_url":"https://avatars.githubusercontent.com/u/59118?v=3","gravatar_id":"","url":"https://api.github.com/users/joewiz","html_url":"https://github.com/joewiz","followers_url":"https://api.github.com/users/joewiz/followers","following_url":"https://api.github.com/users/joewiz/following{/other_user}","gists_url":"https://api.github.com/users/joewiz/gists{/gist_id}","starred_url":"https://api.github.com/users/joewiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewiz/subscriptions","organizations_url":"https://api.github.com/users/joewiz/orgs","repos_url":"https://api.github.com/users/joewiz/repos","events_url":"https://api.github.com/users/joewiz/events{/privacy}","received_events_url":"https://api.github.com/users/joewiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T20:40:06Z","updated_at":"2015-03-23T20:29:03Z","closed_at":"2015-03-23T20:29:03Z","body":"There are [nearly 500 ODD files](https://github.com/search?q=extension%3Aodd+NOT+djfhdirijdskqdhd&type=Code&utf8=%E2%9C%93) in GitHub.  [ODD](http://en.wikipedia.org/wiki/Text_Encoding_Initiative#ODD) is an XML-based vocabulary for defining schemas for Text Encoding Initiative (TEI) projects, used widely in the humanities.  ODD should be rendered using XML syntax but is currently displayed as plain text (see [this example](https://github.com/wolfgangmm/tei-simple-pm/blob/master/odd/teisimple.odd)).  \r\n\r\nI would be happy to submit a pull request, but I'm not sure about whether to define .odd as an entry within the [existing XML languages](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml#L3263) or whether I should submit this as a new language, along the lines of the entry for [XProc](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml#L3345).  I'm inclined toward the former, but I'd appreciate guidance before I submit the wrong type of pull request.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/85179973","html_url":"https://github.com/github/linguist/issues/2238#issuecomment-85179973","issue_url":"https://api.github.com/repos/github/linguist/issues/2238","id":85179973,"user":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"created_at":"2015-03-23T20:29:03Z","updated_at":"2015-03-23T20:29:03Z","body":"> You could define it as a new language in Linguist if you wanted it to be counted as a different language (from XML) in the statistics or if you wanted to use a different grammar for highlighting. XML isn't counted in the statistics anyway, so, in your case, I think you should define it as a new extension.\r\n\r\nYes, I think we should add this as a new extension to `XML`. @phase - would you mind doing this? You can read our [contributing guidelines here](https://github.com/github/linguist/blob/master/CONTRIBUTING.md)"}}