Diese Website existiert nur weil wir Werbung mit AdSense ausliefern.
Bitte den AdBlocker daher auf dieser Website ausschalten! Danke.

[OK] YaGcU - No Export of Additional Hints *Bugfix solution*

Yet another Geocaching Utility.

Moderator: kasimodo

Antworten
scriptor909
Geonewbie
Beiträge: 5
Registriert: So 6. Sep 2009, 11:13

[OK] YaGcU - No Export of Additional Hints *Bugfix solution*

Beitrag von scriptor909 »

Hello,

there seems to be a change in htmls by geocaching.com:

old version:
<p><strong>Additional Hints</strong> (<a id="ctl00_ContentBody_Encrypt"
href="cache_details.aspx?pf=y&guid=7b1d95c5-a6cb-44ed-83a5-ae798c0f7f2c&
decrypt=y&log=y&numlogs=">Decrypt</a>)</p>
<p><span id="ctl00_ContentBody_Hints" class="displayMe">genqvgvbaryy</span>
<span id="ctl00_ContentBody_decryptHint" class="hideMe">(Decrypted Hints)</span></p>
...

Since a couple of days, this has changed to:

<p><strong>Additional Hints</strong> (<a href="javascript:void(0);" id="
ctl00_ContentBody_lnkDH" onclick="dht(this);" title="Decrypt">Decrypt</a>)</p>

<p>&nbsp;</p>
<div id="div_hint" class="HalfLeft">genqvgvbaryy</div>
<div id='dk' style="display:block;" class="HalfRight">
<span id="ctl00_ContentBody_EncryptionKey"><div class="DecryptionKey
Widget">


I think the bug can be fixed in RegExs.vb
Public Shared Hints As New Regex("\<span id=\""Hints\""[^\>]*\>(.*?)\<\/span\>", RegexOptions.Compiled)

change to:
Public Shared Hints As New Regex("\<div id=\""hint\""[^\>]*\>(.*?)\<\/div\>", RegexOptions.Compiled)


I have deinstalled my VisualStudio and can not do a quick make to check the bugfix. Can anybody help me doing the make and checking the new version???

Geocaching without additional hints in my phone is a little bit frustrating .-(

Thanks
scriptor909
scriptor909
Geonewbie
Beiträge: 5
Registriert: So 6. Sep 2009, 11:13

Re: YaGcU - No Export of Additional Hints *Bugfix solution*

Beitrag von scriptor909 »

seems to be a bugfix already available (0.47.17.10):
http://www.geoclub.de/viewtopic.php?f=36&t=42850

Thx to kasimodo
Antworten