Re: [Sugar-devel] GetBooks activity

2016-06-17 Thread Tony Anderson

Look at get-books.cfg in the bundle.

Tony

On 06/17/2016 11:54 AM, Ütkarsh Tiwari wrote:


Hi,
  Where do GetBooks activity fetches the booklist from? Could 
anyone please point to the code responsible for generating the 
booklist in the activity from the online urls?


Regards,
Utkarsh Tiwari



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-26 Thread Manuel Quiñones
2012/6/25 Sameer Verma sve...@sfsu.edu:
 Does GetBooks autodiscover a OPDS feed off the LAN or does it have to be
 entered manually in the config?

Not currently, can be a good idea.  What URL can be a good candidate
to look for in a LAN?  Maybe we can add a default LAN URL in the
config file that can be changed.

-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-26 Thread Gonzalo Odiard
Well, if we have a URL, is not autodiscover ;)

Gonzalo



 Not currently, can be a good idea.  What URL can be a good candidate
 to look for in a LAN?  Maybe we can add a default LAN URL in the
 config file that can be changed.

 --
 .. manuq ..
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-26 Thread Sameer Verma
On Tue, Jun 26, 2012 at 8:55 AM, Gonzalo Odiard gonz...@laptop.org wrote:
 Well, if we have a URL, is not autodiscover ;)

 Gonzalo


I was looking at the get-books.cfg file. I got some success by
including IP address/latest.atom in the catalog, but that only lists
5 books (in my settings, I have 5 books per page). Same goes for other
types (by-title.atom, etc). I couldn't find the feed that lists the
entire catalog.

Some examples, if you'd like to play with it:

http://108.171.173.65/latest.atom
http://108.171.173.65/by-title.atom
http://108.171.173.65/by-author.atom
http://108.171.173.65/by-popularity.atom
Each tag has its own atom feed. http://108.171.173.65/tags/

Having to add the URL to the cfg file by hand using a text editor is
doable, but defeats the purpose of extensibility of the activity
itself. If autodiscover is not feasible, maybe a way to add yet
another feed via GUI ?

Sameer



 Not currently, can be a good idea.  What URL can be a good candidate
 to look for in a LAN?  Maybe we can add a default LAN URL in the
 config file that can be changed.

 --
 .. manuq ..
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-26 Thread Sameer Verma
On Tue, Jun 26, 2012 at 8:22 AM, Manuel Quiñones ma...@laptop.org wrote:
 2012/6/25 Sameer Verma sve...@sfsu.edu:
 Does GetBooks autodiscover a OPDS feed off the LAN or does it have to be
 entered manually in the config?

 Not currently, can be a good idea.  What URL can be a good candidate
 to look for in a LAN?  Maybe we can add a default LAN URL in the
 config file that can be changed.

 --
 .. manuq ..



Here's the stuff I've been reading up on...
http://opds-spec.org/specs/opds-catalog-1-1-20110627/#Discovering_OPDS_Catalogs

Sameer
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-26 Thread Sameer Verma
On Mon, Jun 25, 2012 at 3:17 PM, Chris Leonard cjlhomeaddr...@gmail.com wrote:
 On Mon, Jun 25, 2012 at 4:53 PM, Sameer Verma sve...@sfsu.edu wrote:
 Does GetBooks autodiscover a OPDS feed off the LAN or does it have to be
 entered manually in the config?

 This has me thinking about the Pathagar book-server work you were
 doing.  How is that coming along?  Is it almost time for us to be
 hosting some L10n strings in Pootle?

 Regards,

 cjl



Interesting that you should ask. Hot of the press. http://olpcsf.org/node/60

cheers,
Sameer
-- 
Sameer Verma, Ph.D.
Professor, Information Systems
San Francisco State University
http://verma.sfsu.edu/
http://commons.sfsu.edu/
http://olpcsf.org/
http://olpcjamaica.org.jm/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-25 Thread Gonzalo Odiard
Need to be entered manually in the config

Gonzalo

On Mon, Jun 25, 2012 at 5:53 PM, Sameer Verma sve...@sfsu.edu wrote:

 Does GetBooks autodiscover a OPDS feed off the LAN or does it have to be
 entered manually in the config?

 cheers,
 Sameer

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GetBooks activity

2012-06-25 Thread Chris Leonard
On Mon, Jun 25, 2012 at 4:53 PM, Sameer Verma sve...@sfsu.edu wrote:
 Does GetBooks autodiscover a OPDS feed off the LAN or does it have to be
 entered manually in the config?

This has me thinking about the Pathagar book-server work you were
doing.  How is that coming along?  Is it almost time for us to be
hosting some L10n strings in Pootle?

Regards,

cjl
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel