Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pip install -r requirements.txt

## CLI Usage

Available modes, depending on publisher input: `OBP` (Open Book Publishers), `punctum` (punctum books), `AM` (African Minds), `UWP` (University of Westminster Press), `WHP` (The White Horse Press), `EDITUS` (Editus), `EDUEPB` (EDUEPB), `EDUFBA` (EDUFBA), `Rosario` (Editorial Universidad del Rosario), `Leuven` (Leuven University Press), `LHarmattan` (L'Harmattan), `MayFly` (MayFly Books), `PlayStory` (Play Story Press)
Available modes, depending on publisher input: `OBP` (Open Book Publishers), `punctum` (punctum books), `AM` (African Minds), `UWP` (University of Westminster Press), `WHP` (The White Horse Press), `EDITUS` (Editus), `EDUEPB` (EDUEPB), `EDUFBA` (EDUFBA), `Rosario` (Editorial Universidad del Rosario), `Leuven` (Leuven University Press), `LHarmattan` (L'Harmattan), `MayFly` (MayFly Books), `PlayStory` (Play Story Press), `CSV` (Thoth CSV template)

### Live Thoth API
```
Expand Down
5 changes: 4 additions & 1 deletion bookloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class BookLoader:
"edited_volume": "EDITED_BOOK",
"Journal Issue": "JOURNAL_ISSUE",
"Journal": "JOURNAL_ISSUE",
"textbook": "TEXTBOOK"
"textbook": "TEXTBOOK",
"Textbook": "TEXTBOOK",
}
work_statuses = {
"Active": "ACTIVE",
Expand Down Expand Up @@ -103,9 +104,11 @@ class BookLoader:
"Foreword": "FOREWORD_BY",
"A24": "INTRODUCTION_BY",
"Introduction": "INTRODUCTION_BY",
"Introduction By": "INTRODUCTION_BY",
"writer of introduction": "INTRODUCTION_BY",
"A15": "PREFACE_BY",
"Preface": "PREFACE_BY",
"Preface By": "PREFACE_BY",
"Music editor": "MUSIC_EDITOR",
"Research By": "RESEARCH_BY",
"Contributions By": "CONTRIBUTIONS_BY",
Expand Down
Loading