Time |
Nick |
Message |
17:36 |
meeting |
Meeting started Tue Aug 2 17:36:46 2016 UTC. The chair is iamutkarshtiwari. Information about MeetBot at http://wiki.debian.org/MeetBot. |
17:36 |
|
Useful Commands: #action #agreed #help #info #idea #link #topic #endmeeting |
17:37 |
iamutkarshtiwari |
I have completed the offline support integration to GetBooks activity. |
17:37 |
|
Did you receive my mail regarding the same? |
17:37 |
icarito |
yes I saw it |
17:38 |
iamutkarshtiwari |
How is it? |
17:38 |
icarito |
I saw your screencast, I can't try it because it depends on a specific content bundle |
17:39 |
iamutkarshtiwari |
Yes |
17:39 |
|
It works with 'Gutenberg' and 'Rachel' collections |
17:39 |
icarito |
getbooks already supported OPDS standard, yes? |
17:40 |
iamutkarshtiwari |
Yes. But that's for accessing books on internet. |
17:40 |
|
If the user doesn't have internet facility but has access to the school server. |
17:40 |
icarito |
can't local servers provide OPDS? |
17:40 |
iamutkarshtiwari |
He can use GetBooks to get books from local servers. |
17:41 |
|
OPDS is used to fetch data from online websites AFAIK |
17:41 |
icarito |
OPDS is just a standard |
17:41 |
|
that indexes books |
17:41 |
|
so that clients can query and download books |
17:41 |
|
which is what was required |
17:41 |
iamutkarshtiwari |
It is unable to parse the index.html file in the book collections I downloaded. |
17:43 |
|
So I had to device a technique myself to enable it fetch books from localservers. |
17:43 |
icarito |
i doubt the index.html file is in opds format |
17:43 |
iamutkarshtiwari |
No, it's not. |
17:44 |
|
That's why I didn't use OPDS for the same. |
17:44 |
|
I devised my own technique. |
17:44 |
icarito |
wouldn't it have been better to index the files in opds compatible format? |
17:45 |
iamutkarshtiwari |
Give me a minute. |
17:45 |
|
Let me show you something. |
17:48 |
|
https://gist.github.com/iamutk[…]ceeea288047ad5e02 |
17:49 |
icarito |
ok seeing |
17:50 |
iamutkarshtiwari |
What format is it in? |
17:50 |
|
I am not sure about it. |
17:50 |
icarito |
what am I seeing in this gist |
17:50 |
|
? |
17:52 |
iamutkarshtiwari |
This is the index.html file of the offlince Gutenberg collection I downloaded for test purpose. |
17:52 |
|
offline* |
17:54 |
icarito |
okay I understand so instead of a general solution you made a collection specific solution |
17:54 |
iamutkarshtiwari |
Yes. |
17:54 |
|
For both 'Rachel' and 'Gutenberg'. |
17:54 |
icarito |
most sugar users are spanish users does gutemberg export all collections in this format? |
17:55 |
iamutkarshtiwari |
Gutenberg collection contains books in .htm format which can be read in 'Browse' activity |
17:55 |
|
whereas 'Rachel' collection contains books in .pdf format |
17:55 |
|
which can be read in 'Read' activity. |
17:55 |
icarito |
i'm asking about the collection index |
17:56 |
iamutkarshtiwari |
I havent' tried with all of it's collections. |
17:56 |
|
I downloaded the one the link of which Mr. Anderson gave. |
17:56 |
|
iamutkarshtiwari has quit IRC |
17:57 |
|
iamutkarshtiwari <iamutkarshtiwari!0e8bee62gateway/web/cgi-irc/kiwiirc.com/ip.14.139.238.98> has joined #sugar-newbies |
17:57 |
iamutkarshtiwari |
hi |
17:57 |
icarito |
hi |
17:57 |
|
when this was discussed in the beginning I asked you to look at OPDS standard |
17:57 |
iamutkarshtiwari |
Sorry. I got disconnected. |
17:57 |
icarito |
the way this should be done is using a OPDS bookserver to serve the collection |
17:58 |
|
I think |
17:58 |
|
unless there was anything wrong with that |
17:58 |
iamutkarshtiwari |
You are right. |
17:58 |
|
But the collection with which I had been testing doesn't seem to work with OPDS technique. |
18:00 |
|
With my technique, The deployers need to add new books to the index.html file in that specific format |
18:00 |
icarito |
here's gutemberg in opds format http://m.gutenberg.org/ebooks/?format=opds |
18:00 |
|
I wonder if it can be downloaded |
18:01 |
|
iamutkarshtiwari, deployers are either unskilled of busy enough |
18:01 |
|
things need to be as simple as possible |
18:02 |
iamutkarshtiwari |
What alternative would you suggest? |
18:05 |
icarito |
have you installed the schoolserver? |
18:05 |
|
does it include a opds server? |
18:05 |
iamutkarshtiwari |
No. I have been testing on localhost. |
18:06 |
icarito |
localhost plain webserver? |
18:06 |
iamutkarshtiwari |
python -m SimpleHTTPServer |
18:07 |
icarito |
I don't think it's okay for GetBooks to have collection specific code |
18:07 |
|
unless you can justify and generalize your implementation |
18:07 |
|
i.e. simple http server is easier to host |
18:08 |
|
in that case I think you need to make an indexer to build the index.html for a directory recursively or something |
18:08 |
|
otherwise what I actually would prefer is a good server solution |
18:08 |
|
the name "Pathagar" bookserver comes to memory but it looks a bit complex (django etc) |
18:09 |
|
I just found this too: https://github.com/yinlei212/cockybook |
18:09 |
|
it looks simpler |
18:09 |
|
although in japanese ;-) |
18:10 |
|
my preferred option is that you create a general solution preferrably in OPDS format such as a simple to deploy opds server |
18:10 |
|
if you think that makes sense |
18:10 |
|
also ping gonzalo who is getbooks maintainer |
18:10 |
|
ask him |
18:10 |
|
! |
18:11 |
iamutkarshtiwari |
For that the books collection needs to be opds compatible ? |
18:11 |
icarito |
explain to him "I was asked to do this and this to getbooks, and I'm doing this..." |
18:11 |
iamutkarshtiwari |
From where can I download such collection? |
18:11 |
|
Sure |
18:11 |
icarito |
no, opds is an index format |
18:12 |
|
also there's no reason it needs to be in python (although we love python) https://github.com/search?q=op[…]de=&start_value=1 |
18:13 |
|
opds is how the library collection is presented to the client in http form |
18:13 |
|
there are no opds collections, but you can serve any collection with opds standard protocol/format |
18:14 |
|
in my opinion the only modification needed to getbooks activity is the ability to enter the URL for the opds server |
18:15 |
|
get Gonzalo's opinion on Getbooks "offline |
18:15 |
|
to see what has a possibility of getting merged |
18:16 |
iamutkarshtiwari |
I have just sent him a mail regarding the same. |
18:16 |
icarito |
and do install an opds server study how it works I am curious myself |
18:16 |
iamutkarshtiwari |
Thank you for the above information. It will help me lot. |
18:16 |
icarito |
I once tried calibre's embedded opds server with an android opds compatible app, it was a bad experience |
18:17 |
|
i don't know if the opds server was slow or indexing is slow or what, as I said if you think it's best to replace opds altogether but I'm not aware of other book collection query formats/standards protocols |
18:18 |
|
in my mind the ideal solution is a tiny friendly python opds bookserver |
18:18 |
|
this can be deployed on any schoolserver |
18:19 |
|
ideally getbooks would auto-find such bookservices in the network |
18:19 |
|
avahi style, but that is a stretch goal |
18:19 |
|
I don't think plain opds supports this |
18:20 |
|
(but opds doesn't need to, service discovery is something altogether different) |
18:21 |
|
you know what would be wonderful? if such a opds serve functionality would live in getbooks and you could share your own book collection in the neigbourhood... |
18:21 |
|
i guess it would be easy if the server side opds was solved |
18:22 |
|
the tricky part would be the sugar collaboration bits |
18:22 |
|
iamutkarshtiwari, can I help you with anything else? :-) |
18:22 |
iamutkarshtiwari |
#InfoSlicer |
18:23 |
icarito |
#topic infoslicer |
18:23 |
iamutkarshtiwari |
I also have to add offline support to Infoslicer. |
18:23 |
icarito |
meeting, #help |
18:23 |
meeting |
icarito: Error: "#help" is not a valid command. |
18:23 |
icarito |
meeting, #commands |
18:23 |
meeting |
icarito: Error: "#commands" is not a valid command. |
18:23 |
iamutkarshtiwari |
But I do not know where to start |
18:23 |
icarito |
:-) |
18:23 |
|
let's see |
18:24 |
iamutkarshtiwari |
I haven't been in contact with Mr. Anderson regarding the same. |
18:24 |
icarito |
I just downlodaed it |
18:24 |
iamutkarshtiwari |
Hoping to see him soon. |
18:24 |
icarito |
installing beautifulsoup |
18:24 |
iamutkarshtiwari |
InfoSlicer helps you to slice wiki content to make your own article. |
18:25 |
icarito |
yes I have tried it but I don't know what offline means |
18:25 |
|
in this context |
18:25 |
iamutkarshtiwari |
Same here. |
18:26 |
|
According to me, it should be able to slice content from |
18:26 |
|
offlice wiki available on school servers. |
18:26 |
|
offline* |
18:26 |
icarito |
what is supposed to be in the bottom box under the article? |
18:27 |
iamutkarshtiwari |
you customized article. |
18:27 |
|
your* |
18:28 |
|
You can drag and drop images and text from a wiki into your plain template. |
18:29 |
icarito |
i see |
18:29 |
|
well I guess the question is how are articles served offline |
18:29 |
iamutkarshtiwari |
Yes. |
18:29 |
icarito |
there are two options |
18:29 |
|
as far as I understand |
18:30 |
iamutkarshtiwari |
From where can I download such test content? |
18:30 |
|
Yes? |
18:30 |
icarito |
either the schoolseerver has a local mediawiki instance running |
18:30 |
|
or a format such as kiwix is used but I'm not sure how that works in a client-server setting |
18:31 |
iamutkarshtiwari |
I agree with 1st option. |
18:32 |
|
Let's assume |
18:32 |
icarito |
i really dislike the idea of local mediawikis everywhere because I fear people will edit and improve content and these improvements would never reach the real wikipedia |
18:32 |
iamutkarshtiwari |
we successfully run a local mediawiki instance on another PC. |
18:32 |
|
What changes do we need to make to the InfoSlicer activity? |
18:33 |
|
Oh.. |
18:33 |
icarito |
I suggest you install http://schoolserver.org/ in a vm or something |
18:33 |
|
and then look at how they are sharing wikipedia content |
18:33 |
|
see if there's a way to reach those articles |
18:33 |
|
if they host a copy of wikipedia (probably they do) |
18:34 |
iamutkarshtiwari |
Sure. I will downloaed it and try to set it up. |
18:34 |
icarito |
in that page I read "Dec 2013 Agenda |
18:34 |
|
XSCE 5.0 release approaching, alongside Internet-in-a-Box with fulltext search of Wikipedia!" |
18:34 |
iamutkarshtiwari |
Will ping you in case if I run into any errors. |
18:35 |
icarito |
okay but i am not involved in that schoolserver project, I know tony uses it |
18:35 |
|
anyhow a solution would be generic |
18:35 |
iamutkarshtiwari |
I haven't been in touch with him for a while. Eagerly waiting for him |
18:35 |
|
Any rough idea what kind of changes will we need to make to InfoSlicer? |
18:36 |
icarito |
no idea |
18:36 |
|
I would suppose the ability to specify or discover a local wikipedia instance in some format/protocol possibly mediawiki |
18:37 |
|
and documenting how a deployer may serve up articles |
18:37 |
|
from any wikipedia |
18:37 |
|
note there already exists Wikipedia Activity |
18:37 |
iamutkarshtiwari |
Oh. |
18:37 |
icarito |
http://activities.sugarlabs.or[…]/sugar/addon/4411 |
18:38 |
iamutkarshtiwari |
But that much be accessing content from Internet. |
18:38 |
icarito |
perhaps infoslicer could just get the articles from that ;-) |
18:38 |
|
nope |
18:38 |
iamutkarshtiwari |
Our goal here is to provice offline accessibility. |
18:38 |
|
provide* |
18:38 |
icarito |
wikipedia activity holds a local slice |
18:38 |
|
wikipedia activity _is_ offline |
18:38 |
|
one simple solution is to have infoslicer detect if wikipedia activity is installed and try to grab articles from there |
18:39 |
|
but possibly a general local client-server solution would be nice too |
18:39 |
iamutkarshtiwari |
I would be complex - two level. |
18:39 |
|
First use Wiki to save content offline |
18:39 |
icarito |
well it would depend on wikipedia acitivty |
18:39 |
|
no you don't understand |
18:39 |
iamutkarshtiwari |
and then open InfoSlicer to slice. |
18:39 |
icarito |
wikipedia activity is NOT online |
18:39 |
|
it does not fetch anything |
18:40 |
|
it's just one big chunk of articles compressed into this one activity |
18:40 |
|
it has a locally running webserver to serve a search function |
18:40 |
|
and a webview basically to display the articles, but wikipedia activity _is_ offline |
18:40 |
|
always |
18:41 |
iamutkarshtiwari |
Oh. |
18:41 |
icarito |
so actually it would make sense for infoslicer to be able to use those articles that you already have in your drive |
18:41 |
iamutkarshtiwari |
The size of the WikiPedia activity must be very large as it includes wiki contents. |
18:44 |
|
I'll give it a try. |
18:47 |
|
icarito: There? |
18:47 |
icarito |
yes |
18:47 |
|
it's like 100m |
18:47 |
|
i think |
18:47 |
|
the english version |
18:50 |
|
okay |
18:50 |
|
so do ping me if you have further issues and good luck |
18:51 |
|
my irc bot is always here and notifies me of msgs when I'm online |
18:51 |
|
just ping me and I'll get back to you |
18:51 |
|
here's another option for hosting wikipedia content http://www.kiwix.org/wiki/Main_Page |
18:52 |
|
i'm not sure possibly the schoolserver uses it |
19:04 |
iamutkarshtiwari |
Thanks ;) |
19:04 |
|
See you soon. |
19:04 |
|
Bye. |
19:04 |
|
#endmeeting |
19:04 |
meeting |
Meeting ended Tue Aug 2 19:04:56 2016 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot. (v 0.1.4) |
19:04 |
|
Minutes: http://meeting.sugarlabs.org/s[…]-02T17:36:46.html |
19:04 |
|
Log: http://meeting.sugarlabs.org/s[…]16-08-02T17:36:46 |