[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Yog web stats
From: |
Leo Wandersleb |
Subject: |
Re: [glob2-devel] Yog web stats |
Date: |
Fri, 21 Aug 2009 01:45:42 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
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