InfiniteLibrary / infinite-reader

eBook reader app built on react-native
MIT License
89 stars 17 forks source link

Add HTML book to WebView as reader #18

Closed ssomnoremac closed 8 years ago

ssomnoremac commented 8 years ago

One step at a time. Let's not try and save htmlbooks yet. Let's just try and pull htmlbooks from infinitelibrarylibary and show the correct book loaded when "read" is clicked.

ssomnoremac commented 8 years ago

@sandersk what's the entry point each of the htmlbooks? Can you not just use them as hosted on github to start reading? Are they served anywhere already?

ssomnoremac commented 8 years ago

oh, wait I found it:
var bookURL ="https://rawgit.com/InfiniteLibraryLibrary/Middlemarch_145/master/book.xhtml"

based on this guide it should be different in production

sandersk commented 8 years ago

Yup, the HTMLBook files are named book.xhtml at the root of each repo.

ssomnoremac commented 8 years ago

Thanks, awesome, it works. This is closed and merged with #19.