In the Building Apps document, section 17, there is documentation for Song Books. They can be added to a collection and have a special display which shows an index by number and by title.
Add the book to the Proskomma database
In convert/convertBooks.ts, we are currently skipping song books. You should be able to have songbooks be handled like default books and added to the Proskomma database.
Add a separate route for song
Add src/routes/songs/[collection]/[id] folder and add +page.ts and +page.svelte.
Use data in {base}/songs/{collection}-{id}-songs-by-{title|number}.txt (load in +page.ts using fetch() and pass to the page). Look at quizzes to see how this is done.
When a song is tapped, display song with ScriptureViewSofria
In the Building Apps document, section 17, there is documentation for Song Books. They can be added to a collection and have a special display which shows an index by number and by title.
Add the book to the Proskomma database
In convert/convertBooks.ts, we are currently skipping song books. You should be able to have songbooks be handled like default books and added to the Proskomma database.
Add a separate route for song
Add
src/routes/songs/[collection]/[id]folder and add+page.tsand+page.svelte.Use data in
{base}/songs/{collection}-{id}-songs-by-{title|number}.txt(load in +page.ts usingfetch()and pass to the page). Look at quizzes to see how this is done.When a song is tapped, display song with ScriptureViewSofria