-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs? #8
Comments
The Go documentation of the package is at https://pkg.go.dev/github.com/front-matter/commonmeta, but the documentation of the cli commands and options is still missing. I will work on that. In the meantime the two most important cli commands for your use case are:
The first command generates a random DOI string with the prefix your blog uses. The second command validates the DOI string encoded in base32. It returns the random number used for base32 encoding, or an error if the checksum (84 in this case) is wrong. |
Commonmeta has lots of functionality for working with scholarly metadata, but that is beyond the scope of registering DOIs for a blog post. For example fetch the metadata for any DOI from Crossref and return them in datacite format:
|
@maelle it looks like the latest rOpenSci post used the new workflow. Any issues? |
Thank you for the reminder!! Yes it seemed to have worked, https://doi.org/10.59350/5n1pv-3sg04 redirects correctly so it means Rogue Scholar registered it 🙏 🎉 Thanks so much for the support! |
Great! When you change the guid/id of already registered posts to the DOI, let me know. Otherwise Rogue Scholar has issues with updating posts (it uses the guid/id to uniquely identify a post). It is recommended to use either the DOI or the permalink for all posts, to keep things simple. |
I don't plan to do that, but as you know for older posts we changed it from the URL to the DOI last week or so. We're now using the DOI for all posts and will keep doing so. Thanks again! |
👋 @mfenner, I wonder where I could find a list of the different commands.
The text was updated successfully, but these errors were encountered: