been playing around with RSS scripts.. and want to share my findings..
So if you got some tips/tricks post them here...
FIRST the basics.. how to build a menu.. (using menu.rss = main menu)
The Menu file starts with values for the layout (line 3)
EXAMPLE:
<?xml version="1.0"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<mediaDisplay name="photoView" showHeader="yes" rowCount="3" columnCount="2" drawItemText="no" menuBorderColor="0:0:0" sideColorBottom="0:0:0" sideColorTop="0:0:0" itemImageXPC="5" itemOffsetXPC="25" backgroundColor="0:0:0" sliding="yes"
______________________________________________________________
This example: photoview with a header, 3 rows and 2 colums.
the colors are RGB (0:0:0 = black)(
http://www.colorschemer.com/online.html)
The itemOffsetXPC value used for the size of the items (high value=small item-pictures)
______________________________________________________________
idleImageXPC="88"
idleImageYPC="12" idleImageWidthPC="4"idleImageHeightPC="13">
<idleImage> /home/scripts/trt/loading/load1.png </idleImage>
<idleImage> /home/scripts/trt/loading/load2.png </idleImage>
Next the Idle-Image this is the image(s) you see when you select a item (loading) what in this example does not work?
______________________________________________________________
<backgroundDisplay><image offsetXPC=0 offsetYPC=10 widthPC=100 heightPC=100>/home/scripts/trt/menu.jpg</image></backgroundDisplay>
Then the background..
The offsetXPC/YPC value is used for possioning X-horizontal (0-100= left to right) Y-vertical (0-100= top to bottom)
and widthPC/heightPC for image size (this case 100%) then path to the backgroundimage..
________________________________________________________________
<image offsetXPC=2 offsetYPC=2.8 widthPC=90 heightPC=10> /home/scripts/trt/top.jpg </image>
<text offsetXPC=10 offsetYPC=7 widthPC=35 heightPC=10 fontSize=30 backgroundColor=-1:-1:-1 foregroundColor=255:255:255>Internet Media</text>
</mediaDisplay>
<channel>
Next a image for the top and a Title text..
Again offset for possitioning X Horizontal Y vertical and
widthPC/heightPC for image size followed by the path to image.
The the Title text same again here offset and size (length).. fontsize and color (foregroundcolor) and the Text (Internet Media)
************************************************************
___________________________________________________________
So now we got a custom menu next adding the Items...
This can be a link to a exsiting RSS for example youtube..
<item>
<title>Youtube</title>
<link>/home/scripts/Youtube2/index.rss</link>
<media:thumbnail url="/home/scripts/trt/Youtube.jpg" width="120" height="120" />
</item>
or to a sub-menu (new layout)
<item>
<title>My Favorite Feeds</title>
<link>/home/scripts/trt/menu.rss</link>
<media:thumbnail url="/home/scripts/trt/rockit.jpg"/>
<mediaDisplay name="photoView" showHeader="yes" rowCount="4" columnCount="3" drawItemText="no" menuBorderColor="0:0:0" sideColorBottom="0:0:0" sideColorTop="0:0:0" itemImageXPC="5" itemOffsetXPC="25" backgroundColor="0:0:0" sliding="yes" idleImageXPC="88"
idleImageYPC="2" idleImageWidthPC="12"idleImageHeightPC="28">
<idleImage> /home/scripts/trt/loading/load1.png </idleImage>
<idleImage> /home/scripts/trt/loading/load2.png </idleImage>
<backgroundDisplay><image offsetXPC=0 offsetYPC=10 widthPC=100 heightPC=100>/home/scripts/trt/Simpsons.jpg</image></backgroundDisplay>
</mediaDisplay>
</item>
or to a Feed main page (again with new layout)
<item>
<title>The Hak5 Show</title>
<link>http://revision3.com/hak5/feed/MP4-High-Definition</link>
<media:thumbnail url="http://bitcast-a.bitgravity.com/revision3/images/shows/hak5/hak5.jpg" width="120" height="120" />
<mediaDisplay name="photoView" showHeader="yes" rowCount="4" columnCount="3" drawItemText="no" menuBorderColor="0:0:0" sideColorBottom="0:0:0" sideColorTop="0:0:0" itemImageXPC="10" itemOffsetXPC="20" backgroundColor="0:0:0" sliding="yes" idleImageXPC="88"
idleImageYPC="2" idleImageWidthPC="8"idleImageHeightPC="18">
<idleImage> /home/scripts/trt/loading/load1.png </idleImage>
<idleImage> /home/scripts/trt/loading/load2.png </idleImage>
<backgroundDisplay><image offsetXPC=0 offsetYPC=10 widthPC=100 heightPC=100>/home/scripts/trt/hak5bg.jpg</image></backgroundDisplay>
</mediaDisplay>
</item>
and for example a pod-cast (this example works but not all feeds work?!)
<item>
<title>Hardware Info TV</title>
<link>http://www.hardware.info/nl-NL/rss/podcast_video.xml?format=xml</link>
<media:thumbnail url="/home/scripts/trt/hwi.jpg" width="120" height="120" />
<mediaDisplay name="photoView" showHeader="yes" rowCount="4" columnCount="3" drawItemText="no" menuBorderColor="0:0:0" sideColorBottom="0:0:0" sideColorTop="0:0:0" itemImageXPC="10" itemOffsetXPC="20" backgroundColor="0:0:0" sliding="yes" idleImageXPC="88"
idleImageYPC="2" idleImageWidthPC="12"idleImageHeightPC="28">
<idleImage> /home/scripts/trt/loading/load1.png </idleImage>
<idleImage> /home/scripts/trt/loading/load2.png </idleImage>
<backgroundDisplay><image offsetXPC=0 offsetYPC=10 widthPC=100 heightPC=100>/home/scripts/trt/hak5bg.jpg</image></backgroundDisplay>
</mediaDisplay>
</item>
</channel>
</rss>
________________________________________________________________
So now we got a mainmenu with a link to a sub-menu... where we can link to feeds..