MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2008-08-12, 01:50   #1 (permalink)
Portal Member
 
Join Date: Feb 2008
Posts: 140
Thanks: 6
Thanked 136 Times in 37 Posts

Country:

My System

Default RSS Ticker

Update: December 1st 2008, updated this post to latest version of plugin

I really liked the rss feed by JakeyMouse. Unfortunatly this wasn't implemented as a seperate plugin. So i started work on a standalone version of a rss ticker and here is what i came up with.

I created a proces plugin, configurable through MP Setup, that would simply fill a Control on screen with aggregated items from a specified feed. This control can be whatever you like, a label, fadelabel, textboxscrollup, etc... Wherever you use #rssfeed in your skinfile, the plugin fills it with the rss items.

Installation:
Download latest version and extract to {your MP directory}\plugins\process\.

Configuration:
Go to MP Configuration->Plugins->Process plugins->MP-RSSTicker and select Config.
The following settings are available

RSS Ticker settings
RSS Ticker enabled: Wether or not the ticker is enabled
Feed: The url of the feed to display
Image: The path of a descriptive image for the feed. A logo for example.
#Items: The number of items from the feed to display
separator: The character sequence to display between headlines.
Auto refresh enabled: Auto refresh feed
Refresh interval (min): Refresh feed every x minutes

Weather settings
Important: For the weather to work you need to configure the Weather plugin correctly
Weather enabled: Wether or not the weather info is enabled
Auto refresh enabled: Auto refresh weather info
Refresh interval (min): Refresh weather info every x minutes


rss-ticker-rss_configuration.pngrss-ticker-aeon_ticker.pngrss-ticker-streamedmp_ticker.png


To use the feed information in your skin files you can use the following definitions:
#rssfeed to show the feed items
Code:
	<control><description>RSS items</description>
		<type>fadelabel</type>
		<id>1</id>
		<posX>155</posX>
		<posY>628</posY>
		<width>1200</width>
		<height>50</height>
		<font>font14</font>
		<label>#rssfeed</label>
	</control>
#rssimg the path to the selected image
Code:
	<control><description>RSS image</description>
		<type>image</type>
		<id>3</id>
		<posX>0</posX>
		<posY>625</posY>
		<width>140</width>
		<height>35</height>
		<keepaspectratio>no</keepaspectratio>
		<texture>#rssimg</texture>
	</control>
#weatherimg the path to the weather image
Code:
<control>
	<description>Weather image</description>
	<type>image</type>
	<id>1</id>
	<posY>10</posY>
	<posX>10</posX>
	<texture>#weatherimg</texture>
</control>
#location location(City) the weather information applies to. e.g. Amsterdam
#temp the temperature.
#condition the condition. e.g. Fog
These can be used seperately but to keep the length of this post limited are used in a single label
Code:
<control>
	<description>location</description>
	<type>label</type>
	<id>1</id>
	<width>400</width>
	<height>50</height>
	<posY>25</posY>
	<posX>140</posX>
	<font>font14</font>
	<label>#location #temp #condition</label>
</control>


Sambal

Last edited by Sambal; 2008-12-01 at 13:38. Reason: Update to reflect latest plugin changes
Sambal is offline   Reply With Quote
Old 2008-08-12, 03:42   #2 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 731
Thanks: 135
Thanked 98 Times in 54 Posts

Country:

My System

Default

Works very well. Thanks!

I did notice, however, that it doesn't display when you first start MediaPortal. It seems to work no problem after that, though.

Last edited by jburnette; 2008-08-12 at 03:49.
jburnette is offline   Reply With Quote
Old 2008-08-12, 04:01   #3 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 270
Thanks: 29
Thanked 142 Times in 47 Posts

Country:

My System

Default

Would you be able to add the weather info also?
mattsk88 is online now   Reply With Quote
Old 2008-08-12, 08:31   #4 (permalink)
Portal Member
 
Join Date: Jun 2005
Location: Bolzano
Age: 37
Posts: 240
Thanks: 32
Thanked 5 Times in 5 Posts

