Scalar 2 User's GuideMain MenuGetting StartedExplains account and book creation, and some interface basics.QuickStartsA path of all QuickStart content in this user's guide.Working with MediaHow to get the most out of your use of media in Scalar.Working with ContentCreating and editing content in Scalar.Working with WidgetsWorking with StructureHow to use Scalar's many options for structuring publications.Editorial WorkflowHow to use features for performing editorial review of content.VisualizationsExploring the contents of a book visually.LensesAn introduction to lenses, a tool for searching and visualizing Scalar content.Advanced TopicsDescribing Scalar's more advanced features.Third Party Plugins and Platforms
Metadata view
1media/Screen Shot 2021-09-15 at 11.18.02 AM_thumb.png2021-09-15T12:11:12-07:00Erik Loyerf862727c4b34febd6a0341bffd27f168a35aa63732961An example of the metadata view of a Scalar page.plain2021-09-15T12:11:12-07:00Erik Loyerf862727c4b34febd6a0341bffd27f168a35aa637
This page is referenced by:
12021-09-15T12:09:16-07:00Lenses and Metadata8plain2021-09-15T12:20:37-07:00Several lens options, including the “Filter by metadata...” filter, the “A-Z” sort, and the “String match count” sort, allow you to target specific metadata fields to check for the presence (or absence) of a bit of text you specify. In both cases, you're presented with “Select ontology” and “Select field” drop-down menus to choose the metadata field you want. But how do you know which items to choose to target a particular field?
Targeting metadata fields
To understand how Scalar metadata works, it helps to see it in action. You can do this by navigating to any page or media item in a Scalar book and clicking the "Metadata" link in the footer. This will take you to a table displaying all of the metadata for the current item, in which each row corresponds to a field.
The left-most column of the table displays a more friendly name for the field, while the middle column shows its machine-readable id in the format [ontology]:[field]. To target a specific metadata field is a matter of making selections from the “Select ontology” and “Select field” menus that match the machine-readable id. So for example, to target the body content of a page, listed under the id “sioc:content”, you would choose “SIOC” from the ontology menu, and “content” from the field menu.
Here are the ontologies and fields for some of the most frequently used metadata items, for reference: