These functions serve common use cases for timestamp fetching. See also
fetchTimestampHelpers, which allows you to write still more customized
methods, and pre-defined
fetchTimestamp() methods for several fetchers
'neverCurrent' - always writes a timestamp file for the current date and time. This means that whenever the timestamp is checked during the make process, the data file will be interpreted as out of date.
1 2 3
the identifier for a fetch item in viz.yaml
alwaysCurrent - writes a timestamp file just once, the first time the data
file is present when fetchTimestamp is called. Edits the modified time,
mtime, of the timestamp file to equal the modified time of the data file, so
that on subsequent builds the data file is always up to date relative to the
timestamp file. REFETCHES MAY STILL OCCUR if there are changes to the fetch
item's viz.yaml chunk, scripts, or other dependencies.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.