I'm VERY new to doing any sort of scripts, but just needed some help for a small tweak. I've got this cool clock which displays the time and date in paragraph form, and displays the title from the top news story of an RSS feed. What I would like to do, is to make it display a quote from an RSS feed of my choice instead. I tried just sticking an RSS feed for a "quote of the day" site in the .ini file, but it would only return the title (which was usually the date of the quote, and not the quote itself).
Anyway, here is the code for the RSS reader, and I'd like to find out how to edit RegExp to obtain the quote of the day. Thanks in advance:
| Code: |
[msRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url="http://toolserver.org/~skagedal/feeds/qotd.xml"
UpdateRate=1000
RegExp="(?siU)<title>(.*)</title>(.+)<item(.*)<title>(.*)</title>"
StringIndex=4
FinishAction=!RainmeterRedraw
|
Here is the page where I would like to get quotes from:
toolserver.org/~skagedal/feeds/qotd.xml
Thanks.