bookwyrm icon indicating copy to clipboard operation
bookwyrm copied to clipboard

Multiple Types of Authors

Open TomatDividedBy0 opened this issue 3 years ago • 3 comments

A lot of books have editors, contributors, or translators. Being able to specify author types would be useful, as opposed to the current system where everyone is treated as an author.

TomatDividedBy0 avatar May 21 '21 15:05 TomatDividedBy0

Strongly agree, thank you! A few aspects of this work:

From a database perspective, there is an implicit join table for the many-to-many relationship between Book and Author. It would be a matter of making is a django managed table, and adding (I think? or is it too limiting?) a choice field that specifies what type of relationship the author has to the book.

The activitypub serialization of author will need to be expanded to include the author type, since right now it's just a list of links.

In the UI, there needs to be a more robust way to add and edit authors on books.

The connectors will need to be updates so that they detect the relationship wen the data is imported from OpenLibrary/inventaire.

mouse-reeve avatar Jun 27 '21 19:06 mouse-reeve

In the UI, there needs to be a more robust way to add and edit authors on books.

As for this, it could probably be accomplished by replacing the Author field with a drop-down and a text input box. The drop-down to specify what type of contributor this is, a plus sign next to it to add more contributors, and a text box to put in the person's name.

As for the other stuff, I'd probably have to understand the project's code better to comment.

TomatDividedBy0 avatar Jul 06 '21 18:07 TomatDividedBy0

I'd love to see something like "primary author" or "byline authors" as one of these options. I just added this book, and it appears to list the authors alphabetically, but most writing about the book and the cover of the book only list two of the authors (the ones in the middle alphabetically), so bookwyrm ends up crediting incorrectly at the top. image

tim-dot-org avatar Mar 14 '22 17:03 tim-dot-org

So as not to reinvent the wheel, here's the list of contributor codes that publishers use in their metadata https://ns.editeur.org/onix/en/17

Magess avatar Nov 05 '23 20:11 Magess