Country:

My System

Default

Does this also work with WatchMenu.xml, ecc.?

Are the files generated with Aeon Menu Generator compatible with this plugin?

Thanks for your work
__________________
Roby

Download italian myvideos IMDB script yahoo.it
Download italian myvideos IMDB script mymovies.it
Visit my iPod Italian site: http://www.ipoditalia.it

robyf is offline   Reply With Quote
Old 2008-08-12, 09:21   #5 (permalink)
Portal Member
 
Join Date: Feb 2008
Posts: 140
Thanks: 6
Thanked 136 Times in 37 Posts

Country:

My System

Default

@jburnette
If you first start MP it can take some time for the feed to load. If you are patient it will show just fine.
Sometimes it shows up right away sometimes it doesn't. I'm looking into this.

@mattsk88
Is on the todo list. First priority is fixing the autorefresh

@robyf
This can be used in any xml you like.
It is not yet compatible with the menugenerator but i will implement this. Just implemented it. See generator thread.

Last edited by Sambal; 2008-08-12 at 12:05. Reason: Updated menu generator
Sambal is offline   Reply With Quote
Old 2008-08-12, 12:04   #6 (permalink)
Portal Designer
 
catavolt's Avatar
 
Join Date: Aug 2007
Location: Glashütten (Hochtaunus)
Posts: 281
Thanks: 66
Thanked 49 Times in 34 Posts

Country:


Default

Quote:
Originally Posted by mattsk88 View Post
Would you be able to add the weather info also?
+1

Hi Sambal, excellent work! Just implemented in PureVisionHD, see screenshot.

BTW: It is much easier to maintain this plugin if you put the respective controls into a "common.rss.xml" which than can be imported easily into the different skin files. I made it this way to simplify the process of implementation.
Attached Thumbnails
rss-ticker-purevisionhd-basichome-rss.jpg  
__________________
Best Regards
catavolt

Last edited by catavolt; 2008-08-12 at 14:00.
catavolt is offline   Reply With Quote
Old 2008-08-12, 13:13   #7 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

Great plugin Sambal, thank you


MoPhat
MoPhat is offline   Reply With Quote
Old 2008-08-12, 13:18   #8 (permalink)
Portal Member
 
the_ult's Avatar
 
Join Date: Jun 2008
Posts: 93
Thanks: 24
Thanked 10 Times in 3 Posts

Country:

My System

Default

Great work again Sambal :-)

And now back to work!!!
the_ult is offline   Reply With Quote
Old 2008-08-12, 14:06   #9 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 696
Thanks: 6
Thanked 54 Times in 13 Posts

Country:

My System

Default

Improvement suggestions/wish

If the feed was not updated and i go to anther screen (like from home to tv) and goes then back the rss feed should save his last displayed position and shows not again from the beginning.

so i can read many news without waiting that the loop is at end...

is this possible?

thank you - GREAT PLUGIN!

MoPhat
MoPhat is offline   Reply With Quote
Old 2008-08-12, 14:34   #10 (permalink)
Portal Designer
 
catavolt's Avatar
 
Join Date: Aug 2007
Location: Glashütten (Hochtaunus)
Posts: 281
Thanks: 66
Thanked 49 Times in 34 Posts

Country:


Default

Improvement suggestions/wish

Would it be possible to define multiple feeds which than would be displayed one after the other, e.g. first news, then sport, then stocks and so on?

__________________
Best Regards
catavolt
catavolt is offline   Reply With Quote
Reply

Bookmarks

Tags
rss, ticker

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS News ticker/scroller scythelt Improvement Suggestions 17 2007-10-30 18:43
Info ticker partly visible martijn_online 0.2.3.0 RC1 and SVN Builds 2 2007-08-09 14:21
News Ticker Flipit Improvement Suggestions 0 2006-08-07 21:16
RSS plugin alex Installation, configuration support 9 2005-12-28 14:55
Java ticker not readable chili Website/Forum/Wiki Feedback 16 2005-10-29 16:41


All times are GMT +1. The time now is 05:49.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden