Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [QSportsEvent] FIFA World Cup and Football App

    Reply
    Page 11 of 40 | Prev |   9     10   11   12     13   21 | Next | Last
    Reflektorfalke | # 101 | 2010-04-17, 12:26 | Report

    Originally Posted by robbie View Post
    You also can parse the soccerdb data to create a 'csv file' that you can use in a qt component. It shouldn't be that hard.

    Just take a look here: http://www.aragon.ws/soccerdb/getmatches.php?id=714
    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    magnuslu | # 102 | 2010-04-17, 12:29 | Report

    Originally Posted by Reflektorfalke View Post
    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
    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to magnuslu For This Useful Post:
    Reflektorfalke

     
    xavi6 | # 103 | 2010-04-17, 12:32 | Report

    Originally Posted by Reflektorfalke View Post
    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?
    absolutely

    Edit | Forward | Quote | Quick Reply | Thanks

     
    magnuslu | # 104 | 2010-04-17, 12:34 | Report

    Originally Posted by Reflektorfalke View Post
    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?
    Yes. once I get that far I'll compare what is best; to parse the HTML data or to download the .ts formatted league files. To some extent it depends on how updated the data in the .ts is and how big a download they are.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to magnuslu For This Useful Post:
    Reflektorfalke

     
    magnuslu | # 105 | 2010-04-17, 12:43 | Report

    Some more icon requests...

    I need some small (I have to find out the exact size requirements) icons to use as the tab headings. They should be simple. The headings I have now are:

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Reflektorfalke | # 106 | 2010-04-17, 12:46 | Report

    Originally Posted by magnuslu View Post
    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?
    Well this was meant to be a first draft for further work by and based on the community.

    But of course, here is a portrait mode version.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     
    The Following 3 Users Say Thank You to Reflektorfalke For This Useful Post:
    magnuslu, OVK, tissot

     
    robbie | # 107 | 2010-04-17, 13:09 | Report

    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

    Code:
    <?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('&nbsp;','',$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);
            }
        }
    ?>

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to robbie For This Useful Post:
    magnuslu, OVK, Reflektorfalke, smegheadz

     
    magnuslu | # 108 | 2010-04-17, 13:23 | Report

    Originally Posted by robbie View Post
    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
    Thanks for adding another option. I'm only a bit worried to add dependency on yet another site as it adds another point of failure. As it already is, if SoccerDB is down, QSportsEvent is toasted as well...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Reflektorfalke | # 109 | 2010-04-17, 13:26 | Report

    Originally Posted by magnuslu View Post
    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.
    As ordered the icons for the menu (size is 32x32px by now).

    1. Select
    2. Favourites
    3. Matches
    4. Table
    5. News

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
         
    The Following 4 Users Say Thank You to Reflektorfalke For This Useful Post:
    magnuslu, OVK, smegheadz, tissot

     
    Reflektorfalke | # 110 | 2010-04-17, 13:27 | Report

    And

    6. Update scores

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     
    The Following 3 Users Say Thank You to Reflektorfalke For This Useful Post:
    DaSilva, smegheadz, tissot

     
    Page 11 of 40 | Prev |   9     10   11   12     13   21 | Next | Last
vBulletin® Version 3.8.8
Normal Logout