{"action":"created","issue":{"url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat/issues/65","repository_url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat","labels_url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat/issues/65/comments","events_url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat/issues/65/events","html_url":"https://github.com/UB-Mannheim/ocr-fileformat/issues/65","id":280743156,"number":65,"title":"Download button","user":{"login":"zuphilip","id":5199995,"avatar_url":"https://avatars0.githubusercontent.com/u/5199995?v=4","gravatar_id":"","url":"https://api.github.com/users/zuphilip","html_url":"https://github.com/zuphilip","followers_url":"https://api.github.com/users/zuphilip/followers","following_url":"https://api.github.com/users/zuphilip/following{/other_user}","gists_url":"https://api.github.com/users/zuphilip/gists{/gist_id}","starred_url":"https://api.github.com/users/zuphilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuphilip/subscriptions","organizations_url":"https://api.github.com/users/zuphilip/orgs","repos_url":"https://api.github.com/users/zuphilip/repos","events_url":"https://api.github.com/users/zuphilip/events{/privacy}","received_events_url":"https://api.github.com/users/zuphilip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kba","id":273367,"avatar_url":"https://avatars0.githubusercontent.com/u/273367?v=4","gravatar_id":"","url":"https://api.github.com/users/kba","html_url":"https://github.com/kba","followers_url":"https://api.github.com/users/kba/followers","following_url":"https://api.github.com/users/kba/following{/other_user}","gists_url":"https://api.github.com/users/kba/gists{/gist_id}","starred_url":"https://api.github.com/users/kba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kba/subscriptions","organizations_url":"https://api.github.com/users/kba/orgs","repos_url":"https://api.github.com/users/kba/repos","events_url":"https://api.github.com/users/kba/events{/privacy}","received_events_url":"https://api.github.com/users/kba/received_events","type":"User","site_admin":false},"assignees":[{"login":"kba","id":273367,"avatar_url":"https://avatars0.githubusercontent.com/u/273367?v=4","gravatar_id":"","url":"https://api.github.com/users/kba","html_url":"https://github.com/kba","followers_url":"https://api.github.com/users/kba/followers","following_url":"https://api.github.com/users/kba/following{/other_user}","gists_url":"https://api.github.com/users/kba/gists{/gist_id}","starred_url":"https://api.github.com/users/kba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kba/subscriptions","organizations_url":"https://api.github.com/users/kba/orgs","repos_url":"https://api.github.com/users/kba/repos","events_url":"https://api.github.com/users/kba/events{/privacy}","received_events_url":"https://api.github.com/users/kba/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-12-09T18:37:54Z","updated_at":"2017-12-11T08:25:19Z","closed_at":null,"author_association":"OWNER","body":"(Splitted from #60)\r\n\r\n## Current Behaviour\r\n\r\nAfter uploading a local file and transform it, the download button does nothing.\r\n\r\nAfter choosing an url of a file and transform it, the download button will simply provide a link to that url, which is the input file.\r\n\r\n## Goal\r\n\r\nThe goal should be to download the output file. I guess that the button is currently more like a placeholder and the logic behind it is still missing.\r\n\r\n## Code\r\n\r\nI only have found this code for the button: https://github.com/UB-Mannheim/ocr-fileformat/blob/5ec0dd4f388fd3454489a627884d57062eb49447/web/ocr-fileformat.js#L86-L96."},"comment":{"url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat/issues/comments/350653506","html_url":"https://github.com/UB-Mannheim/ocr-fileformat/issues/65#issuecomment-350653506","issue_url":"https://api.github.com/repos/UB-Mannheim/ocr-fileformat/issues/65","id":350653506,"user":{"login":"stweil","id":6734573,"avatar_url":"https://avatars1.githubusercontent.com/u/6734573?v=4","gravatar_id":"","url":"https://api.github.com/users/stweil","html_url":"https://github.com/stweil","followers_url":"https://api.github.com/users/stweil/followers","following_url":"https://api.github.com/users/stweil/following{/other_user}","gists_url":"https://api.github.com/users/stweil/gists{/gist_id}","starred_url":"https://api.github.com/users/stweil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stweil/subscriptions","organizations_url":"https://api.github.com/users/stweil/orgs","repos_url":"https://api.github.com/users/stweil/repos","events_url":"https://api.github.com/users/stweil/events{/privacy}","received_events_url":"https://api.github.com/users/stweil/received_events","type":"User","site_admin":false},"created_at":"2017-12-11T08:25:19Z","updated_at":"2017-12-11T08:25:19Z","author_association":"OWNER","body":"Pull request #70 partially implemented the desired functionality. The following use case still does not work for me:\r\n\r\n- Go to https://digi.bib.uni-mannheim.de/ocr-fileformat/\r\n- Enter URL https://digi.bib.uni-mannheim.de/~stweil/ocr-praxis/0001-tesseract.hocr\r\n- Transform from `hocr` to `alto2.0`\r\n- Press 'Download' button\r\n\r\nExpected behavior: download of result (ALTO XML)\r\nObserved behavior: download of input (hOCR)\r\n"}}
{"actor":{"display_login":"stweil"}}