![]() |
2010-04-17
, 12:29
|
Posts: 299 |
Thanked: 241 times |
Joined on Oct 2009
@ Singapore
|
#102
|
Well, I am NOT a skilled graphic designer, but here is a draft of a background I created with my basic Photoshop knowledge...as well as a mockup to give you an impression how it looks within the app...
Please let me know what you think - ideas and suggestions very welcome
The Following User Says Thank You to magnuslu For This Useful Post: | ||
![]() |
2010-04-17
, 12:32
|
Posts: 71 |
Thanked: 21 times |
Joined on Aug 2009
|
#103
|
Ok, guess this was a stupid idea...
considering all the coding and testing work for an app that is useless after just 4 weeks ;-)
BUT:
The more I think about it, the more I realize how much I miss an app for tracking football results of the major national leagues as well as Champions League...
This is really a must have for me!
Who else wants to have a football app?
![]() |
2010-04-17
, 12:34
|
Posts: 299 |
Thanked: 241 times |
Joined on Oct 2009
@ Singapore
|
#104
|
From a non developer-view:
The flexibility and ability to design the layout seems pretty limited with the gettable/match.php method. E. g. I have no idea how logo´s can be implemented into this view!?
Doesn´t Robbies approach of "loading, storing and reusing" the data provide more flexibility - feature and layout wise?
The Following User Says Thank You to magnuslu For This Useful Post: | ||
![]() |
2010-04-17
, 12:43
|
Posts: 299 |
Thanked: 241 times |
Joined on Oct 2009
@ Singapore
|
#105
|
![]() |
2010-04-17
, 12:46
|
|
Posts: 597 |
Thanked: 490 times |
Joined on Dec 2009
@ Germany
|
#106
|
Actually, I have yet to include the background in my app, but when I do, I might need a separate one for portrait mode. Possible?
![]() |
2010-04-17
, 13:09
|
Posts: 287 |
Thanked: 165 times |
Joined on Oct 2009
@ The Netherlands
|
#107
|
<?php $url = 'http://www.aragon.ws/soccerdb/getmatches.php?id=714'; function get_web_page( $url ) { $options = array( CURLOPT_RETURNTRANSFER => true, // return web page CURLOPT_HEADER => false, // don't return headers CURLOPT_FOLLOWLOCATION => true, // follow redirects CURLOPT_ENCODING => "", // handle compressed CURLOPT_USERAGENT => "spider", // who am i CURLOPT_AUTOREFERER => true, // set referer on redirect CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect CURLOPT_TIMEOUT => 120, // timeout on response CURLOPT_MAXREDIRS => 10, // stop after 10 redirects ); $ch = curl_init( $url ); curl_setopt_array( $ch, $options ); $content = curl_exec( $ch ); $err = curl_errno( $ch ); $errmsg = curl_error( $ch ); $header = curl_getinfo( $ch ); curl_close( $ch ); $header['errno'] = $err; $header['errmsg'] = $errmsg; $header['content'] = $content; return $header; } $rawdata = get_web_page($url); $content = $rawdata['content']; $content = str_replace("document.write('", '', $content); $content = str_replace("');", '', $content); $content = str_replace(chr(10), '', $content); $content = str_replace(chr(13), '', $content); $content = str_replace('</td>', '|', $content); $content = str_replace('</tr>', '#', $content); $content = str_replace(' ','',$content); $content = strip_tags($content); $rows =explode('#',$content); $result = Array(); foreach ($rows as $row) { $columns = explode('|',$row); if (count($columns) == 2) { echo 'date:' . trim($columns[0]) .chr(13).chr(10); } if (count($columns) == 7) { echo trim($columns[0]) . '|' . trim($columns[2]) . '|' . trim($columns[3]) . '|' . trim($columns[5]) .chr(13).chr(10); } } ?>
The Following 4 Users Say Thank You to robbie For This Useful Post: | ||
![]() |
2010-04-17
, 13:23
|
Posts: 299 |
Thanked: 241 times |
Joined on Oct 2009
@ Singapore
|
#108
|
The soccerdb parsing can be done online so it's always up-to-date.
Here's a php script that parses the data and puts it a simple format.
demo is at: http://gnista.xs4all.nl/soccerdb/results.php
![]() |
2010-04-17
, 13:26
|
|
Posts: 597 |
Thanked: 490 times |
Joined on Dec 2009
@ Germany
|
#109
|
Some more icon requests...
Select (a check box maybe)
Favourites (stealing the fav icons from Firefox? or add a star to the select icon?)
Matches (some minuscule text ___ - ___ 1-1?)
Table (similar to matches)
News (rss icon or something 'newspaper like'?)
Update scores (same as matches but with a + sign?)
Might need more, but that's all for now.
The flexibility and ability to design the layout seems pretty limited with the gettable/match.php method. E. g. I have no idea how logo´s can be implemented into this view!?
Doesn´t Robbies approach of "loading, storing and reusing" the data provide more flexibility - feature and layout wise?