RSS feed of the Rainmeter forums. See Settings.inc for important information.
This is really intended for Rainmeter Forum nerds... It can not only flag "new" posts in the last XX minutes, but flag posts created by "you" and flag forum names or post subjects with keywords you want to "watch".
It is currently December 9th, 2023, 3:06 pm
LuaRainRSS
-
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
LuaRainRSS
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 5238
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: LuaRainRSS
I had to create 2 missing variables in the settings.ini, but then it works great!
Thanks for this, I will definitely be using it!

Code: Select all
MyName={MyForumUserName}
MyPassword={MyForumPassword}
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: LuaRainRSS
Glad you like it.eclectic-tech wrote:I had to create 2 missing variables in the settings.ini, but then it works great!
Thanks for this, I will definitely be using it!Code: Select all
MyName={MyForumUserName} MyPassword={MyForumPassword}
You should not have had to "create" any variables in Settings.inc, but just "changed" the ones that are there:
Code: Select all
; Change DoMyName to "1" and set MyName and MyPassword to flag "your" posts.
DoMyName=0
MyName=XXXXXX
MyPassword=XXXXXX
MyColor=255,222,161,255
-
- Rainmeter Sage
- Posts: 5238
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: LuaRainRSS
I Need More Coffee this morning... I was looking at the top for them and skimmed the rest!! 
My apology,thanks again!

My apology,thanks again!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 826
- Joined: November 20th, 2012, 11:58 pm
-
- Developer
- Posts: 265
- Joined: June 28th, 2014, 8:32 am
- Location: Tokyo, Japan
Re: LuaRainRSS
That is cool!
dave

dave
-
- Posts: 21
- Joined: October 22nd, 2014, 7:11 pm
Re: LuaRainRSS
I couldn't get this to work and it took me a long time to finally find the issue: The TimeStamp function doesn't take into account the possibility of zhours and zminutes not existing and then the whole year, month, day, ... fails entirely.
Proposed solution
Proposed solution
Code: Select all
function TimeStamp(itemDate)
-- feed date format: 2015-03-14T15:06:40-05:00
local year, month, day, hour, min, sec =
string.match(itemDate, "(%d%d%d%d)-(%d%d)-(%d%d)T(%d%d):(%d%d):(%d%d)")
local zhours, zminutes = string.match(itemDate, "%d+-%d+-%d+T%d+:%d+:%d+(.-):(%d%d)")
if not zhours then zhours = 0 end
if not zminutes then zminutes = 0 end
local localTime = os.time({year=year, month=month, day=day, hour=hour, min=min, sec=sec, isdst=false})
local utcTime = localTime - ((tonumber(zhours)*3600) + (tonumber(zminutes)*60))
return utcTime
end
Last edited by NighthawkSLO on February 5th, 2016, 3:27 pm, edited 1 time in total.
-
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: LuaRainRSS
Huh. Never ran into that.NighthawkSLO wrote:I couldn't get this to work and it took me a long time to finally find the issue: The TimeStamp function doesn't take into account the possibility of zhours and zminutes not existing and then the whole year, month, day, ... fails entirely.
In User Control Panel in the forums, what do you have your TimeZone settings at?
I think your proposed solution looks ok, but I'd like to understand the circumstances...
You do not have the required permissions to view the files attached to this post.
-
- Posts: 21
- Joined: October 22nd, 2014, 7:11 pm
Re: LuaRainRSS
I didn't set it, now it's at UTC+01:00 like it should...jsmorley wrote:Huh. Never ran into that.
In User Control Panel in the forums, what do you have your TimeZone settings at?
I guess I should really work on my profile.
-
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: LuaRainRSS
Well, I will implement your proposed solution anyway. I didn't think the board would ever return a date/time string without the timezone info, even if it was just 00:00 for GMT, but I guess it can...
Updated the .rmskin in the first post...
Updated the .rmskin in the first post...