Hi Maxime GUYOT wrote: > Like it Jon Neal said before, i'm working on adding statistics into YOG. > Precisely i'm trying to make some sort of http version for YOG. The idea > is to see, comment, rate,browse and download maps in your favorite web > browser.
sounds cool > I've done a working version of that. Where did you do that? Would you mind doing that in a public repo? For example you could do it at bitbucket.org. > Here is how it works : > set "glob2 -stats" as a cron job (every 15 minutes by example). This > will send maps informations (filename, author, ratings, mapname etc...) > to a MySQL database. > Now there you just need a website or some php (or whatever) code to > access this data. > > Data exported to MySQL includes : maps, login informations (with hash > passwords). > > As a proof of concept (or first start), i've done some PHP code to show > what's possible. You can see it here : http://www.chezmeme.net/main.php > this is hosted on my laptop so i do not guarantee the uptime :D hmmm to test you would need either the real accounts or a dummy user to play with. regards, leo _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
