This project is read-only.

How to use (for skinners)

This page provides some useful informations for skin developers.

Skin file (Feeds)

Display feed items and change feed on home screen.

Filename Window ID
infoservice.feeds.xml 16001

Controls

Control Control ID Description
Buttonl 2 Refresh all feeds
Buttonl 4 Change feed on home screen and on window
Buttonl 5 Set all feeds on home screen

Skin file (Twitter)

Display twitter timelines and change timeline on home screen.

Filename Window ID
infoservice.twitter.xml 16003

Controls

Control Control ID Description
Buttonl 2 Refresh twitter timelines
Buttonl 4 Change timeline on home screen and on window
Buttonl 5 Update twitter status


Property items

To show informations from InfoService on the home screen.

Twitter

Property name Description
#infoservice.twitter.enabled Indicates wether the TwitterService is enabled or disabled. e.x. False
#infoservice.twitter.messages A line of your twitter friends timelime separated by a separator thats set in the options
#infoservice.twitter.selected.username The selected username in the twitter listcontrol
#infoservice.twitter.selected.userpicture The path to the picture of the selected user in the twitter listcontrol
#infoservice.twitter.selected.timeline The selected timeline
#infoservice.twitter.itemcount Twitter items count in a timeline
#infoservice.twitter.separator Separator string e.x. ::
#infoservice.twitter.lastupdated Last updated time from twitter

RDF/RSS/ATOM feeds

Property name Description
#infoservice.feed.enabled Indicates wether the FeedService is enabled or disabled. e.x. False
#infoservice.feed.titles A line of your feed messages separated by a separator thats set in the options
#infoservice.feed.alltitles A line of all feed messages separated by a separator thats set in the options
#infoservice.feed.img A image link for the rssfeed. e.x. C:\Temp\microsoft.jpg
#infoservice.feed.selected.itemimg A image link for an item of a feed (only RSS2.0)
#infoservice.feed.selected.index Current selected index in the listcontrol
#infoservice.feed.selected.feed Current viewed feedname
#infoservice.feed.selected.title Current selected tilte in the listcontrol
#infoservice.feed.selected.type Current viewed feedtype ex. RSS / RDF / Atom
#infoservice.feed.itemcount Feed items in the listcontrol
#infoservice.feed.separator Separator string e.x. ::
#infoservice.feed.lastupdated Last updated time from feeds

Recently Added

Example: #infoservice.recentlyAdded.movie[1].title - Gives the recently added movie back
Another example #infoservice.recentlyAdded.movie[2].title - Gives the last recently added movie back
Possible values: 1 - 3
Property name Description
#infoservice.recentlyAdded.movie[X].title The movie title
#infoservice.recentlyAdded.movie[X].thumb The movie cover
#infoservice.recentlyAdded.series[X].title The series title
#infoservice.recentlyAdded.series[X].thumb The series cover
#infoservice.recentlyAdded.series[X].episodenumber The episode number
#infoservice.recentlyAdded.series[X].episodetitle The episode title
#infoservice.recentlyAdded.series[X].season The season of the series

Weather

Property name Description
#infoservice.weather.enabled Indicates wether the WeatherService is enabled or disabled. e.x. False
#infoservice.weather.location Weather location
#infoservice.weather.lastupdated Last updated time from weather

Today weather data

Property name Description
#infoservice.weather.today.temp Todays temparature from location
#infoservice.weather.today.condition Todays condition. e.x. Mostly cloudy
#infoservice.weather.today.mintemp Todays minimal temparature
#infoservice.weather.today.maxtemp Todays maximal temparature
#infoservice.weather.today.feelsliketemp Todays feels like temperature
#infoservice.weather.today.humidity Todays humidity e.x. 49%
#infoservice.weather.today.uvindex Todays uv index e.x. "4 Low"
#infoservice.weather.today.sunrise Todays sunrise time
#infoservice.weather.today.sunset Todays sunset time
#infoservice.weather.today.wind Wind data from today
#infoservice.weather.today.img.small.fullpath Todays weather condition image fullpath in the size 64x64
#infoservice.weather.today.img.small.filenamewithext Todays weather condition image filename in the size of 64x64
#infoservice.weather.today.img.small.filenamewithoutext Todays weather condition image filename without extension in the size of 64x64
#infoservice.weather.today.img.big.fullpath Todays weather condition image fullpath in the size 128x128
#infoservice.weather.today.img.big.filenamewithext Todays weather condition image filename in the size of 128x128
#infoservice.weather.today.img.big.filenamewithoutext Todays weather condition image filename without extension in the size of 128x128
#infoservice.weather.today.weekday Todays weekname. e.x. Monday

