Martin Fenner
Martin Fenner
No problem, I still care about the DataCite metadata schema, now mainly in the context of my work on InvenioRDM.
Thanks @KellyStathis, distribution is basically about the same idea (e.g. dataset and distribution in DCAT), I missed that in my initial comment. The InvenioRDM community is currently mainly focused on...
I second @danbri that DOIs are just URLs and just treated as such. The funny DOIs (SICIs) are a thing of the 1990s, the exist, but are rather uncommon in...
@MikeTaylor we seem to disagree here on how this could best be implemented.
I am confused, or maybe I don't understand CSL enough. What I am thinking I propose is that every time a URL is written to the markdown file we are...
@ashinkarov your arguments make sense. I am using plain CSL styles without modifications so wasn't considering custom formatting. @inukshuk a filter in bibtex-ruby would be fine. I can also continue...
@inukshuk My `_plugins/jekyll_scholar.rb` now looks like this: ``` ruby require 'jekyll/scholar' require 'uri' module MarkdownFilter class Markdown < BibTeX::Filter def apply(value) url = value.to_s.slice(URI.regexp(['http','https','ftp'])) value = url ? "[#{url}](#{url})" :...
OK, I changed the code to do replace the URL, even if part of the field value: ``` ruby require 'jekyll/scholar' require 'uri' module MarkdownFilter class Markdown < BibTeX::Filter def...
OK, now I have the bibtex filter working the way I want: ``` ruby require 'jekyll/scholar' require 'uri' module MarkdownFilter class Markdown < BibTeX::Filter def apply(value) value.to_s.gsub(URI.regexp(['http','https','ftp'])) { |c| "[#{$&}](#{$&})"...
@inukshuk will you add this filter to bibtex-ruby or jekyll-scholar? It would be good to add Cucumber tests to confirm that this filter can handle a variety of links. I...