[Systems] API for activities.sugarlabs.org?
Aleksey Lim
alsroot at member.fsf.org
Thu Feb 25 20:17:26 EST 2010
On Thu, Feb 25, 2010 at 03:19:24PM -0600, David Farning wrote:
> On Thu, Feb 25, 2010 at 2:25 PM, Pablo Flores <pflores2 at gmail.com> wrote:
>
> > Thanks David for your answer.
> >
> > The biggest drawback I find in using ASLO for our applications is that you
> > need a different login user/pass, which is not big stuff but makes it
> > unpractical, even more if we want to encourage teachers to write their
> > reviews.
> >
> > Ahhh. These are the sorts of things that I am concerned about. Will minor
> hassle like passwords (Yes, I understand that passwords are _not_ a minor
> hassle when you have have enough users.) Turn us into silos rather than a
> starfish.
>
> I will look into this.
>
> If we could make an automatic login in ASLO with openId it could be a good
> > solution. Then we just would have to personalize the interface to make it
> > ceibalJAM-like. We could use collections to separate our activities from
> > others.
> >
> > Some more questions:
> > - Can I have a feed of the activities uploaded/updated from a collection or
> > from a category?
> >
for categories
http://activities.sugarlabs.org/<locale>/sugar/browse/type:1/cat:<category-id>/format:rss?sort=(popular|updated|rated|newest|name)
for collections
http://activities.sugarlabs.org/<locale>/sugar/collection/<collection-page>?sortby=(popular|updated|rated|newest|name)&format=rss
>
> Yes, I think so. I will double check.... but I think you can ask for a
> collection name or number and aslo will send back a list of activities in
> that collection. Then you can follow up with calls asking for
> latest.activity. Maybe alsroot know more. If not I can write a simple
> python script to generate that info.
>
>
> > - Could we separate somehow the reviews made by our users (for instance, to
> > know the rating uruguayan users give to the activity)?
> >
> >
> This might be harder. I don't think ASLO is aware of the notion of user
> groups.
we could(optionally) show/hide reviews by locale for example
> but it makes sense that Uruguayan teachers would like to read the
> reviews provided by other Uruguayan teachers.
>
> david
>
>
> > Saludos,
> > Pablo Flores
> >
> >
> >
> > On Thu, Feb 25, 2010 at 3:50 PM, David Farning <dfarning at sugarlabs.org>wrote:
> >
> >> Hey Pablo,
> >> I am glad you and Ceibal find activities.sugarlabs.org useful:)
> >>
> >> On Wed, Feb 24, 2010 at 3:53 PM, Pablo Flores <pflores2 at gmail.com> wrote:
> >>
> >>> Hello Dogi, David.
> >>>
> >>> I'm working in ceibalJAM!, an NGO that is developing educational free
> >>> software for Ceibal Plan in Uruguay.
> >>>
> >>
> >> Awesome. The more the merrier. I am ccing the systems list because this
> >> sounds like a closely related to an effort to share Turtle Art Creations.
> >>
> >>
> >>> Right now we have in our portal some tools for developers, that we are
> >>> thinking in the possibility of integrating them as much as possible with
> >>> SugarLabs. Specifically, we would like to automate some way to synchronize
> >>> the activities we upload in our portal (
> >>> http://drupal.ceibaljam.org/?q=lista_descargas) with yours (
> >>> http://activities.sugarlabs.org).
> >>>
> >>>
> >> My first thought is to adapt the ASLO portal with some new php templates
> >> to match your input and output requirements. Then create a work flow for
> >> ceibalJAM to push it's activities though the sugar labs translation system
> >> so they are automatically available to the entire world.
> >>
> >> My Rational.
> >>
> >> 1. One of Sugar Labs strengths as an Open Source project is to create an
> >> environment where it is possible to leverage and share the work of
> >> individuals and groups with the entire world. As much as possible we want
> >> to keep stuff in tree. Activities.sugarlabs.org is in tree for
> >> activities.
> >>
> >> 2. Maintaining individual download portals is hard. ASLO is _just_ the
> >> front end to a Content Distribution Network which allows us to serve
> >> activities via a global mirror network. http://mirrors.sugarlabs.org/
> >>
> >> So, the first question is, does your software provide some API for
> >>> updating our uploads in your activities zone automatically?
> >>>
> >>
> >> We do not have an API for uploading to ASLO. The downloading api can be
> >> seen in the 'update from aslo' code in Sugar .88.
> >> http://wiki.sugarlabs.org/go/Features/Sugar_Update_Control_ASLO . The
> >> example given on that page shows a user requesting information about the
> >> latest version of browser for sugar .82.
> >>
> >>
> >>> Thanks, and go ahead with your great work!
> >>>
> >>
> >> Moving forward.
> >>
> >> 1. Would it be possible to give you, or another trusted developer at
> >> ceibalJam, Admin access to activities.sugarlabs.org so you can maintain
> >> your activities there? If not, what are the shortcomings of ASLO which
> >> prevent it from meeting your needs?
> >>
> >>
> >> or 2. Can you point the download links on the
> >> http://drupal.ceibaljam.org/?q=lista_descargas to upstream ASLO links
> >> such as
> >> http://activities.sugarlabs.org/en-US/sugar/downloads/latest/4030/addon-4030-latest.xo?src=CeibalJAMwhere 4030 is the ASLO number of individual activities? This guarantees
> >> that down loaders will get the most recent version of a given activity.
> >> This will let you build on our existing content delivery network. +1 for
> >> setting up a Sugar Labs CDN mirror in Uruguay<http://drupal.ceibaljam.org/?q=node/12>.
> >>
> >> or 3. Can we work together to extend the ASLO update APIs to meet your
> >> needs and create upload APIs which allow you to upload new activities to
> >> ASLO via a client side script.
> >>
> >> david
> >>
> >> Saludos,
> >>> Pablo Flores
> >>>
> >>
> >>
> >
--
Aleksey
More information about the Systems
mailing list