It is currently May 19th, 2024, 1:27 pm

Skin not grabbing unread mail from Gmail

Get help with creating, editing & fixing problems with skins
User avatar
Virginityrocks
Posts: 478
Joined: February 26th, 2011, 10:22 pm

Skin not grabbing unread mail from Gmail

Post by Virginityrocks »

I can't figure this one out.

Download link

The mail section of the skin is not grabbing the unread mail quantity from Gmail. I feel like I haven't made any changes to it, as if it simply broke.

Code: Select all

;------------------------------
; Email information

[MeasureMail]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=https://#GmailUsername#:#GmailPassword#@gmail.google.com/gmail/feed/atom
RegExp="(?siU)<fullcount>(.*)</fullcount>"
StringIndex=1
Substitute="":"0"

;-----------------------

[MailCalc0]
Measure=Calc
Formula=(0<=MeasureMail) && (1>MeasureMail) ? 1 : 0
Substitute="0":"","1":"Mail\Mail0.png"
DynamicVariables=1

[MailCalc1]
Measure=Calc
Formula=(1<=MeasureMail) ? 1 : 0
Substitute="0":"","1":"Mail\Mail1.png"
DynamicVariables=1

;-----------------------

[MailIcon]
Meter=Image
ImageName=[MailCalc0][MailCalc1]
ImageTint=#SuperColor#
SolidColor=0,0,0,1
X=([UserPicture:X]-140)
Y=28
LeftMouseUpAction=["#MailURL#"]
DynamicVariables=1

;############################################################
Droptop Four
Dropdown menu bar & app launcher for Windows & Rainmeter
User avatar
lysy1993lbn
Posts: 291
Joined: July 25th, 2011, 9:53 am
Location: Lublin, Poland

Re: Skin not grabbing unread mail from Gmail

Post by lysy1993lbn »

Try:

[MeasureMail]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=https://#GmailUsername#:#GmailPassword#@gmail.google.com/gmail/feed/atom
Url=https://#GmailUsername#:#GmailPassword#@mail.google.com/gmail/feed/atom
RegExp="(?siU)<fullcount>(.*)</fullcount>"
StringIndex=1
Substitute="":"0"
"Never argue with an idiot, he will drag you down to his level and beat you with experience."
my deviantART | Alternative Rainmeter tray icons
User avatar
Virginityrocks
Posts: 478
Joined: February 26th, 2011, 10:22 pm

Re: Skin not grabbing unread mail from Gmail

Post by Virginityrocks »

Made the change. Still not working. Remaining at 0 unread mail, while my mailbox has 3.
Droptop Four
Dropdown menu bar & app launcher for Windows & Rainmeter