Go Back   Sat Universe > DVB Cards Section > DVB Files > DVB Other Plugins

Note: Visitors from certain countries might see in-text advertising(underlind words in posts) or pop-under ads.
It is only shown to unregistered visitors or members that haven't made any posts. So you can easily get rid of it.

World-Of-Satellite

My Score Center -Plugin for Mediaportal

DVB Other Plugins

Closed Thread
  #1  
Old 04-09-2009, 15:55  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
juli13's Avatar
juli13 juli13 is online now
 
Join Date: Feb 2009
Posts: 9,661
Thanks: 6,411
Thanked 52,406 Times in 8,510 Posts
Default My Score Center -Plugin for Mediaportal

04.09.2009

MyScoreCenter displays sports results from "almost" any web sites.

NEW in version 0.10:
  • Online synchronization
  • New Rule: IsNull
  • New Rule Formatting: MergeCells and ReplaceText
  • Cell Alignement: use '+' to center text
  • Paging for long score
  • Possibility to order the results in the configuration
  • Configuration: improve performance of the building of the tree and saving
Attached Images
File Type: jpg results foot.jpg (97.7 KB, 11 views)
File Type: jpg results tdf.jpg (91.2 KB, 2 views)
File Type: jpg Main Screen.jpg (39.9 KB, 2 views)
File Type: jpg cat foot.jpg (42.2 KB, 2 views)
Attached Files
File Type: rar ScoreCenter_v0.10.rar (159.4 KB, 1 views)
__________________
The Following User Says Thank You to juli13 For This Useful Post:
deporte (06-11-2009)
  #2  
Old 26-09-2009, 22:15  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
juli13's Avatar
juli13 juli13 is online now
 
Join Date: Feb 2009
Posts: 9,661
Thanks: 6,411
Thanked 52,406 Times in 8,510 Posts
Default My Score Center - version 0.11

My Score Center - version 0.11

Description
Since it was difficult to find a site which can give results for all sports, I decided to create a very generic plugin.
The principle is very simple, the plugin just renders an HTML table. A score is represented by an URL and an XPath expression to find the table in the page (see: XPath Tutorial to learn about Xpath).
It works for almost everything displayed in a table. For now the two things which are not working are tennis results and single-elimination tournament, like play-off. But I think we will have some times to solve this before the end of next season.

The scores are displayed by category (or sport) and then by league.
For example: football (or soccer) is a category then each national championship is a league and then for a league you can display the current standings, the last results and the top scorer.
But this is totally configurable, and you can for example decide to display results by countries, then by sports...

The default configuration file contains definitions for:
  • Football: all the major championships (19 leagues),
  • Basketball: NBA (regular season)
  • Motors: Formula 1 and WRC
  • Cycling (Tour de France)
  • Rugby: France only
  • Tennis: ATP and WTA ranking,
  • US Football: an example for college football standings
  • Baseball MLB
  • Cricket (ICC + last results)
  • Ice Heckey: NHL, DEL (Germany), France
  • World Records

Most of the results are from lequipe.fr which has the advantage of not changing the URL when a new season starts.

Here is a screen shot of the configuration dialog.
It also allows you to enter your own header row, set the size of the columns, and skip some rows.
When you set the size of the column, specify a negative number to align the column to the left and a positive number to align to the right.
The test button allows you to test your setting.
Note that an Xpath expression can return many tables. In this case they all of them will be displayed. So if it is not what you want be sure to give an Xpath that will return only the table you want.

For each items (category, league and score) you can have an icon in the configuration screen.

Skin controls:
There are two main controls:
the list control for the navigation
a textbox control which defines the display area and the font to use.

The following properties can be used to display names and icons:
#ScoreCenter.Title: the name of the plugin,
#ScoreCenter.Category: current category,
#ScoreCenter.CatIco: current category icon,
#ScoreCenter.League: current league
#ScoreCenter.LIco: current league icon,
#ScoreCenter.Results: current results,
#ScoreCenter.ScoreIco: current score icon.
#ScoreCenter.bd: the backdrop to display.

NEW version 0.11:
  • Rule: Format is not required to create a rule
  • Internationalzation of the plugin
  • Config: New option to include (default) or not the <theader> tags when parsing a table
  • Config: Display the total width of the headers to give an idea if it will fit on one page
  • Fix: pb with encoding value in the downloaded HTML
Attached Images
File Type: jpg Main Screen.jpg (39.9 KB, 4 views)
File Type: jpg results tdf.jpg (91.2 KB, 4 views)
Attached Files
File Type: rar ScoreCenter_v0.11.rar (153.5 KB, 4 views)
__________________
The Following 3 Users Say Thank You to juli13 For This Useful Post:
deporte (06-11-2009), josagi (26-09-2009), m7ckey (26-09-2009)
  #3  
Old 06-11-2009, 12:28  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
juli13's Avatar
juli13 juli13 is online now
 
Join Date: Feb 2009
Posts: 9,661
Thanks: 6,411
Thanked 52,406 Times in 8,510 Posts
Default

06.11.2009

NEW version 1.0:
  • Fix: issue with listcontrol page label.
  • Add Russian language file (thanks to bounguine).
  • New Propery "#ScoreCenter.Source" to display the name of the source (web site).
  • Download icons zip file and unzip it if icons are missing after update.
  • Remember navigation (reselect previous item when going back).
  • New Action Rule: skip line.

Installation
Download the file and install the plugin, then go to MediaPortal and the plugin will download the default configuration file from the online web site.
Important: with version 1.0 if you are using MediaPortal 1.0.* you need to download the Ionic.Zip library and copy it to the main directory of MediaPortal.
Attached Files
File Type: rar ScoreCenter_v1.0.rar (155.5 KB, 3 views)
__________________
The Following 3 Users Say Thank You to juli13 For This Useful Post:
deporte (06-11-2009), hilton (06-11-2009), josagi (06-11-2009)
  #4  
Old 14-12-2009, 23:14  Translate from English to Italian  Translate from English to French  Translate from English to German  Translate from English to Spanish  Translate from English to Dutch  Translate from English to Greek  Translate from English to Portuguese  Translate from English to Russian  Translate from English to Russian
juli13's Avatar
juli13 juli13 is online now
 
Join Date: Feb 2009
Posts: 9,661
Thanks: 6,411
Thanked 52,406 Times in 8,510 Posts
Default

14.12.2009

NEW version 1.1:
  • Possibility to wrap text and to show new lines.
  • Config: Preview formatting in test tab.
  • Config: Set alignment by right-clicking a column in the grid.
  • Config: The 'Include THeader Rows' now includes (or excludes) the TFooter rows as well.
  • Config: Highlight the Save button when the score's setting has been changed.
  • Config: Improve performance when creating or copying a node.
  • Skin: Add a 'dummy' label control with ID=50. If the control is present in the skin then the list will be invisible when a score is displayed. This is feature is designed for small screen resolution.
Attached Images
File Type: jpg results tdf.jpg (91.2 KB, 2 views)
File Type: jpg results foot.jpg (97.7 KB, 1 views)
Attached Files
File Type: rar ScoreCenter_v1.1.rar (161.0 KB, 4 views)
__________________
The Following User Says Thank You to juli13 For This Useful Post:
josagi (14-12-2009)
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:06.


Powered by vBulletin
Copyright ©2006-2019 - Sat Universe