Hi, I'm trying to find an easy way to make a calendar skin by a PHP-script I wrote. The only input it needs is the current day, month and year but that's where my problem begins. Is it possible to use a measure in the Url for a WebParser?
Something like this for example:
Code: Select all
Url=http://localhost/calendar.php&d=[MeasureDay]&m=[MeasureMonth]&y=[MeasureYear]
I tried it already several times but it's acting really strange. The value of the WebParser-data is returning my [MeasureYear] (or if I use another measure it will show that one) but not the result.
This is what my measures look like:
Code: Select all
[MeasureUrl]
Measure=Time
Format=http://localhost/Calendar/calendar.php?d=%d&m=%m&y=%Y
UpdateDivider=6000
[MeasureData]
Measure=Plugin
Plugin=Plugins\WebParser
Url=[MeasureUrl]
RegExp=(?siU)<y>(.*)</y>
StringIndex=1
UpdateRate=6000
I'm sure the problem is not the webpage because when I enter normal digits (not measures) it works fine.