So I would write in the text: doi:10.1109/PTP.2004.1334951 to make clear it is a doi. Now, crossref suggest to move over to https://doi.org/10.1109/PTP.2004.1334951 and one can imagine to drop the scheme, thus one gets doi.org/10.1109/PTP.2004.1334951. This would work also inline in Discourse: doi.org/10.1109/PTP.2004.1334951
The plugin would allow us to have a working link for those, who are too lazy to write .org/ instead of a colon. I am not sure if it is worth is considering that the url format is much better known and supported by various pieces of software.
@tophee , would requiring DOI: before a DOI be ok with you? That’d make sam’s regex concerns largely moot, & I think compatible with APA’s nonsensical rules. I thought I was being clever (and the only one affected) when I decided to try not to require DOI: in front of one.
It’s your plugin (which I’m happy to use), so I’m not really in a position to demand anything, but since you’re asking, here’s what I think would be good to have in order for this to work for “the average user”:
DOI can be both upper case and lower case
It also works with a space between the colon and the actual doi (if it’s not a big hassle, even two spaces would be nice, knowing that stuff happens…)
You’re the only one using it, to my knowledge, other than a couple of friends who might again teach a course on an instance I host. You have no right to demand that I fix it immediately, but you represent a large portion of the set base, so you definitely get a vote!
I will do as you suggest when I get around to it (hopefully the end of next week), as I think it works for almost all normal use cases.
Not sure how much time you want to invest in this plugin, but here is a suggestion for how it could be extended: use doi2bib to render a doi as a fully fledged reference.
Or, since turning the bibtex file into an reference (even of one particular style) could be quite laborious, another idea would be to add second link to the bibtex file. Like doi:10.1109/5.771073(bibtex)
Well, the good news for ms is that I have enough paying work that this is pretty far down the list. (Well, and I’ve been on vacation for most of the past month.) I’ve got a handful of not-really-paying tasks that are a bit higher on my list, but it’s still on the list. . .
Seems like that could be a cool way to one-box a DOI, maybe.
Oh. That’s freaking awesome. If I were still an academic, I’d definitely do that. IN a heartbeat.