{"action":"opened","issue":{"url":"https://api.github.com/repos/HEPData/hepdata/issues/159","labels_url":"https://api.github.com/repos/HEPData/hepdata/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/HEPData/hepdata/issues/159/comments","events_url":"https://api.github.com/repos/HEPData/hepdata/issues/159/events","html_url":"https://github.com/HEPData/hepdata/issues/159","id":123002949,"number":159,"title":"submission: enter full Inspire URL or just the integer Inspire ID?","user":{"login":"GraemeWatt","id":11544204,"avatar_url":"https://avatars.githubusercontent.com/u/11544204?v=3","gravatar_id":"","url":"https://api.github.com/users/GraemeWatt","html_url":"https://github.com/GraemeWatt","followers_url":"https://api.github.com/users/GraemeWatt/followers","following_url":"https://api.github.com/users/GraemeWatt/following{/other_user}","gists_url":"https://api.github.com/users/GraemeWatt/gists{/gist_id}","starred_url":"https://api.github.com/users/GraemeWatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraemeWatt/subscriptions","organizations_url":"https://api.github.com/users/GraemeWatt/orgs","repos_url":"https://api.github.com/users/GraemeWatt/repos","events_url":"https://api.github.com/users/GraemeWatt/events{/privacy}","received_events_url":"https://api.github.com/users/GraemeWatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T18:31:28Z","updated_at":"2015-12-18T18:31:28Z","closed_at":null,"body":"I tried a test submission on my laptop where I clicked \"Submit\" and entered \"http://inspirehep.net/record/1203852\", i.e. the example.  This works to import the metadata and create the record, but then the Inspire Record in the search results links to \"http://inspirehep.net/record/http://inspirehep.net/record/1203852\" and the record links to \"localhost:4000/record/inshttp://inspirehep.net/record/1203852\".  So probably it's easiest just to support the Inspire ID itself (e.g. 1203852) on the \"Submit\" page.  Otherwise, if you also want to allow the full URL (e.g. http://inspirehep.net/record/1203852) when creating a new submission then you need to be consistent with using the Inspire ID in links."}}