Tweet this

Woopra 4 iPhone: Woopra-Statistiken bequem auf dem iPhone betrachten

IMG 0002Mittlerweile konnte ich der Versuchung auch nicht mehr widerstehen, mir ein iPhone zuzulegen und habe bei Ebay Italien ein recht günstiges Schnäppchen gemacht.

Damit bin ich wohl nun der letzte Blogger, der so ein Gerät hat…

Was mir auf meinem iPhone aber nun zum vollkommenen Glück fehlt, sind die Woopra-Statistiken (Achtung: Anmeldung für Beta-Phase bald nicht mehr möglich). Mittlerweile ist mir bei Website-Statistik und Analyse Woopra richtig ans Herz gewachsen, da man sowohl in Echtzeit die Besucher beobachten und analysieren als auch Auswirkungen von Newsdiensten wie Yigg & Co gut beobachten kann.

Um die Statistiken abzurufen gibt es ja entweder den Woopra-Client oder das WordPress-Plugin. Aber mich über das iPhone in das langsame WordPress-Backend einzuloggen und mir dort die riesige Seite ansehen, ist mir dann doch zu blöd.

Erst wollte ich eine richtige iPhone-Applikation schreiben, bis ich frustriert festgestellt habe, dass das ausschließlich mit einem Mac realisiert werden kann. So ein Apple-Fan bin ich dann aber auch wieder nicht…

Ich habe mir daher das WordPress-Plugin mal näher angesehen und festgestellt, dass man das ganz einfach auf eine Standalone-Anwendung umbauen kann, die man bequem im Safari-Browser lädt. Und hier ist es nun: Woopra 4 iPhone:

IMG 0004

Im Wesentlichen habe ich die Funktionalität des original Woopra-Plugin’s gleich gelassen und lediglich die Einstiegsseite, eine Konfigurationsseite und ein paar Layout-Dinge geändert, sodass es in Zukunft einfach sein sollte, künftige Plugin-Versionen wiederzuverwenden. Die Ansicht läßt sich einfach über die woopra.css-Datei ändern, momentan habe ich es recht schlicht gelassen.

Woopra 4 iPhone muss lediglich in ein Webverzeichnis entpackt werden, anschließend seine Woopra-Daten (Website, API-ID und Website-ID aus dem Members-Bereich) in die config.php eintragen und vom iPhone/iPod aufrufen – fertig.

Update: Die website-ID ist nicht länger notwendig, das Paket wurde entsprechend geändert:

Download: Woopra 4 iPhone

» Bei Problemen folgendes probieren:

- in config.php “sitename” ohne “www.” angeben

- manche Server sind geschützt durch das PHP-Flag “allow_URL_fopen”. Dieses muß aber eingeschaltet sein (php.ini: allow_URL_fopen=on)

Wenn man sich ein Lesezeichen auf den iPhone-Startbildschirm legt, bekommt man auch ein schönes Icon angezeigt…

Sämtliche Abfragen, die auch in WordPress sind, habe ich in eine Combobox gesteckt, zudem lassen sich mehrere Zeiträume auswählen.

Gerne könnt Ihr das Tool weiterentwickeln, verschönern oder was auch immer. Wenn Ihr das Tool nützlich findet oder es weiterentwickelt sagt mir Bescheid und hinterlasst interessehalber einen Kommentar oder Trackback.

Viel Spaß…

Download: Woopra 4 iPhone

» English

Description:

Use this tool to get a optimized view of Woopra statistics on a iPhone (Safari) without Woopra-Client or WordPress-Plugin. Feel free to modify, optimize the code or prettify the layout.

Installation:

These installation instructions assume you have an active account established on Woopra.com. If not, please visit the site and sign up for service.

1. Extract the Woopra4iPhone.zip file to a location on your webserver

2. Configure the file config.php with site-name, api-key and site-key (the website-ID is no longer necessary, zip-file updated)

3. If you use PHP4 remove comments on marked lines in config.php

(Your ID and API key can be found in the Members area on Woopra.com)

» If you have problems:

- try “example.com” instead of “www.example.com”

- some server protect PHP with the Option “allow_URL_fopen=off”. You have to switch ON for success!






nächster Beitrag:
vorheriger Beitrag:

Kategorien: Neues - Nützliches
Tags: - - - -
 
Pligg at 10:06 am 13. Okt 2008
Woopra 4 iPhone: Woopra-Statistiken bequem auf dem iPhone betrachten…
 
[...] Hubert’s original post is available in German, but in case you can’t read it, here is the Google translation to English. [...]
 
[...] Statistiken gerne auf dem iPhone auch in entsprechender Ansicht genießen möchte, kann sich bei Hubert Streitenberger den entsprechenden Quellcode für die Standalone-Browser Anwendung [...]
 
[...] de como pode o Woopra pode aparecer no seu iPhone. Isto é possível graças ao código php que foi criado para ser colocado no seu servidor e acessado através do Safari no seu [...]
thiefhunter
oh how I wish for English here.
21. Okt 2008 um 01:10
 
[...] Now along with the PC users, iPhone users can also get Woopra on their iPhone using an app developed by Hubert Streitenberger named: ‘Woopra 4 iPhone‘. [...]
 
[...] darüber hinaus ist die von Hubert Streitenberger erstellte Iphone-Woopra-Webapp auf Basis des Wordpress-Plugins. Ich kann hierfür nur tausend Dank [...]
Danke für Deine Arbeit, Hubert. Woopra4iPhone macht einen sehr guten Eindruck und tut genau das, was der Name verspricht. Bin begeistert.
30. Nov 2008 um 22:34
Hi, I’m having problems with this installation.
I have ensured that the “allow_URL_fopen” parameter is enabled and set to on, my host runs PHP5; are there any known issues with this?

Irrespective, I still get the following error:

Your hosting provider is not allowing the application to fetch data from the Woopra Servers.
You have to switch the PHP-Flag ‘allow_URL_fopen’ ON! (php.ini)

My PHP information can be found by going to http://agt.id.au/phpinfo.php; you can test it by going to http://www.agt.id.au/iphone/

Can anyone offer any clues as to why this error still happens?
20. Dez 2008 um 10:37
Hello,
it seems, that there isn’t the PHP-flag responsible for the error, because there is an answer: “Your query returned 0 results.”.
I think there’s an error in the config-file: try to insert your domain without “www.”
Greetings
Hubi
21. Dez 2008 um 13:15
Josh
Doesnt work. It says “Your query returned 0 results.
Click here to retry again!”

With the www. it doesn’t work, but when removed it gives me this error.
02. Feb 2009 um 17:39
It seems there is a bug or a problem since a week at woopra-servers. I can’t also fetch the data, same problem with my site.
We have to wait, what woopra says…
Sorry
02. Feb 2009 um 17:43
Hi,
the original language of the site german and the posts are automaticaly translated to other languages like russian. So i don’t understand russian comments, please comment in english or german.
thanks
Hubert
09. Apr 2009 um 12:07
I’ve tried and it does not work:

1. with the www. in config it says allow_url_fopen is not ON, although it is, according to phpinfo
2. without the www. in config, just the domain, it says: Your query returned 0 results.

Any idea, please?

Thanks,
Adrian
26. Aug 2009 um 15:21
Hi everyone,

i have updated and corrected woopra4iphone. Please download and try it again, if you only see “Your query returned 0 results”. Woopra has changed the API, so it hasen’t worked the last time.

http://download.streitenberger.net/woopra4iphone.zip

Hubert
31. Aug 2009 um 13:24