It is currently April 20th, 2024, 2:19 am

IPv6 Skin

Get help with creating, editing & fixing problems with skins
Gordon-1979
Posts: 18
Joined: November 3rd, 2011, 9:01 pm

IPv6 Skin

Post by Gordon-1979 »

i will create an skin with IPv6 info, but it`s not work.
The text is very long, wiht ohter information. Can i help me?

Here is my .... :-(

Code: Select all

 [MeasureIPV6]
 Measure=Plugin
 Plugin=Plugins\WebParser.dll
 URL=http://checkip.dyndns.org.sixxs.org
 RegExp="(?siU)<body>(.+)Address: (.+)</body>"
 StringIndex=2
 UpdateRate=3600

Code: Select all

 [MeterIPV6]
 Meter=STRING
 MeasureName=MeasureIPV6
 X=20
 Y=0R
 W=400
 H=16
 MeterStyle=styleTitle1
 AutoScale=1
 Text=WAN-IPv6: %1
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: IPv6 Skin

Post by balala »

Gordon-1979 wrote:i will create an skin with IPv6 info, but it`s not work.
The text is very long, wiht ohter information. Can i help me?
The provided URL is not working. Even if I try to open it in a browser, it can't be. Rainmeter gives the following error in the log: (Fetch error) The server name or address could not be resolved (ErrorCode=12007), which means that URL isn't accessible.
Gordon-1979
Posts: 18
Joined: November 3rd, 2011, 9:01 pm

Re: IPv6 Skin

Post by Gordon-1979 »

User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: IPv6 Skin

Post by CyberTheWorm »

Gordon-1979 wrote:i can open this Side:
http://checkip.dyndns.org.sixxs.org
I checked an it will not open for me either. I actually think accessing this site would be ISP related and mine does not support IPV6 right now since 95% of the internet uses IPV4 and the sites resolve IPV6 to IPV4 address.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: IPv6 Skin

Post by balala »

Gordon-1979 wrote:i can open this Side:
http://checkip.dyndns.org.sixxs.org
If I click the link, I get a "We can't reach this page" message.
Gordon-1979
Posts: 18
Joined: November 3rd, 2011, 9:01 pm

Re: IPv6 Skin

Post by Gordon-1979 »

My Problem is, Rainmeter Show:

Code: Select all

XXXX:XX:XXXX:5043:d51:7375:c07f:d35a<img src="http://6bone.informatik.uni-leipzig.de/ipv6/stats/log.php3?URL=www.sixxs.net&ImageId=6" width="0" height="0" alt="IPv6 webpop stats" />
But i will show only the: XXXX:XX:XXXX:5043:d51:7375:c07f:d35a
How can this hidden?
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: IPv6 Skin

Post by CyberTheWorm »

This site can’t be reached

checkip.dyndns.org.sixxs.org’s server DNS address could not be found.
Search Google for check ip dyndns org sixxs
ERR_NAME_NOT_RESOLVED
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: IPv6 Skin

Post by balala »

Gordon-1979 wrote:My Problem is, Rainmeter Show:

Code: Select all

XXXX:XX:XXXX:5043:d51:7375:c07f:d35a<img src="http://6bone.informatik.uni-leipzig.de/ipv6/stats/log.php3?URL=www.sixxs.net&ImageId=6" width="0" height="0" alt="IPv6 webpop stats" />
But i will show only the: XXXX:XX:XXXX:5043:d51:7375:c07f:d35a
How can this hidden?
As CyberTheWorm said, we can't reach the site. However if you can, here is a workaround to convert the returned string to what you want. Just add the following two options to the [MeasureIPV6] measure (if that's the measure which is returning the posted string):

Code: Select all

[MeasureIPV6]
...
RegExpSubstitute=1
Substitute="^(.*)<.*$":"\1"
The used regular expression substitution will get the string and will keep only the part before the first <.
Gordon-1979
Posts: 18
Joined: November 3rd, 2011, 9:01 pm

Re: IPv6 Skin

Post by Gordon-1979 »

THX, it works. :D :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 16147
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: IPv6 Skin

Post by balala »

Gordon-1979 wrote:THX, it works. :D :thumbup:
If you're talking about my above reply, I was glad to help.