{"action":"created","issue":{"url":"https://api.github.com/repos/freme-project/freme-project.github.io/issues/284","repository_url":"https://api.github.com/repos/freme-project/freme-project.github.io","labels_url":"https://api.github.com/repos/freme-project/freme-project.github.io/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/freme-project/freme-project.github.io/issues/284/comments","events_url":"https://api.github.com/repos/freme-project/freme-project.github.io/issues/284/events","html_url":"https://github.com/freme-project/freme-project.github.io/issues/284","id":171845594,"number":284,"title":"Update documentation of NIF Converter","user":{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freme-project/freme-project.github.io/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/freme-project/freme-project.github.io/labels/homepage","name":"homepage","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false},"assignees":[{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-08-18T08:30:40Z","updated_at":"2016-08-23T12:56:17Z","closed_at":null,"body":"Please update the documentation of the [nif converter](http://api-dev.freme-project.eu/doc/api-doc/full.html#!/Toolbox%2FNIF-Converter/post_toolbox_nif_converter):\r\n\r\n### Implementation notes:\r\n\r\nThis endpoint allows to convert plain text, a document in any format supported by e-Internalisation(link) or in the RDF formats supported by FREME into a NIF document with the RDF serialisation format specified by the accept header. Further it can convert all data formats supported by Apache Tika to NIF, you can find a list of formats here: https://tika.apache.org/1.13/formats.html\r\n\r\nTo convert plaintext to NIF, one RDF format to another, or to use e-Internationalization, you specify the input format in the Content-Type header, output format in the Accept header and send the data to convert in the document body.\r\n\r\nTo use Apache Tika, you specify a multipart request and send the file in the document body. The format of the input file will be determined by the filename. Further you need to set query string parameter `informat=TIKAFile`. The output format is specified by the Accept header.\r\n\r\n**Example cURL to convert plaintext to Turtle**\r\n\r\nPlease add an example\r\n\r\n**Example cURL to convert HTML to RDF-XML, using e-Internationalization**\r\n\r\nPlease add an example, using e-Internationalization\r\n\r\n**Example cURL to convert PDF to Turtle**\r\n\r\n```\r\ncurl -X POST -F \"inputFile=@source_pdf.pdf\" \"http://api.freme-project.eu/current/toolbox/nif-converter?informat=TIKAFile\" -H \"Accept: text/turtle\"\r\n```\r\n\r\n### Parameters\r\n\r\nPlease add the informat parameter. Is it possible to implement it with two values - \"TIKAFile\" when you want to use Tika and blank when you do not want to use it? I hope the blank value of informat does not override the Content-Type header.\r\n"},"comment":{"url":"https://api.github.com/repos/freme-project/freme-project.github.io/issues/comments/241721121","html_url":"https://github.com/freme-project/freme-project.github.io/issues/284#issuecomment-241721121","issue_url":"https://api.github.com/repos/freme-project/freme-project.github.io/issues/284","id":241721121,"user":{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T12:56:17Z","updated_at":"2016-08-23T12:56:17Z","body":"Maybe you can enable the multipart request when you add a Content-Type header \"multipart/form-data\" ?"}}
{"actor":{"display_login":"jnehring"}}