{"action":"created","issue":{"url":"https://api.github.com/repos/fabianvf/osf.io/issues/6","labels_url":"https://api.github.com/repos/fabianvf/osf.io/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/fabianvf/osf.io/issues/6/comments","events_url":"https://api.github.com/repos/fabianvf/osf.io/issues/6/events","html_url":"https://github.com/fabianvf/osf.io/pull/6","id":95508472,"number":6,"title":"[WIP] Add RAW and Normalized search results from pending postgres web API","user":{"login":"erinspace","id":801594,"avatar_url":"https://avatars.githubusercontent.com/u/801594?v=3","gravatar_id":"","url":"https://api.github.com/users/erinspace","html_url":"https://github.com/erinspace","followers_url":"https://api.github.com/users/erinspace/followers","following_url":"https://api.github.com/users/erinspace/following{/other_user}","gists_url":"https://api.github.com/users/erinspace/gists{/gist_id}","starred_url":"https://api.github.com/users/erinspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinspace/subscriptions","organizations_url":"https://api.github.com/users/erinspace/orgs","repos_url":"https://api.github.com/users/erinspace/repos","events_url":"https://api.github.com/users/erinspace/events{/privacy}","received_events_url":"https://api.github.com/users/erinspace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T19:31:15Z","updated_at":"2015-07-20T13:37:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fabianvf/osf.io/pulls/6","html_url":"https://github.com/fabianvf/osf.io/pull/6","diff_url":"https://github.com/fabianvf/osf.io/pull/6.diff","patch_url":"https://github.com/fabianvf/osf.io/pull/6.patch"},"body":"## Purpose\r\nwhen the simple postgres API is up on scrapi - PR here: https://github.com/fabianvf/scrapi/pull/271, this PR will add the ability to display raw and normalized documents in SHARE search results on the OSF.\r\n\r\nHere's an example:\r\n![screen shot 2015-07-16 at 3 23 37 pm](https://cloud.githubusercontent.com/assets/801594/8732940/b21c0fbe-2bce-11e5-832f-557faf5f55b5.png)\r\n\r\n## Changes\r\n- Update the SHARE results page to display a table with raw and normalized documents\r\n- Add vkbeautify.js library for adding spaces and pretty printing XML\r\n- update share utils to gather data from not-yet-existant OSF postgres API endpoint with raw and normalized documents\r\n\r\n## Side Effects\r\nLots of things will need to happen before this PR works:\r\n- [ ] scrapi is updated with the postgres database and API endpoint on the OSF\r\n- [ ] All share data is renormalized and migrated to this new database so that old results also have raw and normalized documents available"},"comment":{"url":"https://api.github.com/repos/fabianvf/osf.io/issues/comments/122886520","html_url":"https://github.com/fabianvf/osf.io/pull/6#issuecomment-122886520","issue_url":"https://api.github.com/repos/fabianvf/osf.io/issues/6","id":122886520,"user":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T13:37:25Z","updated_at":"2015-07-20T13:37:25Z","body":"Is Raw autoexpanded?"}}