rainusero wrote:1. In previous version of your script there was some "feature" which isn't present at this new version of LUA script: After refreshing, there was let's say an "shuffle" mode initiated on all feed channels. Sometimes it ended on channel 1, or 2, or 3, etc (some kind of random function called SwitchTo() in previous version of script). In this version after refresh i get implicitly channel 1 and that's it... no more shuffle.
It wasn't random, it was just switching to a particular feed each time that feed was updated. I also liked that effect and have put it back in the latest (3rd October) version on
Deviant Art.
rainusero wrote:2. Could you explain what does this part do ? WebParserSubstitute="<![CDATA[":"","]]>":"","/PRE>":"","PRE>":""," ":" ","'s Facebook Notifications":"","Top Stories - Google ":""
Check the explanation for
Substitute in the manual. It is used to change text strings and in this case it is saying if you find "Facebook Notifications" or "Top Stories - Google " in the feed, replace it with a blank "". I don't know why these particular strings need to be removed but they are of no interest when it comes to displaying feed items.
rainusero wrote:3. What about option "NumberOfFeeds=x" which was very useful when I wanted to add to or subtract from the number of feeds displayed ?
"NumberOfFeeds=x" isn't needed with the latest version of the Reader script. You just add a copy of [MeasureFeed] as [MeasureFeed6] in the measures section and then add the new MeasureName in [MeasureReader]
Code: Select all
MeasureName=MeasureFeed|MeasureFeed2|MeasureFeed3|MeasureFeed4|MeasureFeed5|MeasureFeed6
You'll also have to add [Grabber6State] and [Grabber6] with the numbers changed to 6.
rainusero wrote:4. In section [MeasureLuaScript] there was an option "UpdateRate=x" when I decided how often my feeds were updated. Now i can not see it. How I can decide now how often my feed update will be performed ?
You change the UpdateRate for each feed in the [Variables] section:
Code: Select all
[Variables]
;-> put the URL's for news feeds here along with the update rate for each feed. (UpdateRate=1800 = update every 30 minutes).
URL1=http://feeds.bbci.co.uk/news/rss.xml?edition=uk
UpdateRate1=1800
@Kaleri: The script seems to be behaving itself today with DecodeCharacterReference=1 commented out. I did have to add &, ", ', > and < to #WebParserSubstitute# as they were popping up here and there in the feeds and titles.