@@ -10,7 +10,7 @@ Raintale: Storytelling for Web Archives
What story do you want to tell with web archives?
Raintale is a utility for publishing social media stories from groups of archived web pages (**mementos**). Raintale uses `MementoEmbed <https://github.com/oduwsdl/MementoEmbed>`_ to extract memento information and then publishes a story with the given **storyteller**, to a static file or an online social media service. A Raintale user supplies a file containing a list of memento URLs, a story title, and a storyteller to use for publishing the story.
Raintale is a utility for publishing social media stories from groups of archived web pages (**mementos**). Raintale uses `MementoEmbed <https://github.com/oduwsdl/MementoEmbed>`_ to extract memento information and then publishes a story using a given **storyteller** to a static file or an online social media service. A Raintale user supplies a file containing a list of memento URLs, a story title, and a storyteller to use for publishing the story.
Raintale is quite configurable, providing different publishing options as storytellers and file formats. Users may also provide different presets to configure how these storytellers format their stories. Finally, Raintale accepts a template file as an argument, allowing users to format their own stories.
Raintale allows the user to supply their own templates to format a story. Each template can be in a text-based format. Examples of text-based formats are HTML, XML, Markdown, and JSON. Raintale's presets are templates and you can view the files in the templates directory of the `Raintale GitHub <https://github.com/oduwsdl/raintale/tree/master/raintale/templates>`_ repository. Templates are built using an extension of the Jinja2 template engine. Because the format is an extension, not all Raintale templates are interoperable with Jinja2.
Raintale allows the user to supply their own templates to format a story. Each template can be in a text-based format. Examples of text-based formats are HTML, XML, Markdown, and JSON. Raintale's presets are templates and you can view the files in the templates directory of the `Raintale GitHub <https://github.com/oduwsdl/raintale/tree/master/raintale/templates>`_ repository. Templates are built using an extension of the Jinja2 template engine. Because the format is an extension, Raintale templates are not interoperable with Jinja2.
A Simple Template
-----------------
@@ -13,11 +13,11 @@ As noted in :ref:`building_story`, Raintale, at a minimum, accepts a list of mem
<!-- Element type {{ element.type }} is unsupported by the thubmnails3col template -->
<!-- Element type {{ element.type }} is unsupported by the thumbnails4col template -->
{% endif %}
{% endfor %}
</table>
In this example, the ``{{ title }}`` variable will be filled by the parameter of the ``--title`` argument of the ``tellstory`` command. The same for the ``{{ generated_by }}`` and ``{{ collection_url }}`` variables and their corresponding ``tellstory`` arguments.
@@ -136,7 +138,7 @@ The above example would replace the value of the variable with the 3 :superscrip
.. note::
If a Raintale preference is used in a template, it is no longer a valid Jinja2 template and will only work with Raintale.
If a Raintale preference is used in a template, it is no longer a valid Jinja2 template and will only work with Raintale. Jinja2 filters do not yet work with Raintale.
0 comments on commit
c473757