Day X (Next day) weather data

Where X stands for a following day.
Example: #infoservice.weather.day2.mintemp - Gives the min temperature of tomorrow
Another example #infoservice.weather.day3.mintemp - Gives the min temperature of the day after tomorrow
Possible values: 2 - 6
Property name Description
#infoservice.weather.dayX.mintemp Day X minimal temperature
#infoservice.weather.dayX.maxtemp Day X maximal temperature
#infoservice.weather.dayX.sunrise Day X sunrise time
#infoservice.weather.dayX.sunset Day X sunset time
#infoservice.weather.dayX.day.condition Day X day condition. e.x. Mostly cloudy
#infoservice.weather.dayX.day.wind Wind data from day X
#infoservice.weather.dayX.day.humidity Humidity data from day X
#infoservice.weather.dayX.day.img.small.fullpath Day X weather condition image fullpath in the size 64x64
#infoservice.weather.dayX.day.img.small.filenamewithext Day X weather condition image filename in the size of 64x64
#infoservice.weather.dayX.day.img.small.filenamewithoutext Day X weather condition image filename without extension in the size of 64x64
#infoservice.weather.dayX.day.img.big.fullpath Day X weather condition image fullpath in the size 128x128
#infoservice.weather.dayX.day.img.big.filenamewithext Day X weather condition image filename in the size of 128x128
#infoservice.weather.dayX.day.img.big.filenamewithoutext Day X weather condition image filename without extension in the size of 128x128
#infoservice.weather.dayX.night.condition Day X night condition. e.x. Mostly cloudy
#infoservice.weather.dayX.night.wind Wind data from day X
#infoservice.weather.dayX.night.humidity Humidity data from day X
#infoservice.weather.dayX.night.img.small.fullpath Day X weather condition image fullpath in the size 64x64
#infoservice.weather.dayX.night.img.small.filenamewithext Day X weather condition image filename in the size of 64x64
#infoservice.weather.dayX.night.img.small.filenamewithoutext Day X weather condition image filename without extension in the size of 64x64
#infoservice.weather.dayX.night.img.big.fullpath Day X weather condition image fullpath in the size 128x128
#infoservice.weather.dayX.night.img.big.filenamewithext Day X weather condition image filename in the size of 128x128
#infoservice.weather.dayX.night.img.big.filenamewithoutext Day X weather condition image filename without extension in the size of 128x128
#infoservice.weather.dayX.weekday Day X weekname. e.x. Tuesday

Example

Just add an item on your basichome. For exampe a Fadelabel and set it up as shown below:

<control><description>Feed Items</description>
    <type>fadelabel</type>
    <id>1</id>
    <width>1160</width>
    <height>50</height>
    <posX>130</posX>
    <posY>505</posY>
    <font>mediastream12</font>
        <textcolor>ff000000</textcolor>
    <label>#infoservice.feed.titles</label>
    <visible>plugin.isenabled(InfoService)</visible>
</control>

If you want to give the users of your skin the possibility to change the feed, add the hyperlink tag with 16001 to your button. Example:
<control><description>feed image</description>
    <type>button</type>
    <id>1111</id>
    <width>70</width>
    <height>28</height>
    <posY>505</posY>
    <posX>60</posX>
    <onup>1702</onup>
    <hyperlink>16001</hyperlink>
    <textureFocus>#infoservice.feed.img</textureFocus>
    <textureNoFocus>#infoservice.feed.img</textureNoFocus>
    <visible>plugin.isenabled(InfoService)</visible>
</control>
If you want to give the user the possibility to show his twitter timelines, use the same example shown above, but use in the hyperlink tag 16003.

Last edited Jan 10, 2010 at 4:21 AM by edsche, version 16

Comments

No comments yet.