function ParseSpecialCharacters(sString)
sString = string.gsub(sString, '\"', '')
if string.match(sString, 'Google Reader') then
sString = string.match(sString, '"(.-)" via .- in Google Reader')
end
return sString
end
Hmph. I'll take a look using one of my own Google Reader feeds, then - they might be doing something evil. But there's no reason why this shouldn't be soluble.
function SwitchToNext()
iCurrentFeed = iCurrentFeed%iNumberOfFeeds + 1
SKIN:Bang('!SetVariable "'..sVariablePrefix..'CurrentFeed" "'..iCurrentFeed..'"')
Update()
end
function SwitchToPrevious()
iCurrentFeed = iCurrentFeed - 1 + (iCurrentFeed ==1 and iNumberOfFeeds or 0)
SKIN:Bang('!SetVariable "'..sVariablePrefix..'CurrentFeed" "'..iCurrentFeed..'"')
Update()
end
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
I really like your Evereader, so I installed it and customized it to my needs (as you can see in the screenshot). It works perfectly, but the in the About section you can read this:
How can I solve that error:matching? I have seen it displaying Success! a couple of times, and I can't understand yet the pattern at which the output changes.
Thanks.
Inactive, due to life changes. Send me a PM for any question.
There's no actual problem, fortunately. This happens because the Script measures are only updated once every 10 minutes. And the first time they run is before the WebParser measures have finished downloading your feeds - so there is, for a few milliseconds, a genuine matching error, and that message doesn't get updated until the next update, ten minutes later. (Every other time the script runs - either when you press one of the buttons, or when the WebParser measures finish - it's called by a !CommandMeasure bang, which means the measure value does not update.)
If it really bothers you, you can change the script measures from "UpdateDivider=600" to "Disabled=1". Then they'll just show up as "0.0" in the About window.
Hey, this looks cool...nice work! Any way it could be adapted to display entries from multiple RSS/XML/ical/whatever feeds in the same window, instead of cycling between each feed source?