For interest, you can do something like this on the command line using curl. Try these: curl -LH "Accept: text/bibliography" "http://dx.doi.org/10.1017/S0022112061000019" curl -LH "Accept: text/bibliography; style=bibtex" "http://dx.doi.org/10.1017/S0022112061000019" curl -LH "Accept: text/bibliography; style=apa" "http://dx.doi.org/10.1017/S0022112061000019" My academic life became a lot simpler when I learnt this -…
Show HN: One-click citations for your essays
51–60 of 76 posts
Re: Show HN: One-click citations for your essays
#52Feature suggestions: would be nice if it accepted PubMed ids, and supported other popular citation styles like Hardvard and Vancouver (or alternatively, permitted some customisation of the citation format).
Re: Show HN: One-click citations for your essays
#53Looks nice, but it doesn't retrieve results for many of the DOIs I tried, e.g. 10.1155/2014/863625 and 10.4103/0970-2113.129901, and gave an incorrect result for this one: 10.1073/pnas.1324197111 Feature suggestions: would be nice if it accepted PubMed ids, and supported other popular citation styles like Hardvard and Vancouver (or alternatively, permitted some customisation of the citation format).
Re: Show HN: One-click citations for your essays
#54For interest, you can do something like this on the command line using curl. Try these: curl -LH "Accept: text/bibliography" "http://dx.doi.org/10.1017/S0022112061000019" curl -LH "Accept: text/bibliography; style=bibtex" "http://dx.doi.org/10.1017/S0022112061000019" curl -LH "Accept: text/bibliography; style=apa" "http://dx.doi.org/10.1017/S0022112061000019" My academic life became a lot simpler when I learnt this -…
Do you know where I can find the documentation for this API? I got MLA style working, but I can't get Chicago/Turabian style working. Once I get this working, I plan to switch to this method for DOIs. Thanks!
Re: Show HN: One-click citations for your essays
#55I think it's interesting the URL citation does not actually include the URL. It seems like the title of the article and the domain. Why is the exact URL of the resource is not important?
I could certainly include it, but doing so is not usually required for MLA, APA or Chicago citations, and it would in many cases, make the citation really long.
Re: Show HN: One-click citations for your essays
#56Earlier quoted context omitted.
p.s. I found I had to use 'data.crossref.org' instead of 'dx.doi.org' when I scripted it (python + requests). Not sure why exactly (doi was redirecting to crossref anyway).
How to do it in python in case anyone is wondering: import requests import json url = 'http://data.crossref.org/10.1017/S0022112061000019' headers = {'Accept': 'application/citeproc+json'} r = requests.get(url, headers=headers) meta = json.loads(r.content) # meta is a dictionary of metadata, e.g. meta['DOI']
meta = r.json()
and avoid the json import.Re: Show HN: One-click citations for your essays
#57Looks nice, but it doesn't retrieve results for many of the DOIs I tried, e.g. 10.1155/2014/863625 and 10.4103/0970-2113.129901, and gave an incorrect result for this one: 10.1073/pnas.1324197111 Feature suggestions: would be nice if it accepted PubMed ids, and supported other popular citation styles like Hardvard and Vancouver (or alternatively, permitted some customisation of the citation format).
Re: Show HN: One-click citations for your essays
#58Earlier quoted context omitted.
I could certainly include it, but doing so is not usually required for MLA, APA or Chicago citations, and it would in many cases, make the citation really long.
I think that the reference makes sense as far as longevity. How often do links to a specific page change? Very often. How often do domains change? Not as often. MLA and other style guides are generally written with print in mind, not links directly to content being cited.
Re: Show HN: One-click citations for your essays
#59Looks nice, but it doesn't retrieve results for many of the DOIs I tried, e.g. 10.1155/2014/863625 and 10.4103/0970-2113.129901, and gave an incorrect result for this one: 10.1073/pnas.1324197111 Feature suggestions: would be nice if it accepted PubMed ids, and supported other popular citation styles like Hardvard and Vancouver (or alternatively, permitted some customisation of the citation format).
Thanks for your feedback! Posting on HN seems to have caused speedcite to exceed Google Scholar's rate limit, so I'll be switching to crossref.org for DOIs. Using the new logic (which I'm about to push), I was able to get the first two DOIs you mentioned, but I couldn't get 10.1073/pnas.1324197111 working on crossref.org or on Google Scholar. Where did you find this DOI? I'd like to figure out a way to support it and…
The only two services I've found that accept it are http://hdl.handle.net/ and http://dx.doi.org/, and I think they're querying the same database.
Re: Show HN: One-click citations for your essays
#60I don't think the ISBN lookup works correctly. Typing in 9781405347587 or 978-1405347587 returns a book with ISBN 0-9690745-2-2
I'd be looking forward to upgraded version with IEEE but I just graduated, ha!