<div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"> I have finally added the 'Gutenberg Collection' support to GetBooks activity. Refer the gif links below for UI demonstrations.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Gif 1- The offline downloaded 'Gutenberg' collection is in the form of .html files which would be read in 'Browse' activity after download. For that you need to add 'text/html' mime_type to your 'Browse' <a href="http://activity.info/" target="_blank">activity.info</a> file. -> <a href="http://imgur.com/a/833K9">http://imgur.com/a/833K9</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Gif 2- The offline downloaded 'Rachel' book collection is in .pdf format which would be read in 'Read' activity after download. The mime_type is pre-set. -> <a href="http://imgur.com/a/b7vtc">http://imgur.com/a/b7vtc</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px">Utkarsh Tiwari</div><div class="gmail_signature"><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 18, 2016 at 9:24 PM, Tony Anderson <span dir="ltr"><<a href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi, Utkarsh<br>
<br>
I don't have the activity in front of me. How is this done for the
Gutenberg on-line collection?<span class="HOEnZb"><font color="#888888"><br>
<br>
Tony</font></span><span class=""><br>
<br>
<div>On 07/18/2016 04:43 PM, Ütkarsh Tiwari
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div> Both the collections have their own 'index.html' files
which are hyperlinked to the book collections inside them. The
main problem here is figuring out how to make those
'index.html' files show up in the GetBooks and parse them to
generate a list of the collection in the list view of
'GetBooks'.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Ütkarsh Tiwari</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jul 18, 2016 at 10:47 AM, Tony
Anderson <span dir="ltr"><<a href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,
Utkarsh<br>
<br>
I am not sure what you have downloaded. The two urls I gave
you for Rachel should have downloaded pdfs (CK-12) and txt
(Adventures). The<br>
gutenberg collection on xsce is in the form of a set of zim
files which even compressed are too large for a reasonable
download. The previous IIAB version was even larger. The zim
version has two copies of each book: one is html and the
other epub (a compressed form of html).<br>
<br>
You should do what the activity does now with downloads. You
are only changing the source. So your problem may be to
access the urls from your hard drive.<br>
One option is to use a localhost. This is very simple in
python. See, for example, <a href="http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python" rel="noreferrer" target="_blank">http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python</a>.<span><font color="#888888"><br>
<br>
Tony</font></span>
<div>
<div><br>
<br>
On 07/17/2016 10:07 PM, Ütkarsh Tiwari wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I have downloaded the 'Gutenberg' and 'Rachel'
book collections onto my hard disk.<br>
<br>
For 'Gutenberg' collection - The books seem to be in
the form of webpages.<br>
For 'Rachel' collection - The books are in the pdf
form.<br>
<br>
Could you please provide me a hint on how to render
both the collections in 'GetBooks Activity' since it
currently fetches the books from the online urls added
to it's config .cfg file. ?<br>
<br>
-- <br>
Regards,<br>
Ütkarsh Tiwari<br>
<br>
<br>
<br>
</blockquote>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div data-smartmail="gmail_signature">Regards,<br>
Ütkarsh Tiwari<br>
<br>
<br>
<br>
</div>
</div>
</blockquote>
<br>
</span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br>Ütkarsh Tiwari<br><br><br><br></div>
</div>