minor !publish!

This commit is contained in:
constantinos 2023-07-15 17:38:36 +03:00
parent 5291b4e104
commit aef35a24e0
3 changed files with 11 additions and 38 deletions

View file

@ -3,9 +3,10 @@ title: "Infrastructure Info -- legacy 🚮"
date: "2023-06-24T16:22:47+03:00"
author: "anybody"
contributors: ["constantinos-miltiadis.md"]
draft: false
draft: true
keywords:
- internal
- dev
abstract: |
This is an internal page that contains information on the Sandpoints infrastructure.
---
@ -24,36 +25,9 @@ Hugo is a framework for generating lightweight static websites. Content is creat
- can generate ![printable and interactive PDFs](article:print-cite) for its content. This, for single entries, for grouped entries (issue of contributions), or for all content. PDFs containing more than one entry include a table of contents.
# Ontology
Sandpoints supports a triadic hierarchy. Here we use:
- Journal
- Issue
- Article
- Editor
- Contributor
- Print
The names of the basic triad elements are arbitrary. However:
- they have to correspond to content folders (as in `content/issue/`),
- they have to exist in the theme's dictionary with pairs singular and plural versions, as in `"article" : "articles"`.
This dictionary is located at:
- > `/_vendor/.../data/sandpointsnamegraph.json`
<!--
# Generate printable PDFs
*Sandpoint* can generate printable and interactive PDFs for single entries, groups of entries (as in issues), and for all content. For PDFs containing more than one entry, *Sandpoints* will dynamically generate a table of contents.
To browse printable content, look for material with the 'print' prefix in the [sitemap](/).
See also ![Save PDFs and Cite](article:print-cite).
-->
# Clone & run locally
Hugo allows compiling
Preparations:
- install Hugo (see [Hugo installation](https://gohugo.io/installation/))

View file

@ -24,6 +24,7 @@ Sandpoints is designed to be integrated with a library. The library is accessibl
- library catalogue search by Author, Title, or Tags;
- presentation of catalogue by book covers (default) or as list (select from top of the page);
- basic item metadata as well as the Librarian's description of an entry.
- reference of library items in entries of this site.
# Required software for library management
@ -188,8 +189,6 @@ To find the unique ID of a library item, do either of the following:
- Open the library catalogue (`/root/data/books/catalog.json`) with a text editor such as [Notepad++][]. Search for the book that you want to reference, and copy its `_id` field.
- Open the [Library][] find the item you want to reference, and copy the last part of it's URL after `.../book/`.
## Library reference example
The following example links to the library item at: `.../library/BROWSE_LIBRARY.html#/book/3ea44269-47eb-468b-906e-3104398aaa07`
Thus, the item unique id is: `3ea44269-47eb-468b-906e-3104398aaa07`.
@ -202,3 +201,5 @@ Thus, the item unique id is: `3ea44269-47eb-468b-906e-3104398aaa07`.
![](bib:62cdc920-998c-4563-a656-1e874d280101)
*Note: To overwrite the citation text that is automatically generated by the above syntax add some custom text in the square brackets.*

View file

@ -14,25 +14,23 @@ abstract: |
# Save interactive and printable PDFs
- To browse printable content see [print](/print/).
- To browse printable content look for print items at the bottom of the [sitemap](/) page.
- Using [Chrome](https://www.google.com/chrome/), open any of the 'print' type content.
- *Sandpoints* will dynamically generate a printable PDF. For larger collections, *Sandpoints* might need a few seconds to typeset the document and populate the table of contents.
- *Sandpoints* will dynamically generate a printable PDF. Larger collections, might need a few seconds for typesetting the document and populating the table of contents.
- In Chrome go to File/Print (or press `ctr+P` or `cmd+P`).
- Click Save the PDF in the pop-up dialogue.
The exported PDFs include internal hyperlinks ()
*Note: embedded media such as videos are not included in PDFs.*
Note, media content are not included in PDFs.
# Cite contributions in this site (WIP)
# Cite contributions
- Will share a Zotero Translator (citation grabber) in time, which we can push to the Zotero Translator repo.
- Will share a Zotero Translator (citation grabber) in time, which we can push to the Zotero Translator repo. This will be able to scrape citation metadata of a given article on a browser with a single click.
Related metadata:
| Fields | Value |
|--|--|
| Publication name | *Journal name*|
| Publication name | ???|
| Journal abbreviation | *--*|
| ISSN | *get one* |
| Publication date | *implement* |