Re: Reader
Posted: September 8th, 2012, 9:14 pm
I just noticed, when parsing the rainmeter forum rss feed, the script does not strip the cdata tags in the item title.
You're right, the script itself doesn't do that. I've just been using Substitute="<![CDATA[":"","]]>":"" on the WebParser. I'll move it to the script, though; it's a common enough tag that adding the Substitute by hand would be annoying.MerlinTheRed wrote:I just noticed, when parsing the rainmeter forum rss feed, the script does not strip the cdata tags in the item title.
Code: Select all
Substitute="#CRLF#":" "
Added on the script side. Thanks for pointing this out. :)Alex Becherer wrote:just an idea:
how about addingto avoid line breaks. some feeds have them, for example:Code: Select all
Substitute="#CRLF#":" "
http://www.shanghaidaily.com/rss/latest/
Code: Select all
Substitute="":""
other lua scripts work.Script: File not valid in [MeasureReader]
What is the complete path of the script file in this instance? (I suspect the issue is related to this.)Alex Becherer wrote:the script just stopped working for me with the new Rainmeter version: 2.4 beta (r1673)
i get this error: other lua scripts work.
Code: Select all
[MeasureReader]
Measure=Script
ScriptFile="#@#includes\Reader.lua"
MeasureName=MeasureFeed|MeasureFeed2|MeasureFeed3
MinItems=5
MaxItems=5
Code: Select all
C:\Users\Alex\Documents\Rainmeter\Skins\Sphynx\@RESOURCES\Includes\Reader.lua