Page 10 of 13

Re: Reader

Posted: September 8th, 2012, 9:14 pm
by MerlinTheRed
I just noticed, when parsing the rainmeter forum rss feed, the script does not strip the cdata tags in the item title.

Re: Reader

Posted: September 8th, 2012, 10:22 pm
by Kaelri
MerlinTheRed wrote: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.

Re: Reader

Posted: September 19th, 2012, 12:40 pm
by Alex Becherer
just an idea:

how about adding

Code: Select all

Substitute="#CRLF#":" "
to avoid line breaks. some feeds have them, for example:
http://www.shanghaidaily.com/rss/latest/

Re: Reader

Posted: September 19th, 2012, 2:55 pm
by Kaelri
Alex Becherer wrote:just an idea:

how about adding

Code: Select all

Substitute="#CRLF#":" "
to avoid line breaks. some feeds have them, for example:
http://www.shanghaidaily.com/rss/latest/
Added on the script side. Thanks for pointing this out. :)

Re: Reader

Posted: October 3rd, 2012, 1:06 pm
by Alex Becherer
another thing to add to WebParserSubstitute (to avoid the display of question marks for non-breaking space with some fonts):

Code: Select all

Substitute="‎":""
important: the ini has to be Unicode encoded.
else there will be Substitute="?":""

please see this thread for more info: http://rainmeter.net/forum/viewtopic.php?f=5&t=13639

Re: Reader

Posted: October 3rd, 2012, 3:28 pm
by Kaelri
I replied to the aforementioned thread. Your solution works for now, but I'm going to try and get this addressed from the Lua side of things.

Re: Reader

Posted: October 7th, 2012, 4:31 pm
by Alex Becherer
the script just stopped working for me with the new Rainmeter version: 2.4 beta (r1673)

i get this error:
Script: File not valid in [MeasureReader]
other lua scripts work.

Re: Reader

Posted: October 7th, 2012, 4:41 pm
by Kaelri
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.
What is the complete path of the script file in this instance? (I suspect the issue is related to this.)

Re: Reader

Posted: October 7th, 2012, 4:56 pm
by Alex Becherer

Code: Select all

[MeasureReader]
Measure=Script
ScriptFile="#@#includes\Reader.lua"
MeasureName=MeasureFeed|MeasureFeed2|MeasureFeed3
MinItems=5
MaxItems=5
complete path is:

Code: Select all

C:\Users\Alex\Documents\Rainmeter\Skins\Sphynx\@RESOURCES\Includes\Reader.lua
what does confuse me is that the other lua scripts in the same folder do work.
using the full path in the section does return the same error.


btw: the example EveReader skin in post number 1 of this thread returns the same error.

Re: Reader

Posted: October 7th, 2012, 7:58 pm
by Kaelri
This was indeed a bug in today's beta, and has now been fixed. Grab the updated beta from the homepage. Sorry about that; thanks for reporting. :)