Following on from a separate thread, below is a snippet which I am using to display a daily quote.
// ------------------------------------------
// START REGION 9, PAGE 20 (Daily Quote feed)
region,9,20,-1
load,rss,10
endregion,9,20
// END REGION 9, PAGE 20 (Daily Quote feed)
// ------------------------------------------
// ------------------------------------------
// START REGION 0, PAGE 30 (Quote)
region,0,30,-1
offset,offset_-1,offset_-1
offsetadd,0,12
changefont,tahoma,12,i
RSS,description,5,0,230,37,1,,,
changefont,tahoma,12,b
RSS,title,0,32,230,12,1,,,r
changefont,tahoma,12,
offsetadd,0,47
endregion,0,30
// END REGION 0, PAGE 30 (Quote)
// -----------------------------------------
To make it work, just add the following line to your config.txt file:
rss,10,1200,http://www.quotationspage.com/data/mqotd.rss,Quote of the Day,0
You'll also need to include a button somewhere to switch to region 0, page 30.
Be warned, however, if you are using this with your own skin, it uses region 9 to load the data, as do the weather and rss sections, so you'll need to make sure that the standard analog-weather.com.txt behaviour is retained, ie switching to an appropriate page of region 9 when weather/rss pages are enabled, eg:
imagebutton,212,3,weather.png,t,9,4,0,-1
button,212,3,11,11,0,4,0
This shouldn't be an issue - it just caught me out for a few mins as I'd modified those buttons previously.
See below a slight mod to my quote of the day code to cycle through the first 10 quotes, so you get a different one each time you look.
// ------------------------------------------
// START REGION 9, PAGE 20 (Daily Quote feed)
region,9,20,-1
load,rss,10
storevar,var3=0
endregion,9,20
// END REGION 9, PAGE 20 (Daily Quote feed)
// ------------------------------------------
// ------------------------------------------
// START REGION 0, PAGE 30 (Quote)
region,0,30,-1
offset,offset_-1,offset_-1
// minimise this region
imagebutton,226,1,minimise.png,t,0,4,999,-1
// initialise var8 at Plug-in reload
initvar,var8=0
if,var,var8,10,><,10
storevar,var8=1
else
addvar,var8,1
endif
offsetadd,0,12
changefont,tahoma,11,i
RSS,description,5,0,230,37,%var8%,,,
changefont,tahoma,11,b
RSS,title,0,32,230,12,%var8%,,,r
changefont,tahoma,12,
offsetadd,0,47
endregion,0,30
// END REGION 0, PAGE 30 (Quote)
// -----------------------------------------
See previous post for additional guidelines on integrating this into your skin.