GoodBook.Reviews V0.4.x
Repository
https://github.com/code-with-sam/goodbook.reviews
New Features
This update brings ISBN book search when submitting reviews and an internal database to track submissions.
ISBN Search
Previous When submitting a review the user was asked to input a book cover photo, book title and book author. This is a barrier to submit as the user needs to find a book cover online and download it. This also has the potential to causes issues in the future with misspelt book/author names.
When Looking for a solution to include automatic data entry based on an ISBN number I found three data sources. Open Library API, ISBNDB and Google Books API. The ISBNDB looks to be a great service but is paid based on the number of daily requests which I felt could get expensive quickly. I settled on using the Google books API over the Open library as reading online It looks to have support for more books and a slightly friendly API.
Goodbook.reviews PR12 Implements the new form UI, Error handling, auto-filing and back-end data requests necessary for the new search feature. If no book cover can be automatically found the old manual book cover upload form is shown for the user (I found a couple instances where covers did not exist on google books).
THere is still work to do to match ISBN10 & ISBN13 but feel this is abig improvment over manual entry.
Internal Database
Goodbook.reviews PR13 I opted for created a database for goodbook.review submissions. When submitting a new review after being posted to the blockchain the data will also be stored in a database. It’s important to me that all content is still fully submitted to the blockchain and is accessible from any current or future interface.
The new database gives more control(& speed) over how reviews are listed on the site. /latest reviews are now pulled from the database, this fixed an issue with some reviews not appearing and is generally a lot faster than querying the blockchain. Individual posts will still pull directly from the blockchain for now.
The database will allow many improves in the feature and forms the base for the featured listings.
Bug Fixes & Improvements
PR14 Fixes 3 minor issues that were listed on Github.
- Strikethrough style text was not enabled for markdown
- Not all latest reviews were showing (STEEM API getLatest() has an unknown time limit)
- Support for multiple authors. Book Author(s) is now n array and can handle one or multiple authors for a book. Currently, this is auto-filled by the ISBN Search
Ideas and contributions
There is still a long way to go for Goodbooks. My intention is to iterate, get feedback and improve as we go. The next step is to add individual pages for books, where each book has many reviews. I’ll also work to add a user-facing landing page with more information and featured reviews.
As always let me know your thoughts.
Proof of Work Done
https://github.com/sambillingham
- PR 12 Feature ISBN - goodbook.reviews/pull/12
- PR 13 Feature database- goodbook.reviews/pull/13
- PR 14 Minor Bug Fixes - goodbook.reviews/pull/14