Active Topics

 



Notices


Reply
Thread Tools
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#311
Originally Posted by magnuslu View Post
Ok, I've given up on CSS to render the RSS news feeds. That was probably a good decision as XSL is the better way to go.
Now it works

Will be added in 0.0.7!

I have planned two other features for that release (along with a few bug fixes). One is almost there, the other one... Well, we'll see how it turns out... Worst case I'll release 0.0.7 without it in the weekend.
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#312
Originally Posted by magnuslu View Post
Now it works

Will be added in 0.0.7!

I have planned two other features for that release (along with a few bug fixes). One is almost there, the other one... Well, we'll see how it turns out... Worst case I'll release 0.0.7 without it in the weekend.
Sounds great!


And your "surprise" features make me even more curious
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#313
QSportsEvent 0.0.7, aka. Stadio Olimpico di Roma edition, will be released tomorrow! Ok, all great products have names as well as version numbers for their releases, so I thought I'd follow in that tradition. The selection this time is made because Inter Milan won the Italian Cup at that venue yesterday

One of the new features is that the UI will be somewhat 'user configurable'. In Qt, stylesheets can be applied to application widgets. These stylesheets can be read from a file and be changed in runtime. There will be a .qsportsevent/user folder where you can put your own matches.css, table.css, select.css and favourites.css files with the stylesheets to be used in those respective tabs of the application. Instructions as to exactly what and how you can use it can be found in the Qt documentation and tutorial. As an example, it should be possible for you to change the background image (your favourite team's stadium? a team picture? your girlfriend??) and the appearance of the 'matches' and 'table' tables.

Example:
Code:
background-image: url(<full path to the image you want to use>);
EDIT: In the sample file, the full path is preceeded by a ':' character. You should NOT use it! It is only needed when the item is taken from a Qt resource file. For user customization you will take it directly from the file system, so you shouldn't use that prefix!

The other 'user configurable' feature is the rendering of the RSS feeds. You'll find this file in .qsportsevent/rss.xsl.

Find samples in the attachment. Please note that the default implementation has the same stylesheet for all tabs, so I only attach one example. To be able to upload files to TMO, they have to have an 'acceptable' extension, that's why I had to add .txt. You don't need that on the device.

Please note that upgrades to newer versions of QSportsEvent might delete your files that you store in these folders, so please make sure to keep backups of them in other locations!

Be creative! Share screenshots, xsl, css and image files on the forum! I'm more than willing to change the default ones that come with the application with better looking examples provided by the community!

Please note that this is very experimental! I have barely tested it myself! I include it mainly because I don't want to spend too much time on the appearance of the UI and prefer to concentrate on functionality. Besides, implementing the feature only took 15-20 minutes anyway... Ok, it took longer to write these instructions

I can't guarantee that this feature will remain in the app, but I don't see any reason why not...
Attached Files
File Type: txt rss.xsl.txt (1.5 KB, 117 views)
File Type: txt select.css.txt (70 Bytes, 101 views)
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).

Last edited by magnuslu; 2010-05-06 at 16:11. Reason: Clarification
 

The Following User Says Thank You to magnuslu For This Useful Post:
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#314
Originally Posted by magnuslu View Post
I seem to remember that some community members reported that they did get the app to work on Diablo. Maybe the best approach is to find out from them what they might have done that others haven't, specifically in terms of qt and sqlite packages that they have installed on their devices.
If ANY Diablo user, as Magnus mentions above, have managed to get this app running on Diablo can you PLEASE say how? I'm not getting a warm and fuzzy feeling that I'll have a working version in a month
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#315
Oh well... The quality assurance department says that QSportsEvent 0.0.7 - Stadio Olimpico di Roma is good to go one day early!

All you need to know is in the QSportsEvent wiki page. Some reminders though!

1. Uninstall any previous version.
2. You will loose all your favourites.
3. There is a new dependency on libqt4-xmlpatterns. See the wiki page for installation details.
4. This is still a beta! Expect issues, and please, report them!
5. This is still a beta! Features will change!

Enjoy!
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).

Last edited by magnuslu; 2010-05-22 at 06:35. Reason: Removed obsolete .deb file
 

The Following 2 Users Say Thank You to magnuslu For This Useful Post:
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#316
Originally Posted by silvermountain View Post
If ANY Diablo user, as Magnus mentions above, have managed to get this app running on Diablo can you PLEASE say how? I'm not getting a warm and fuzzy feeling that I'll have a working version in a month
Oops... The one who reported that it was 'working' on Diablo was... You! In this post.

Can you please post (again) the errors you are getting when you launch it from the terminal window? I'll add it to the Wiki and see if someone who reads it might have any clues...

Anyway, I just submitted 0.0.7 to Diablo Extras-Devel (NOT Fremantle (i.e., N900), for those who might be wondering...), so it should be there. I haven't done anything that would fix this problem though, but it's always best to test with the latest version.
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#317
Originally Posted by magnuslu View Post
Oh well... The quality assurance department says that QSportsEvent 0.0.7 - Stadio Olimpico di Roma is good to go one day early!
Good decision - less waiting time for us

Already installed - first impression:

You are THE MAN, Magnuslu !!!

Again great progress, even bigger than expected

Hope I can find some time for testing soon - especially the new livescores!!!
 

The Following User Says Thank You to Reflektorfalke For This Useful Post:
silvermountain's Avatar
Posts: 1,359 | Thanked: 717 times | Joined on May 2009 @ ...standing right behind you...
#318
Originally Posted by magnuslu View Post
Oops... The one who reported that it was 'working' on Diablo was... You! In this post.
Yes, it worked once for me but then after an upgrade I got SQLITE errors. I'll post the errors in detail when I get back to where my NIT is later today
__________________
.N810 experience: Since 6/2009
My Twenty Favorite OS2008 Applications:
AutoScan, Diablo5 Theme, Dialcentral, DragLock, EmelFM2, FlipClock, gPodder, Headphoned, Knots 2, Maemo Mapper, mPlayer, openNTPD, OpenSSH, Panucci, Personal Launcher, QuickNote, Seqretary, SlideLock, Telescope, YellowNotes
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#319
Originally Posted by Reflektorfalke View Post
Good decision - less waiting time for us

Already installed - first impression:

You are THE MAN, Magnuslu !!!

Again great progress, even bigger than expected

Hope I can find some time for testing soon - especially the new livescores!!!
Could you please post some screenshots?
Would be nice...
 
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#320
Originally Posted by DaSilva View Post
Could you please post some screenshots?
Would be nice...
And here the screenshots. Remember that the UI is user configurable as of v.0.0.7, so hopefully the creative members of this community will upload their own screenshots over time
Attached Images
   
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).
 

The Following 3 Users Say Thank You to magnuslu For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:59.