Forum: Rails France wikipedia mobile

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
997433f165140d58f52b8c0d1d005dc1?d=identicon&s=25 Patrick Aljord (patcito)
on 2008-12-23 22:29
(Received via mailing list)
Le créateur de HAML vient d'annoncer qu'il a été engagé par wikimedia
pour
faire une version mobile de wikipedia qui tournera sur le cluster de
Wikipedia. Et ça utilisera Merb, enfin Rails3 maintenant:

[16:15] <hcatlin> wikipedia (really wikimedia) hired me to manage the
open
source effort ot build a mobile wikipedia
[16:15] <hcatlin> and so i want to use Merb (Rails 3, I guess)
[16:15] <hcatlin> to build it
[16:15] <hcatlin> i had an iPhone app that was backed by merb
[16:15] <hcatlin> that is still running
[16:16] <hcatlin> and i have taken a lot of that code
[16:16] <hcatlin> http://github.com/hcatlin/wikimedia-mobile/tree/master
[16:16] <hcatlin> it is functional right now
[16:16] <hcatlin> and might be launched soon
[16:17] <hcatlin> the server is being setup
[16:17] <hcatlin> as we speak
[16:17] <shayarnett> hcatlin: you need to bundle nokogiri in your app if
you
want it to run from bundled gems
[16:17] <shayarnett> and some others it looks like
[16:17] <hcatlin> see, look, i'm not that big of a merb expert
[16:17] <hcatlin> i don't know all of the awesome features for that kind
of
stuff
[16:17] <hcatlin> and i need help with that
[16:17] <hcatlin> also, optimization is big
[16:17] <hcatlin> this thing needs to run killer fast
[16:18] <hcatlin> eventually, we will be using slices i think to run
different versions
[16:18] <hcatlin> different versions for each phone
[16:18] <hcatlin> right now its WebKit
[16:18] <hcatlin> since that works for Android and iPhone
[16:18] <hcatlin> the big thing missing right now is....
[16:18] <hcatlin> its kind of built for the iPhone native app which
doesn't
need a search bar
[16:19] <hcatlin> getting it running requires a few things
[16:19] <hcatlin> first... obviously the gems
[16:19] <hcatlin> secondly, to get it running, you either need to run it
as
"merb -e test"
[16:19] <hcatlin> so that it will *guess* "en"
[16:19] <hcatlin> for the language
[16:19] <hcatlin> OR
[16:19] <hcatlin> you can setup hosts
[16:19] <hcatlin> en.*
[16:19] <hcatlin> es.*
[16:20] <hcatlin> eventually they will be en.m.wikipedia.org
[16:20] <hcatlin> es.m.wikipedia.org
[16:20] <hcatlin> jp.m.wikipedia.org
[16:20] <hcatlin> etc
[16:21] <hcatlin> there is a third project mediawiki-ruby
[16:22] <hcatlin> which is using the API
[16:22] <hcatlin> but, the API won't supply html
[16:22] <hcatlin> and we need to parse the wikitext
[16:22] <hcatlin> wikitext is extremely complex
[16:22] <hcatlin> so, right now, the app itself is just using Curl::Easy

ça se passe sur #wikimedia-mobile
This topic is locked and can not be replied to.