Live data from Hacker News

Show HN: One-click citations for your essays

speedcite.com

61–70 of 76 posts

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

#61

Can you add Wikipedia citation formats? https://en.wikipedia.org/wiki/Wikipedia:Citation_templates

I'm amazed Wikipedia doesn't have a first-party tool for this. I can look into it. I'm trying to keep SpeedCite as simple as possible. If there is demand, I could maybe build a stand-alone app for this?

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

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

This works great! I looked into doi.org before but I wasn't sure what their ratelimit is. I'm currently using phantomJS and google scholar for DOIs, and I think I might have hit their rate limit already, so I will take a second look at this!

FYI this is CrossRef DOIs, and the data is served by CrossRef. Take a look at our API, e.g. http://api.crossref.org/works/10.5555/12345678 and http://search.crossref.org

Any questions email, us at labs@crossref.org

*which are the kinds of DOI you're likely to be citing, but other Registration Agencies and types of DOIs exist

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

#63

IEEE references would be fantastic! I 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!

Wow, I didn't realize IEEE had their own citation format.

Amazon has the ISBN 9781405347587. The only other google result for this is your comment, which Google seems to have already indexed :)

Since Google Books doesn't have that ISBN, I would need 1) fail gracefully instead of giving a citation for the wrong book and 2) have a fallback API. I'm working on both of these. Thanks!

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

#64

Earlier quoted context omitted.

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.

Sorry to hijack this reply; for your URL citations, you may want to integrate with the Internet Archive (archive.org) to get/store the snapshot of the URL/URI you're citing.

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

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

Do you know about the new CrossRef API? It might be of use. e.g. http://api.crossref.org/works/10.5555/12345678

You can check the Registration Agency with CrossRef to see who's responsible for it:

http://doi.crossref.org/ra/10.1073/pnas.1324197111

In this case, it is CrossRef. So this should work: http://api.crossref.org/works/10.1073/pnas.1324197111

It doesn't. I'll see if I can find out what's wrong.

If you have any questions you can email labs@crossref.org

EDIT: Looking at the Guest Query, http://www.crossref.org/guestquery/ it looks like this was deposited recently. There may be a delay in propagation through our systems.

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

#66
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!

To clarify, this is using Content Negotiation on the DOI API (i.e. sending 'Accepts' headers). These DOIs are CrossRef's, so requesting those formats via content negotiation is getting metadata from CrossRef.

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

#67

Earlier quoted context omitted.

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…

Do you know about the new CrossRef API? It might be of use. e.g. http://api.crossref.org/works/10.5555/12345678 You can check the Registration Agency with CrossRef to see who's responsible for it: http://doi.crossref.org/ra/10.1073/pnas.1324197111 In this case, it is CrossRef. So this should work: http://api.crossref.org/works/10.1073/pnas.1324197111 It doesn't. I'll see if I can find out what's wrong. If you have an…

Cool, I didn't realize CrossRef had an API. That will be helpful in troubleshooting DOIs that fail to resolve for me. Thanks for your offer. I'll definitely reach out once I've accumulated some more questions for you.

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

#68

Earlier quoted context omitted.

Sciencemag.org uses a special metatag for authors (citation_author). I'm not sure how common this is, but I will add logic to check these. Then SpeedCite would properly cite the author.

Yeah I see the same happening with bbc. Example: http://www.bbc.com/news/health-27204988

The BBC doesn't have an author metatag for some reason. I can search for a 'byline' span as a fallback. Thanks for noticing this.

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

#69

Earlier quoted context omitted.

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…

Do you know about the new CrossRef API? It might be of use. e.g. http://api.crossref.org/works/10.5555/12345678 You can check the Registration Agency with CrossRef to see who's responsible for it: http://doi.crossref.org/ra/10.1073/pnas.1324197111 In this case, it is CrossRef. So this should work: http://api.crossref.org/works/10.1073/pnas.1324197111 It doesn't. I'll see if I can find out what's wrong. If you have an…

How does CrossRef relate to the DOI Foundation? In particular I am curious as to how the DOI data is shared - for example what caused that DOI to be resolvable on dx.doi.org but not doi.crossref.org?

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

#70

Can you add Wikipedia citation formats? https://en.wikipedia.org/wiki/Wikipedia:Citation_templates

I'm amazed Wikipedia doesn't have a first-party tool for this. I can look into it. I'm trying to keep SpeedCite as simple as possible. If there is demand, I could maybe build a stand-alone app for this?

There's a few tools. There's some built-in JavaScript on Wikipedia, plus I use https://reftag.appspot.com/ a lot and a few Vim snipMate snippets.
Post reply on HN