maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [QSportsEvent] FIFA World Cup and Football App (https://talk.maemo.org/showthread.php?t=49508)

Reflektorfalke 2010-04-17 08:18

Re: FIFA World Cup App ?
 
Ah one thing that hasnīt been mentioned in this thread: Portrait Mode!

I know there is a lot of whining about portrait mode out there, but I think it would be a really nice addition to this app.
Especially when you think about league tables and long match days or maybe for the World Cup screens with the matches and the group tables in one view...
Plus, the addition of club logos / flags might make a certain line height necessary and will look probably better in portrait mode!?

I understand that this is easier to implement with PR1.2 (right?).
Just wanted to suggest you keep that in mind ;-)

Reflektorfalke 2010-04-17 09:19

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 611385)
Seems though that SoccerDB is not so good for 'knock-out' stages of competitions and thus cups and our beloved WC! Any ideas there?

What is the problem here with SoccerDB?
What are the requirements for a good source of data?
What about the previously mentioned idea of finding a idea a sponsor that provides data and maybe even some incentives / rewards for your work?

magnuslu 2010-04-17 10:09

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by Reflektorfalke (Post 614473)
Ah one thing that hasnīt been mentioned in this thread: Portrait Mode!

This was supposed to be one of the surprise features in a coming version :)

Reflektorfalke 2010-04-17 11:15

Re: FIFA World Cup App ?
 
Some more Icons for use within the app or as app-icon.
Please share which one you like...http://images1.artua.com/freeicons/sections/soccer.jpg

magnuslu 2010-04-17 11:22

Re: FIFA World Cup App ?
 
Anyone is an ace on CSS classes?

The SoccerDB site explains how the HTML can be formatted here: http://www.aragon.ws/soccerdb/site/usingmatches.php

My first lame attempts are as follows:

Code:

<HTML>
                <style type="text/css">
                .Date
                {
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        background-color: #00FF66;
                        padding: 2px;
                        margin: 5px;
                        border-left-style: groove;
                        border-left-color: green;
                        border-left-width: 5px;
                        border-bottom-style: ridge;
                        border-bottom-color: yellow;
                        border-bottom-width: 5px;
                }
                .Match
                {
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        color: blue;
                        background-color: #ffffff;
                        padding: 2px 1px;
                }

                </style>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/getmatches.php?id=714&css=Match&cssDate=Date"></script>
</HTML>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/gettable.php?id=714&css=Match"></script>
</HTML>

As I'm more of a developer than a designer, community help is appreciated here... I haven't figured out if it is possible to use a style for the table either. So far I only got to work with the matches.

robbie 2010-04-17 12:02

Re: FIFA World Cup App ?
 
Sure you can change the table style (see below). How do you want to have the things styled? Can you create a mockup?

Code:

<HTML>
  <head>
    <style type="text/css">
      body {
        font-family: verdana, geneva, arial, helvetica, sans-serif;
      }
      table {
        background-color: white;
        color: blue;
      }
    .Date {
      background-color: #00FF66;
      color: black;
      padding: 2px;
      margin: 5px;
      border-left-style: groove;
      border-left-color: green;
      border-left-width: 5px;
      border-bottom-style: ridge;
      border-bottom-color: yellow;
      border-bottom-width: 5px;
    }
    .Match {
      padding: 2px 1px;
    }

    </style>
    <script type="text/javascript" src="http://www.aragon.ws/soccerdb/getmatches.php?id=714&css=Match&cssDate=Date"></script>
    <script type="text/javascript" src="http://www.aragon.ws/soccerdb/gettable.php?id=714&css=Match"></script>
  </head>
<body>
 
</body>
</HTML>


robbie 2010-04-17 12:10

Re: FIFA World Cup App ?
 
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

magnuslu 2010-04-17 12:12

Re: FIFA World Cup App ?
 
No. I don't have anything specific in mind. Anyway, I'm sure you can provide a sample faster than I can provide a mockup.:)

magnuslu 2010-04-17 12:16

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by robbie (Post 614646)
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.

I know... I'm working on some other functionality first, but will revisit this later. I hope to have a new version out either today or tomorrow for everyone's review.

Reflektorfalke 2010-04-17 12:18

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 614609)
Anyone is an ace on CSS classes?

The SoccerDB site explains how the HTML can be formatted here: http://www.aragon.ws/soccerdb/site/usingmatches.php

As I'm more of a developer than a designer, community help is appreciated here... I haven't figured out if it is possible to use a style for the table either. So far I only got to work with the matches.

Here is an example as base for further discussions:

Code:

<HTML>
                <style type="text/css">
                .Date
                {
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        background-color: #4F81BD;
                        padding: 2px;
                        margin: 5px;
                        border-style: solid;
                        border-color: #8EB4E3;
                        border-width: 2px;
                        -moz-border-radius: 5px;
                }
                .Match
                {
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        color: black;
                        background-color: #8EB4E3;
                        padding: 2px 1px;
                }
                .header {
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        font-weight: bold;
                        padding: 2px;
                }
                .odd {
                        background-color: #ebebeb;
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        padding: 2px;
                }
                .even {
                        background-color: #fff;
                        font-family: verdana, geneva, arial, helvetica, sans-serif;
                        padding: 2px;
                }
                .lines {
                        background-color: #000;
                }
                .highlight {
                        font-weight: bold;
                }


                </style>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/getmatches.php?id=714&css=Match&cssDate=Date"></script>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/gettable.php?id=391&&showHeader=true
&cssHeader=header&cssLines=lines&css1=odd&css2=even&highlightTeam=24&cssHighlight=highlight"></script> <script type="text/javascript"
src="http://www.aragon.ws/soccerdb/gettable.php?id=714&css=Match"></script>
</HTML>



All times are GMT. The time now is 18:15.

vBulletin® Version 3.8.8