Works on your site
Every work published to your site appears under /articles. A work is what an author built
and submitted: a paper, a notebook, a dataset description. On
your site it’s an article with its own address, authors, DOI and downloads, in your site’s
design.
Its address¶
A work’s address is /articles/<slug>, where the slug is a short name for the work on your
site. A site can give each work a slug from the second part of its DOI, so
10.25080/abcd-1234 is at /articles/abcd-1234. A work without a slug is at its ID.
Readers can arrive by other routes, and each one leads to the same place:
By DOI:
/articles/10.25080/abcd-1234goes to the work with that DOI.By ID:
/articles/<work ID>goes to the work’s slug.
Both keep the rest of the path, so /articles/10.25080/abcd-1234.pdf is the work’s PDF and
/articles/<work ID>/methods is its Methods page.
An address with no work behind it shows the site’s error page. It’s never passed to your
$notFound redirect, so a reader with a mistyped DOI sees that it’s wrong.
Its pages¶
A work can be more than one page: an article with supplementary notebooks, or a long report
in chapters. Its first page is at /articles/<slug>, and each other page at
/articles/<slug>/<page>, named and organized by the work’s own project. A work with
folders: true has nested pages, such as /articles/<slug>/appendix/data.
Downloads¶
A work’s downloads are at its address with the format added: .pdf, .xml (JATS),
.meca, .zip or .omex. The site looks for the format on the page first, then on the
work as a whole, so /articles/<slug>/methods.pdf is the Methods page’s own PDF if it has
one, and the work’s PDF if it doesn’t. PDFs and JATS open in the browser; the others
download.
Previews¶
Before a submission is published, editors and authors can see it as it will appear on the
site from a preview link, at /previews/<submission version>. The link is signed, so
only people who have it can open the preview, and the browser remembers it until the link
expires. Moving between the preview’s pages and downloading its PDF works like a published
article. Without a valid link, the address goes to the site’s home page.
Previews are never listed, and the redirect groups ($info, $notFound) never apply to
them.
Private sites¶
On a private site, a work’s pages, downloads and data need the reader to sign in, as the landing content does. Previews don’t: the signed link is what lets a reader in.
- DOI
- Digital Object Identifier
- ID
- Identifier
- JATS
- Journal Article Tag Suite
- Portable Document Format