diff options
Diffstat (limited to 'web/biblio-require.rb')
-rwxr-xr-x | web/biblio-require.rb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/web/biblio-require.rb b/web/biblio-require.rb new file mode 100755 index 0000000..65ca235 --- /dev/null +++ b/web/biblio-require.rb @@ -0,0 +1,36 @@ +#!/usr/bin/env ruby + +$status_transform = { + "yet-to-read" => "Not yet read", + "completed" => "Completed", + "ordered" => "On Order", + "ongoing" => "Currently Reading", + "reference" => "Reference", + "not-owned" => "Not owned.", + "dropped" => "Dropped", + "collection" => "Collection", + "paused" => "Paused" +} + +$form_transform = { + "audiobook" => "Audiobook", + "physical" => "Physical Book", + "virtual" => "PDF", # Deprecated attribute - use pdf instead. + "pdf" => "PDF", + "epub" => "EPUB", + "light-novel" => "LN", + "manga" => "Manga" + +} + +$ownership_transform = { + "owned" => "Owned", + "borrowed" => "Borrowed", + "not-owned" => "Not owned" +} + +$general_transform = { + "N/A" => "" +} + +$delim = ";" |