Hi! Not sure if this the right place to ask: can we swap [34] to [3-5] on line 75 of the previewers localinstall.sh script so we can use it with dataverse-previewers version 1.5 folder too? Thank you!
sed -i "s,https://gdcc.github.io/dataverse-previewers/previewers/v1.[34],$localurl/$folder,g" *curlcommands.md
I'm confused. When I run that command I get this change:
- "toolUrl":"https://gdcc.github.io/dataverse-previewers/previewers/v1.3/TextPreview.html",
+ "toolUrl":"//TextPreview.html",
@Steve Baroti we should get in touch with Jim who isn't here in Zulip. I looks like he's gearing up for 1.5 release. Can you please either post to https://groups.google.com/g/dataverse-community or open an issue at https://github.com/gdcc/dataverse-previewers ?
@Philip Durbin โ๏ธ maybe you did not provide the second argument for the "./localinstall.sh" utility, the https://<your host>/<your base path to the previewers>part, which in the Harvard case the previewer installer script would look something like: ./localinstall.sh previewers/v1.4 "https://gdcc.github.io/dataverse-previewers/" and the result can be seen as in this magnificent URL: https://gdcc.github.io/dataverse-previewers/previewers/v1.4/PDFPreview.html?callback=aHR0cHM6Ly9kYXRhdmVyc2UuaGFydmFyZC5lZHUvYXBpL3YxL2ZpbGVzLzY1NDQxNzIvbWV0YWRhdGEvNjM4OTQ5OS90b29scGFyYW1zLzgw&locale=en? - sorry for suddenly becoming an impromptu expert here. :pray:
Oh, I think I understand better. Hard to test on my Mac because I have BSD sed.
But anyway, please do reach out to Jim on the mailing list or through an issue.
Last updated: Oct 30 2025 at 06:21 UTC