{"action":"created","issue":{"url":"https://api.github.com/repos/ok2cqr/cqrlog/issues/40","repository_url":"https://api.github.com/repos/ok2cqr/cqrlog","labels_url":"https://api.github.com/repos/ok2cqr/cqrlog/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ok2cqr/cqrlog/issues/40/comments","events_url":"https://api.github.com/repos/ok2cqr/cqrlog/issues/40/events","html_url":"https://github.com/ok2cqr/cqrlog/issues/40","id":178966667,"number":40,"title":"Exported ADIF file header should not start with \"<\"","user":{"login":"aknrdureegaesr","id":1033352,"avatar_url":"https://avatars.githubusercontent.com/u/1033352?v=3","gravatar_id":"","url":"https://api.github.com/users/aknrdureegaesr","html_url":"https://github.com/aknrdureegaesr","followers_url":"https://api.github.com/users/aknrdureegaesr/followers","following_url":"https://api.github.com/users/aknrdureegaesr/following{/other_user}","gists_url":"https://api.github.com/users/aknrdureegaesr/gists{/gist_id}","starred_url":"https://api.github.com/users/aknrdureegaesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknrdureegaesr/subscriptions","organizations_url":"https://api.github.com/users/aknrdureegaesr/orgs","repos_url":"https://api.github.com/users/aknrdureegaesr/repos","events_url":"https://api.github.com/users/aknrdureegaesr/events{/privacy}","received_events_url":"https://api.github.com/users/aknrdureegaesr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T20:28:47Z","updated_at":"2016-09-23T20:39:25Z","closed_at":null,"body":"When exporting to an ADIF file, cqrlog currently exports a header such as\r\n\r\n```\r\n<ADIF_VER:5>2.2.1\r\nADIF export from CQRLOG for Linux version 2.0.2 (001)\r\nCopyright (C) 2016 by Petr, OK2CQR and Martin, OK1RR\r\n\r\nInternet: http://www.cqrlog.com\r\n\r\n<PROGRAMID:6>CQRLOG\r\n<PROGRAMVERSION:11>2.0.2 (001)\r\n<EOH>\r\n```\r\n\r\nThe ADIF spec says about headers:\r\n\r\n> Optional header information may be included before the actual data in the file. To include optional header info, the first character of the file must be something other than &lt;.\r\n\r\nOddly enough, the spec for ADIF version 2.2.1 (for which the cqrlog header claims support) is not available on `adif.org`, but the above quote can be found in both ADIF spec versions [2.2.0](http://adif.org/adif220.htm) and  [2.2.2](http://www.adif.org/adif222.htm).\r\n\r\nThe current [spec version 3.0.4](http://adif.org/304/ADIF_304.htm) no longer contains this percise wording, but also rules out headers starting with &lt;:\r\n\r\n> #### ADI File Structure\r\n>\r\n> An ADI file begins with an optional Header followed by one or more Records:\r\n> ...\r\n> #### ADI Header\r\n> \r\n> A Header begins with any character other than &lt; and terminates with a case-insensitive End-Of-Header tag:\r\n>\r\n> &lt;EOH>    \r\n> If the first character in an ADI file is <, it contains no Header. \r\n\r\nSuggested fix: Move the `<ADIF_VER:5>2.2.1` down."},"comment":{"url":"https://api.github.com/repos/ok2cqr/cqrlog/issues/comments/249296757","html_url":"https://github.com/ok2cqr/cqrlog/issues/40#issuecomment-249296757","issue_url":"https://api.github.com/repos/ok2cqr/cqrlog/issues/40","id":249296757,"user":{"login":"aknrdureegaesr","id":1033352,"avatar_url":"https://avatars.githubusercontent.com/u/1033352?v=3","gravatar_id":"","url":"https://api.github.com/users/aknrdureegaesr","html_url":"https://github.com/aknrdureegaesr","followers_url":"https://api.github.com/users/aknrdureegaesr/followers","following_url":"https://api.github.com/users/aknrdureegaesr/following{/other_user}","gists_url":"https://api.github.com/users/aknrdureegaesr/gists{/gist_id}","starred_url":"https://api.github.com/users/aknrdureegaesr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aknrdureegaesr/subscriptions","organizations_url":"https://api.github.com/users/aknrdureegaesr/orgs","repos_url":"https://api.github.com/users/aknrdureegaesr/repos","events_url":"https://api.github.com/users/aknrdureegaesr/events{/privacy}","received_events_url":"https://api.github.com/users/aknrdureegaesr/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T20:39:25Z","updated_at":"2016-09-23T20:39:25Z","body":"This is a duplicate, it was already reported earlier as https://www.cqrlog.com/node/1458 ."}}
{"actor":{"display_login":"aknrdureegaesr"}}