<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, Utkarsh<br>
<br>
I am not sure what question you are asking.<br>
<br>
Looking at the code: the repositories seem to be defined in
get-books.cfg.<br>
<br>
The actual mechanics of accessing the network appears to be handled
by 'feedparse', which is a python module described at <br>
<a class="moz-txt-link-freetext" href="https://pythonhosted.org/feedparser/introduction.html">https://pythonhosted.org/feedparser/introduction.html</a>.<br>
<br>
What are you trying to do and what is your problem with it? Did you
add a repository to get-books.cfg? DId it show up as you expected in
the <br>
toolbar widget? What happens if you select it? Does it show the
catalogs you entered? What happens if you select a catalog? Does it
show a list of books?<br>
What happens when you click on a book - does it get downloaded to
the Journal?<br>
<br>
My suggestion is to add Rachel as an online repository getting the
books from its site as a first step. Once that is working, changing
the urls to local should be easier to test since you would already
know what to expect.
<a class="moz-txt-link-freetext" href="http://rachelfriends.org/previews/rachelplus/modules/en-ebooks/index.html">http://rachelfriends.org/previews/rachelplus/modules/en-ebooks/index.html</a>
is the site for Gutenberg. Each of the links on that page could be a
catalog. Then clicking on one to show the list of books in the right
panel. <br>
<br>
Tony<br>
<br>
<div class="moz-cite-prefix">On 07/19/2016 08:23 AM, Ütkarsh Tiwari
wrote:<br>
</div>
<blockquote
cite="mid:CAFRUKodeXj2gOq4-gjvff4aBkURQ3ZdB-hsaBq2B9Pyc0HwPhA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div> I am working on this feature of adding offline support
to GetBooks activity to allow users to connect to
schoolservers for offline books(stored on these servers)
support. I am not able to figure out what modifications I need
to make in the parsing technique of the activity in order to
fetch(probably via localhost server) the books from Gutenberg,
Rachel collections which I have already downloaded onto my
harddisk.</div>
<div><br>
</div>
<div>Could anyone here please point me in the right direction?<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>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Sugar-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>