https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html
Maybe with swh-bdages :-)
Description
Related Objects
- Mentioned In
- D5135: Add SWHID badges in doc examples
Event Timeline
Hello @moranegg, I am new here and I have made a draft for this task. I also noticed that the last example URL in Software Heritage Resolver subsection returns 404. But after truncating the URL a little bit, I got this - which is a valid object. What should I do?
Thank you
@KShivendu The URL is wrong, because the last %3B isn't escaped. The SWHID is swh:1:cnt:f10371aa7b8ccabca8479196d6cd640676fd4a04;origin=https://github.com/web-platform-tests/wpt;visit=swh:1:snp:b37d435721bbd450624165f334724e3585346499;anchor=swh:1:rev:259d0612af038d14f2cd889a14a3adb6c9e96d96;path=/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/support/x%3Burl=foo so the URL should be https://archive.softwareheritage.org/swh:1:cnt:f10371aa7b8ccabca8479196d6cd640676fd4a04;origin=https://github.com/web-platform-tests/wpt;visit=swh:1:snp:b37d435721bbd450624165f334724e3585346499;anchor=swh:1:rev:259d0612af038d14f2cd889a14a3adb6c9e96d96;path=/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/support/x%253Burl=foo/
Which also errors for reasons beyond me