Welcome, Guest
Please Login or Register.    Lost Password?

help needed on webparser regex
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: help needed on webparser regex
#9162
help needed on webparser regex 5 Years, 5 Months ago  
I'm trying to grab sun up and sun down times from almanac.com, but regular expressions not something I'm very good at... i currently have:

Code:


Measure=Plugin
Plugin=Plugins\WebParser.dll
Debug=2
URL=http://www.almanac.com/rise/results.php?what[]=Sun&zipcode=05819&place=&state=&searchtype=zip
RegExp="(?siU)Sun (.*)(.*)"
StringIndex=2
UpdateRate=3600



I know somethings wrong, but I can't figure it out...

help?

edit:

code isn't working right, so i attached my test ini... its based on enigma's location ini
File Attachment:
File Name: SunRS.zip
File Size: 738
gschoppe
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/03/06 22:11 By gschoppe.Reason: code tags don't work
The administrator has disabled public write access.
 
#9163
Re:help needed on webparser regex 5 Years, 5 Months ago  
kenz0
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Gender: Male K'conf Location: Japan
Last Edit: 2009/03/07 01:45 By kenz0.Reason: mistake
The administrator has disabled public write access.
 

Warning: Creating default object from empty value in /home2/rainy/public_html/cms/components/com_kunena/lib/kunena.parser.bbcode.php on line 212
#9164
Re:help needed on webparser regex 5 Years, 5 Months ago  
Try this code.
File Attachment:
File Name: Example.ini
File Size: 1059

NOTICE!!
WebParser.dll does not work to URL containing []
So, you should choose suitable URL.
kenz0
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Gender: Male K'conf Location: Japan
Last Edit: 2009/03/07 01:33 By kenz0.
The administrator has disabled public write access.
 
#9168
Re:help needed on webparser regex 5 Years, 5 Months ago  
thank you, you are truly my hero... this explains a lot that I didn't get...

is there anywhere that I can get an overview of rainmeter Regular Expressions? I know they are Perl Regex format, but I can't seem to find just a straight glossary/dictionary sort of listing
gschoppe
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop