The next beta will.dragonmage wrote:You could also download the new beta, it includes updates for several Enigma bugs.
It is currently April 26th, 2024, 9:11 pm
Gmail, Gcal, and Weather
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Gmail, Gcal, and Weather
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: Gmail, Gcal, and Weather
Yeah, the next beta.jsmorley wrote: The next beta will.
-
- Posts: 81
- Joined: May 28th, 2010, 2:29 pm
Re: Gmail, Gcal, and Weather
GCal still doesn't work in Enigma.
-
- Posts: 81
- Joined: May 28th, 2010, 2:29 pm
Re: Gmail, Gcal, and Weather
...except for GCal.
-
- Posts: 5
- Joined: June 19th, 2010, 3:12 am
- Location: Waterloo, ON, CA
Re: Gmail, Gcal, and Weather
I'm having the same problem, I tried adding this Substitute line to ReaderGcal.ini but the random gd < stuff is still appearing...JpsCrazy wrote:In the measure where it get's the data from google, add Substitute="/":"",">":"","<":"","gd":""
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: Gmail, Gcal, and Weather
This will be fixed in the next beta. I had corrected the RegExp already but accidentally deleted it so I need to do it over. The gd parts are appearing on All Day Events correct?
The "." that appears in the time for the event has to remain there for all day events. Would you guys prefer an all day event to display "All Day Event." or just the "."?
The "." that appears in the time for the event has to remain there for all day events. Would you guys prefer an all day event to display "All Day Event." or just the "."?
-
- Posts: 5
- Joined: June 19th, 2010, 3:12 am
- Location: Waterloo, ON, CA
Re: Gmail, Gcal, and Weather
That is correct. I would personally prefer just the "." rather than having it say "All Day Event"dragonmage wrote:This will be fixed in the next beta. I had corrected the RegExp already but accidentally deleted it so I need to do it over. The gd parts are appearing on All Day Events correct?
The "." that appears in the time for the event has to remain there for all day events. Would you guys prefer an all day event to display "All Day Event." or just the "."?
-
- Posts: 4
- Joined: September 14th, 2010, 9:24 am
Re: Gmail, Gcal, and Weather
Hi All.
I was having the same problem so I decided to learn about how skins work and 'rough-arse' edited it. (I hope you don't mind DragonMage!)
If you use the code below you will have to do the following;
1) Copy and paste the entire code into ReaderGcal.ini, overwriting the original (there are quite a few changes)
2) Change the #GoogleCalendar# url to your private url (remembering to remove /basic!)
3) Change the #gmail# to your gmail address.
4) Choose the date format by ' commenting out the one you don't want on [When1] [When2] and [When3]....As I am a Brit, I like my dates round the other way
This seems to work fine on mine, but I can't guarantee it will work for you.
Kudos to the author, this is a top quality set of skins!
I was having the same problem so I decided to learn about how skins work and 'rough-arse' edited it. (I hope you don't mind DragonMage!)
If you use the code below you will have to do the following;
1) Copy and paste the entire code into ReaderGcal.ini, overwriting the original (there are quite a few changes)
2) Change the #GoogleCalendar# url to your private url (remembering to remove /basic!)
3) Change the #gmail# to your gmail address.
4) Choose the date format by ' commenting out the one you don't want on [When1] [When2] and [When3]....As I am a Brit, I like my dates round the other way
This seems to work fine on mine, but I can't guarantee it will work for you.
Kudos to the author, this is a top quality set of skins!
Code: Select all
; ------------------------------------------------------------------------------------------------
; ENIGMA GCAL READER
; Class: Sidebar
[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterRefresh #CURRENTCONFIG#
[Metadata]
Name=Enigma Gcal
Config=Enigma | Sidebar | Reader | Gcal-Reader
Description=This skin shows upcoming events on any Google Calendar.
Instructions=Set the variable "GoogleCalendar" as your calendar's private XML address. | Make sure to remove "/basic" from the end of the URL. | To find the address for your calendar: open Google Calendar in your browser, select the calendar, and go to "Calendar Settings." There, find "Private Address" and click "XML." Once again, make sure to remove "/basic" before you save the new variable.
Version=2.7
Tags=Calendar | Sidebar | Google
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Credits=Thanks to miniority for the revelation I needed to make this skin. Thanks to Dirk C. Vanbruggen for suggesting a fix to the URL.
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
APM1=am.
APM2=am.
APM3=am.
; ------------------------------------------------------------------------------------------------
; MEASURES
[Feed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#GoogleCalendar#/full?max-results=3&futureevents=true&singleevents=true&orderby=starttime&sortorder=a
RegExp="(?siU)<title.*>(.*)</title>.*<link.*rel='alternate'.*href='(.*)'(?(?=.*<entry).*<title.*>(.*)</title>.*<gd:when.*startTime='(.*)-(.*)-(.*)T(.*):(.*):)(?(?=.*<entry).*<title.*>(.*)</title>.*<gd:when.*startTime='(.*)-(.*)-(.*)T(.*):(.*):)(?(?=.*<entry).*<title.*>(.*)</title>.*<gd:when.*startTime='(.*)-(.*)-(.*)T(.*):(.*):)"
UpdateRate=600
Substitute="/":"",">":"","<":"","gd":""
StringIndex=1
[FeedWhere]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#GoogleCalendar#/full?max-results=3&futureevents=true&singleevents=true&orderby=starttime&sortorder=a
RegExp="(?siU)(?(?=.*<entry).*<gd:where(.*)<)(?(?=.*<entry).*<gd:where(.*)<)(?(?=.*<entry).*<gd:where(.*)<)"
UpdateRate=600
Substitute="/":"",">":"","<":"","gd":""
StringIndex=1
[FeedURL]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
Substitute="/":"",">":"","<":"","gd":""
StringIndex=2
;-----------------------
; EVENT 1
[MeasureWhat1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=3
[MeasureYear1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=4
[MeasureMonth1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=5
Substitute="01":"Jan","02":"Feb","03":"Mar","04":"Apr","05":"May","06":"Jun","07":"Jul","08":"Aug","09":"Sep","10":"Oct","11":"Nov","12":"Dec"
[MeasureDay1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=6
Substitute="'/></gd:originalEven":"","01":"1st","02":"2nd","03":"3rd","04":"4th","05":"5th","06":"6th","07":"7th","08":"8th","09":"9th","10":"10th","11":"11th","12":"12th","13":"13th","14":"14th","15":"15th","16":"16th","17":"17th","18":"18th","19":"19th","20":"20th","21":"21st","22":"22nd","23":"23rd","24":"24th","25":"25th","26":"26th","27":"27th","28":"28th","29":"29th","30":"30th","31":"31st"
[MeasureHour1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=7
IfEqualvalue="><gd"
IfEqualAction=!RainmeterSetVariable APM1 "
IfAboveValue=12
IfAboveAction=!RainmeterSetVariable APM1 pm.
IfBelowAction=13
IfBelowAction=!RainmeterSetVariable APM1 am.
[MeasureHour1Substitute]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=7
Substitute="><gd":"All Day","00":"12","01":"1","02":"2","03":"3","04":"4","05":"5","06":"6","07":"7","08":"8","09":"9","13":"1","14":"2","15":"3","16":"4","17":"5","18":"6","19":"7","20":"8","21":"9","22":"10","23":"11"
[MeasureMinute1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=8
Substitute="who email='#gmail#' rel='http":""
[MeasureWhere1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[FeedWhere]
StringIndex=1
Substitute=" valueString='":"","'/>":"","/>":""
;-----------------------
; EVENT 2
[MeasureWhat2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=9
[MeasureYear2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=10
[MeasureMonth2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=11
Substitute="01":"Jan","02":"Feb","03":"Mar","04":"Apr","05":"May","06":"Jun","07":"Jul","08":"Aug","09":"Sep","10":"Oct","11":"Nov","12":"Dec"
[MeasureDay2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=12
Substitute="'/></gd:originalEven":"","01":"1st","02":"2nd","03":"3rd","04":"4th","05":"5th","06":"6th","07":"7th","08":"8th","09":"9th","10":"10th","11":"11th","12":"12th","13":"13th","14":"14th","15":"15th","16":"16th","17":"17th","18":"18th","19":"19th","20":"20th","21":"21st","22":"22nd","23":"23rd","24":"24th","25":"25th","26":"26th","27":"27th","28":"28th","29":"29th","30":"30th","31":"31st"
[MeasureHour2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=13
IfEqualvalue="><gd"
IfEqualAction=!RainmeterSetVariable APM2 "
IfAboveValue=12
IfAboveAction=!RainmeterSetVariable APM2 pm.
IfBelowAction=13
IfBelowAction=!RainmeterSetVariable APM2 am.
[MeasureHour2Substitute]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=13
Substitute="><gd":"All Day","00":"12","01":"1","02":"2","03":"3","04":"4","05":"5","06":"6","07":"7","08":"8","09":"9","13":"1","14":"2","15":"3","16":"4","17":"5","18":"6","19":"7","20":"8","21":"9","22":"10","23":"11"
[MeasureMinute2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=14
Substitute="who email='#gmail#' rel='http":""
[MeasureWhere2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[FeedWhere]
StringIndex=2
Substitute=" valueString='":"","'/>":"","/>":""
;-----------------------
; EVENT 3
[MeasureWhat3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=15
[MeasureYear3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=16
[MeasureMonth3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=17
Substitute="01":"Jan","02":"Feb","03":"Mar","04":"Apr","05":"May","06":"Jun","07":"Jul","08":"Aug","09":"Sep","10":"Oct","11":"Nov","12":"Dec"
[MeasureDay3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=18
Substitute="'/></gd:originalEven":"","01":"1st","02":"2nd","03":"3rd","04":"4th","05":"5th","06":"6th","07":"7th","08":"8th","09":"9th","10":"10th","11":"11th","12":"12th","13":"13th","14":"14th","15":"15th","16":"16th","17":"17th","18":"18th","19":"19th","20":"20th","21":"21st","22":"22nd","23":"23rd","24":"24th","25":"25th","26":"26th","27":"27th","28":"28th","29":"29th","30":"30th","31":"31st"
[MeasureHour3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=19
IfEqualvalue="><gd"
IfEqualAction=!RainmeterSetVariable APM3 "
IfAboveValue=12
IfAboveAction=!RainmeterSetVariable APM3 pm.
IfBelowAction=13
IfBelowAction=!RainmeterSetVariable APM3 am.
[MeasureHour3Substitute]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=19
Substitute="><gd":"All Day","00":"12","01":"1","02":"2","03":"3","04":"4","05":"5","06":"6","07":"7","08":"8","09":"9","13":"1","14":"2","15":"3","16":"4","17":"5","18":"6","19":"7","20":"8","21":"9","22":"10","23":"11"
[MeasureMinute3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Feed]
StringIndex=20
Substitute="who email='#gmail#' rel='http":""
[MeasureWhere3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[FeedWhere]
StringIndex=3
Substitute=" valueString='":"","'/>":"","/>":""
; ------------------------------------------------------------------------------------------------
; STYLES
[StyleText]
X=12
Y=16r
H=10
W=170
ClipString=1
StringStyle=BOLD
FontColor=#Color1#
FontSize=#Height2#
FontFace=#Font#
AntiAlias=1
[StyleSub]
X=22
Y=13r
H=10
W=160
ClipString=1
StringStyle=NORMAL
FontColor=#Color2#
FontSize=#Height2#
FontFace=#Font#
AntiAlias=1
; ------------------------------------------------------------------------------------------------
; METERS
[Border]
Meter=IMAGE
SolidColor=#ColorBorder#
X=0
Y=0
H=1
W=180
[Background]
Meter=IMAGE
SolidColor=0, 0, 0, 2
X=0
Y=1
W=180
H=30
[Title]
Meter=STRING
MeasureName=Feed
X=27
Y=10
H=15
W=150
StringStyle=BOLD
FontColor=#Color1#
FontSize=#Height3#
FontFace=#Font#
AntiAlias=1
LeftMouseDownAction=!Execute [!RainmeterHideMeter Title][!RainmeterShowMeter TitleActive][!RainmeterRedraw]
[TitleActive]
Meter=STRING
MeterStyle=Title
MeasureName=Feed
FontColor=#ColorActive#
Hidden=1
LeftMouseUpAction=!Execute [[FeedURL]][!RainmeterHideMeter TitleActive][!RainmeterShowMeter Title][!RainmeterRedraw]
[Icon]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Gcal.#ColorIcon#.png
X=1
Y=6
H=22
W=22
LeftMouseDownAction=!Execute [!RainmeterHideMeter Icon][!RainmeterShowMeter IconActive]
[IconActive]
Meter=IMAGE
MeterStyle=Icon
ImageName=#SKINSPATH#Enigma\Resources\Images\GcalActive.#ColorIcon#.png
Hidden=1
LeftMouseUpAction=!Execute [[FeedURL]][!RainmeterHideMeter IconActive][!RainmeterShowMeter Icon]
;-----------------------
; ITEMS
[What1]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureWhat1
Y=32
[When1]
Meter=STRING
MeterStyle=StyleSub
MeasureName=MeasureYear1
MeasureName2=MeasureMonth1
MeasureName3=MeasureDay1
MeasureName4=MeasureHour1Substitute
MeasureName5=MeasureMinute1
;Text="%1 · %3 %2 · %4.%5 #APM1#"
Text="%3 %2 %1 - %4.%5 #APM1#"
DynamicVariables=1
[Where1]
Meter=STRING
MeterStyle=StyleSub
MeasureName=MeasureWhere1
[What2]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureWhat2
[When2]
Meter=STRING
MeterStyle=StyleSub
MeasureName=MeasureYear2
MeasureName2=MeasureMonth2
MeasureName3=MeasureDay2
MeasureName4=MeasureHour2Substitute
MeasureName5=MeasureMinute2
;Text="%1 · %3 %2 · %4.%5 #APM2#"
Text="%3 %2 %1 - %4.%5 #APM2#"
DynamicVariables=1
[Where2]
Meter=STRING
MeterStyle=StyleSub
MeasureName=MeasureWhere2
[What3]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureWhat3
[When3]
Meter=STRING
MeterStyle=StyleSub
MeasureName=MeasureYear3
MeasureName2=MeasureMonth3
MeasureName3=MeasureDay3
MeasureName4=MeasureHour3Substitute
MeasureName5=MeasureMinute3
;Text="%1 · %3 %2 · %4.%5 #APM3#"
Text="%3 %2 %1 - %4.%5 #APM3#"
DynamicVariables=1
[Where3]
Meter=STRING
MeterStyle=StyleSub
MeasureName=MeasureWhere3
;-----------------------
; BORDER2
[Border2]
Meter=IMAGE
MeterStyle=Border
Y=20r