Commit Graph

23 Commits

Author SHA1 Message Date
Matt Mascarenhas f321a6b6bf Update README.md 2022-09-23 18:39:01 +01:00
Matt Mascarenhas 6ea5cb6d22 Update README.md 2022-09-23 17:47:12 +01:00
Matt Mascarenhas 0825cbb5ff Update README.md 2022-09-23 17:42:18 +01:00
Matt Mascarenhas 6e9c7edd1d Update README.md 2022-09-23 17:39:07 +01:00
Matt Mascarenhas 2eddd7a7c2 cinera.c: Support limitless templates
Previously we had a template tag limit of 16. This commit lifts that
limit to support "unlimited" tags per template.

Skip already offset landmarks most efficiently when adding a new asset.

New template tags:
    __CINERA_SEARCH_URL__
    __CINERA_VOD_PLATFORM__
2018-09-19 20:50:21 +01:00
Matt Mascarenhas 3da53413ce cinera.c: Revved resources
Database version 4

Revving resources involves hashing asset files and appending a query
string to their URLs. Additionally we monitor asset files for changes
and edit their new checksum hash into all HTML files citing them.

This commit also introduces new template tags for assets (listed below)
with which you may instruct Cinera to rev assets of your choice. There
is further information about this in the help (-h) and the README.md

Amongst other minor changes, we now support unset $XDG_CACHE_HOME and
$HOME
    - Thanks to insofaras for wordexp()

New flags:
    -Q Set query string

New template tags:
    __CINERA_ASSET__
    __CINERA_CSS__
    __CINERA_IMAGE__
    __CINERA_JS__

Renamed template tag:
    __CINERA_SEARCH__ (was __CINERA_INDEX__)
2018-09-17 19:06:31 +01:00
Matt Mascarenhas 0eeadd560b cinera.c: Add PROJECT_ID and THEME template tags 2018-06-12 20:03:12 +01:00
Matt Mascarenhas d420513e20 cinera_player_pre.js: Allow DOCTYPE html 2018-05-02 00:47:03 +01:00
Matt Mascarenhas e77d208645 cinera.c: Remove spurious file I/O
Don't \-escape anything in the index

Document server's security header (recommended) requirements
2018-05-01 22:05:44 +01:00
Matt Mascarenhas 2053be1969 README.md: Update 2018-02-28 01:40:53 +00:00
Matt Mascarenhas 23e31df4e2 README.md: Update 2018-02-28 01:40:02 +00:00
Matt Mascarenhas e7aefbada0 cinera.css: Marker and categories style
cinera_player_pre.js: Episode keyboard navigation. Also swap out A for
K, and D for J
cinera_player_pre.js: Handle the case in onRefChanged() in which the
filter_container or filterState is not present
cinera.c: Refetch quotes when processing a set of annotations >60 mins
after the last fetch

Flags:
    -w Force quote cache rebuild
2018-02-28 01:04:06 +00:00
Matt Mascarenhas f454e01e28 Add -s flag, project info and CINERA_PROJECT tag
-s flag sets the style / theme
Also some general code clean-up and repo organisation
2017-12-07 01:15:13 +00:00
Matt Mascarenhas 5539af0210 README.md: Add -v flag 2017-11-18 01:02:49 +00:00
Matt Mascarenhas 1b241ddcfe cinera.c: Add credentials and -v flag
README.md: Add dependency on curl
2017-11-18 00:27:33 +00:00
Matt Mascarenhas 4572817837 cinera.c: Search [#7]
Also put the stuff in a new directory called cinera, that contains only
the files needed to get going, with example template files.
2017-11-11 00:34:47 +00:00
Matt Mascarenhas 048d522657 README.md: Parser building instructions [#26] 2017-07-25 00:43:26 +01:00
Matt Mascarenhas f623733427 README.md: Add the -h usage text [#26] 2017-06-28 15:23:55 +01:00
Matt Mascarenhas 0aa204c042 README.md: Tweak fair warning and formatting [#26] 2017-06-22 23:11:01 +01:00
Matt Mascarenhas 0cb357a209 README.md: Fix path to insobot's quotes [#26] 2017-06-21 22:45:06 +01:00
Matt Mascarenhas 64deea565f README.md: Formatting [#26] 2017-06-21 22:27:57 +01:00
Matt Mascarenhas 7ed232ea36 README.md: Add some content
Also make hmml_to_html.c error while trying to integrate if
template.html contains the script before the player
2017-06-21 22:23:21 +01:00
Matt Mascarenhas 36a6654b82 Add empty README.md 2017-02-27 21:51:59 +00:00