Live data from Hacker News

Show HN: One-click citations for your essays

speedcite.com

51–60 of 76 posts

Re: Show HN: One-click citations for your essays

#51
post #19

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 -…

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

#52
Looks 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

#53
post #52

Looks 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 its kind.

Re: Show HN: One-click citations for your essays

#54
post #19

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 -…

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!

Nevermind - I found it.

Re: Show HN: One-click citations for your essays

#55
post #39

I 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.

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

#56
post #29
post #27

Earlier 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']

Neat tip: You can just do:

    meta = r.json()
and avoid the json import.

Re: Show HN: One-click citations for your essays

#57
post #52

Looks 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).

OK, I've pushed fixes for the DOIs, and the first two DOIs you listed here are working now.

Re: Show HN: One-click citations for your essays

#58

Earlier 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.

Sites that want their content linked, reused and cited should use some sort of permalinking strategy. I don't think we should have a unverifiable citation because a publication does not follow sound link generation strategies. Provenance of the information is what we seek, citing a journal who doesn't provide a time proof way to access the resource should not be cited.

Re: Show HN: One-click citations for your essays

#59
post #52

Looks 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…

It's from http://www.pnas.org/content/early/2014/04/24/1324197111, which I found via PubMed (search for "immunology", page 2).

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.

Post reply on HN