Sorry forgot to link it: https://github.com/joakin/webkipediaAbout the content I'm fetching for the articles, I'm using the extracts with the exintro option, and embedding the html (https://github.com/joakin/webkipedia/blob/master/lib/api/article.js). The idea would be to have a 'Read more' that would show the full article I guess.
Matt Flaschen told me about the gettingstarted 'morelike' mode for other purposes, but it fitted perfectly my purposes for this reading app. They developed it on the Growth team about a year ago, but the experiment wasn't successful so the API has been there dormant and unused for a lot of time (works pretty well!).On Fri, May 29, 2015 at 4:35 AM, S Page <spage@wikimedia.org> wrote:(Cc'ing James Douglas, who's also developing API playground code.)
On Thu, May 28, 2015 at 2:52 AM, Joaquin Oltra Hernandez <jhernandez@wikimedia.org> wrote:Here's the demo of the lite wikipedia webapp I worked on: http://chimeces.com/webkipedia/S, for getting started quickly, I set up a JS web app completely standalone with some basic infrastructure (libraries for calling the api, rendering pipeline of JS views, url routing) so that interested people could just get quickly to render a view within the app and do interesting stuff querying the API. We were also open to just doing a plain html file with some JS and CSS, or a codepen/jsbin style would have worked too.That's lovely! It's what API developers develop when they develop.
* Where's the source?* I had no idea the gettingstartedgetpages would give you related pages, so obscure!* I guess RESTBase has no mode that strips the citations and such, or gives you just the opening section (prop=extracts & exintro=)* Nice closeup of the great man's chest :-), http://chimeces.com/webkipedia/#/wiki/Albert_Einstein
--=S Page WMF Tech writer