+PopUpPirate Posted September 30, 2008 Share Posted September 30, 2008 I've installed the fab Lord Elph's Loverrly Icons http://blog.dixo.net/downloads/lordelphs-lovely-icons/ Now, the Trig icon shows up fine on Memory Map, but doesn't transfer to the PDA. For those that don't know, Memory Map on the PDA has a limit to the number of icons you can use at once. So, I've done as many have, and tweaked my Roolku script to ignore whether a cache has bugs in it or not. <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:Groundspeak="http://www.Groundspeak.com/cache/1/0" xmlns:gpx="http://www.topografix.com/GPX/1/0"> <xsl:output method="text" encoding="Windows-1252"/> <!-- enter your geocaching id here --> <xsl:variable name="me">595113</xsl:variable> <xsl:template match="/"> <xsl:text>IC01,1,"c:\gsak\icons\TrigN.bmp" </xsl:text> <xsl:text>IC01,101,"c:\gsak\icons\EventF.bmp" </xsl:text> <xsl:text>IC01,102,"c:\gsak\icons\LetterboxF.bmp" </xsl:text> <xsl:text>IC01,103,"c:\gsak\icons\LocationlessF.bmp" </xsl:text> <xsl:text>IC01,104,"c:\gsak\icons\MicroF.bmp" </xsl:text> <xsl:text>IC01,105,"c:\gsak\icons\MulticacheF.bmp" </xsl:text> <xsl:text>IC01,106,"c:\gsak\icons\TraditionalF.bmp" </xsl:text> <xsl:text>IC01,107,"c:\gsak\icons\UnknownF.bmp" </xsl:text> <xsl:text>IC01,108,"c:\gsak\icons\VirtualF.bmp" </xsl:text> <xsl:text>IC01,109,"c:\gsak\icons\WebcamF.bmp" </xsl:text> <xsl:text>IC01,110,"c:\gsak\icons\EarthF.bmp" </xsl:text> <xsl:text>IC01,111,"c:\gsak\icons\MM_F.bmp" </xsl:text> <xsl:text>IC01,112,"c:\gsak\icons\AR_F.bmp" </xsl:text> <xsl:text>IC01,113,"c:\gsak\icons\SidetF.bmp" </xsl:text> <xsl:text>IC01,114,"c:\gsak\icons\WhereigoF.bmp" </xsl:text> <xsl:text>IC01,201,"c:\gsak\icons\EventN.bmp" </xsl:text> <xsl:text>IC01,202,"c:\gsak\icons\LetterboxN.bmp" </xsl:text> <xsl:text>IC01,203,"c:\gsak\icons\LocationlessN.bmp" </xsl:text> <xsl:text>IC01,204,"c:\gsak\icons\MicroN.bmp" </xsl:text> <xsl:text>IC01,205,"c:\gsak\icons\MulticacheN.bmp" </xsl:text> <xsl:text>IC01,206,"c:\gsak\icons\TraditionalN.bmp" </xsl:text> <xsl:text>IC01,207,"c:\gsak\icons\UnknownN.bmp" </xsl:text> <xsl:text>IC01,208,"c:\gsak\icons\VirtualN.bmp" </xsl:text> <xsl:text>IC01,209,"c:\gsak\icons\WebcamN.bmp" </xsl:text> <xsl:text>IC01,210,"c:\gsak\icons\EarthN.bmp" </xsl:text> <xsl:text>IC01,211,"c:\gsak\icons\MM_N.bmp" </xsl:text> <xsl:text>IC01,212,"c:\gsak\icons\AR_N.bmp" </xsl:text> <xsl:text>IC01,213,"c:\gsak\icons\SidetN.bmp" </xsl:text> <xsl:text>IC01,214,"c:\gsak\icons\WhereigoN.bmp" </xsl:text> <xsl:text>IC01,301,"c:\gsak\icons\EventO.bmp" </xsl:text> <xsl:text>IC01,302,"c:\gsak\icons\LetterboxO.bmp" </xsl:text> <xsl:text>IC01,303,"c:\gsak\icons\LocationlessO.bmp" </xsl:text> <xsl:text>IC01,304,"c:\gsak\icons\MicroO.bmp" </xsl:text> <xsl:text>IC01,305,"c:\gsak\icons\MulticacheO.bmp" </xsl:text> <xsl:text>IC01,306,"c:\gsak\icons\TraditionalO.bmp" </xsl:text> <xsl:text>IC01,307,"c:\gsak\icons\UnknownO.bmp" </xsl:text> <xsl:text>IC01,308,"c:\gsak\icons\VirtualO.bmp" </xsl:text> <xsl:text>IC01,309,"c:\gsak\icons\WebcamO.bmp" </xsl:text> <xsl:text>IC01,310,"c:\gsak\icons\EarthO.bmp" </xsl:text> <xsl:text>IC01,311,"c:\gsak\icons\MM_O.bmp" </xsl:text> <xsl:text>IC01,312,"c:\gsak\icons\AR_O.bmp" </xsl:text> <xsl:text>IC01,313,"c:\gsak\icons\SidetO.bmp" </xsl:text> <xsl:text>IC01,314,"c:\gsak\icons\WhereigoO.bmp" </xsl:text> <xsl:text>IC01,401,"c:\gsak\icons\EventU.bmp" </xsl:text> <xsl:text>IC01,402,"c:\gsak\icons\LetterboxU.bmp" </xsl:text> <xsl:text>IC01,403,"c:\gsak\icons\LocationlessU.bmp" </xsl:text> <xsl:text>IC01,404,"c:\gsak\icons\MicroU.bmp" </xsl:text> <xsl:text>IC01,405,"c:\gsak\icons\MulticacheU.bmp" </xsl:text> <xsl:text>IC01,406,"c:\gsak\icons\TraditionalU.bmp" </xsl:text> <xsl:text>IC01,407,"c:\gsak\icons\UnknownU.bmp" </xsl:text> <xsl:text>IC01,408,"c:\gsak\icons\VirtualU.bmp" </xsl:text> <xsl:text>IC01,409,"c:\gsak\icons\WebcamU.bmp" </xsl:text> <xsl:text>IC01,410,"c:\gsak\icons\EarthU.bmp" </xsl:text> <xsl:text>IC01,411,"c:\gsak\icons\MM_U.bmp" </xsl:text> <xsl:text>IC01,412,"c:\gsak\icons\AR_U.bmp" </xsl:text> <xsl:text>IC01,414,"c:\gsak\icons\WhereigoU.bmp" </xsl:text> <xsl:text>IC01,413,"c:\gsak\icons\SidetU.bmp" </xsl:text> <xsl:text>IC01,900,"c:\gsak\icons\Parking.bmp" </xsl:text> <xsl:text>IC01,901,"c:\gsak\icons\Trail.bmp" </xsl:text> <xsl:for-each select="/gpx:gpx/gpx:wpt"> <xsl:text>WP04, </xsl:text> <xsl:value-of select="@lat"/> <xsl:text>, </xsl:text> <xsl:value-of select="@lon"/> <xsl:text>, </xsl:text> <xsl:choose> <!-- Other --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Other'"> <xsl:text></xsl:text> </xsl:when> <!-- owned --> <xsl:when test="Groundspeak:cache/Groundspeak:owner/@id=$me"> <xsl:text>3</xsl:text> </xsl:when> <!-- found --> <xsl:when test="gpx:sym='Geocache Found'"> <xsl:text>1</xsl:text> </xsl:when> <!-- not available --> <xsl:when test="Groundspeak:cache/@available='False'"> <xsl:text>4</xsl:text> </xsl:when> <!-- parking --> <xsl:when test="gpx:sym='Parking Area'"> <xsl:text></xsl:text> </xsl:when> <!-- trailhead --> <xsl:when test="gpx:sym='Trailhead'"> <xsl:text></xsl:text> </xsl:when> <!-- reference point --> <xsl:when test="gpx:sym='Reference Point'"> <xsl:text></xsl:text> </xsl:when> <!-- reference point --> <xsl:when test="gpx:sym='Stages of a Multicache'"> <xsl:text></xsl:text> </xsl:when> <!-- reference point --> <xsl:when test="gpx:sym='Question to Answer'"> <xsl:text></xsl:text> </xsl:when> <xsl:otherwise> <xsl:text>2</xsl:text> </xsl:otherwise> </xsl:choose> <xsl:choose> <!-- Other --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Other'"> <xsl:text>1</xsl:text> </xsl:when> <!-- Event --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Event Cache'"> <xsl:text>01</xsl:text> </xsl:when> <!-- Letterbox --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Letterbox Hybrid'"> <xsl:text>02</xsl:text> </xsl:when> <!-- Locationless --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Locationless (Reverse) Cache'"> <xsl:text>03</xsl:text> </xsl:when> <!-- multi --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Multi-cache'"> <xsl:text>05</xsl:text> </xsl:when> <!-- virtual --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Virtual Cache'"> <xsl:text>08</xsl:text> </xsl:when> <!-- Web --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Webcam Cache'"> <xsl:text>09</xsl:text> </xsl:when> <!-- Earth --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Earthcache'"> <xsl:text>10</xsl:text> </xsl:when> <!-- Wherigo --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Wherigo Cache'"> <xsl:text>14</xsl:text> </xsl:when> <!-- unknown --> <xsl:when test="Groundspeak:cache/Groundspeak:type!='Traditional Cache'"> <xsl:text>07</xsl:text> </xsl:when> <!-- motorway mayhem --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"Motorway Mayhem")'> <xsl:text>11</xsl:text> </xsl:when> <!-- a road anarchy --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"oad Anarchy")'> <xsl:text>12</xsl:text> </xsl:when> <!-- sidetracked1 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"ide Tracked")'> <xsl:text>13</xsl:text> </xsl:when> <!-- sidetracked2 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"ide tracked")'> <xsl:text>13</xsl:text> </xsl:when> <!-- sidetracked3 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"ideTracked")'> <xsl:text>13</xsl:text> </xsl:when> <!-- sidetracked4 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"idetracked")'> <xsl:text>13</xsl:text> </xsl:when> <!-- micro --> <xsl:when test="Groundspeak:cache/Groundspeak:container='Micro'"> <xsl:text>04</xsl:text> </xsl:when> <!-- unknown size --> <xsl:when test="Groundspeak:cache/Groundspeak:container='Not chosen'"> <xsl:text>04</xsl:text> </xsl:when> <!-- parking --> <xsl:when test="gpx:sym='Parking Area'"> <xsl:text>900</xsl:text> </xsl:when> <!-- trailhead --> <xsl:when test="gpx:sym='Trailhead'"> <xsl:text>901</xsl:text> </xsl:when> <!-- reference point --> <xsl:when test="gpx:sym='Reference Point'"> <xsl:text>901</xsl:text> </xsl:when> <!-- stage --> <xsl:when test="gpx:sym='Stages of a Multicache'"> <xsl:text>901</xsl:text> </xsl:when> <!-- question --> <xsl:when test="gpx:sym='Question to Answer'"> <xsl:text>901</xsl:text> </xsl:when> <!-- trig --> <xsl:when test='starts-with(Groundspeak:cache/Groundspeak:name,"TP")'> <xsl:text>1</xsl:text> </xsl:when> <!-- everything else (unfound traditional larger than micro) --> <xsl:otherwise> <xsl:text>06</xsl:text> </xsl:otherwise> </xsl:choose> <xsl:text>, "</xsl:text> <xsl:value-of select="gpx:desc"/> <xsl:text>", "</xsl:text> <xsl:value-of select="gpx:name"/> <xsl:text>", "</xsl:text> <xsl:text>\Storage Card\Cache\</xsl:text> <xsl:value-of select="gpx:name"/> <xsl:text>.htm</xsl:text> <xsl:text>", 0.0</xsl:text> <xsl:text>, 1</xsl:text> <xsl:text>, "</xsl:text> <xsl:value-of select="gpx:name"/> <xsl:text>", 1</xsl:text> <xsl:text>, 1</xsl:text> <xsl:text>, "</xsl:text> <xsl:choose> <!-- Other --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Other'"> <xsl:text>Other</xsl:text> </xsl:when> <!-- owned --> <xsl:when test="Groundspeak:cache/Groundspeak:owner/@id=$me"> <xsl:text>Owned</xsl:text> </xsl:when> <!-- found --> <xsl:when test="gpx:sym='Geocache Found'"> <xsl:text>Found</xsl:text> </xsl:when> <!-- not available --> <xsl:when test="Groundspeak:cache/@available='False'"> <xsl:text>Unavailable</xsl:text> </xsl:when> <!-- Event --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Event Cache'"> <xsl:text>Event</xsl:text> </xsl:when> <!-- Letterbox --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Letterbox Hybrid'"> <xsl:text>LetterboxHybrid</xsl:text> </xsl:when> <!-- Locationless --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Locationless (Reverse) Cache'"> <xsl:text>Locationless</xsl:text> </xsl:when> <!-- multi --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Multi-cache'"> <xsl:text>Multi</xsl:text> </xsl:when> <!-- virtual --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Virtual Cache'"> <xsl:text>Virtual</xsl:text> </xsl:when> <!-- Web --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Webcam Cache'"> <xsl:text>WebCam</xsl:text> </xsl:when> <!-- Earth --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Earthcache'"> <xsl:text>Earth</xsl:text> </xsl:when> <!-- Wherigo --> <xsl:when test="Groundspeak:cache/Groundspeak:type='Wherigo Cache'"> <xsl:text>Wherigo</xsl:text> </xsl:when> <!-- unknown --> <xsl:when test="Groundspeak:cache/Groundspeak:type!='Traditional Cache'"> <xsl:text>Unknown</xsl:text> </xsl:when> <!-- motorway mayhem --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"Motorway Mayhem")'> <xsl:text>Motorway Mayhem</xsl:text> </xsl:when> <!-- a road anarchy --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"oad Anarchy")'> <xsl:text>A-Road Anarchy</xsl:text> </xsl:when> <!-- sidetracked test1 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"ide Tracked")'> <xsl:text>Sidetracked</xsl:text> </xsl:when> <!-- sidetracked test2 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"ide tracked")'> <xsl:text>Sidetracked</xsl:text> </xsl:when> <!-- sidetracked test3 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"ideTracked")'> <xsl:text>Sidetracked</xsl:text> </xsl:when> <!-- sidetracked test4 --> <xsl:when test='contains(Groundspeak:cache/Groundspeak:name,"idetracked")'> <xsl:text>Sidetracked</xsl:text> </xsl:when> <!-- micro --> <xsl:when test="Groundspeak:cache/Groundspeak:container='Micro'"> <xsl:text>Micro</xsl:text> </xsl:when> <!-- everything else (unfound traditional) --> <xsl:otherwise> <xsl:text>Traditional</xsl:text> </xsl:otherwise> </xsl:choose> <xsl:text>", 0</xsl:text> <xsl:text> </xsl:text> </xsl:for-each> </xsl:template> </xsl:stylesheet> Quote Link to comment
Edgemaster Posted September 30, 2008 Share Posted September 30, 2008 Tbh. using the GSAK MM Export option is now much easier than the mess that is XSL. Quote Link to comment
+PopUpPirate Posted September 30, 2008 Author Share Posted September 30, 2008 Maybe for you, but I've not got a clue with how to configure the MM export, with the Macro For Symbol Generation and the Link bits. Just wondering if the Trig icon is in the correct format to be read on a PDA? Quote Link to comment
+Stuey Posted September 30, 2008 Share Posted September 30, 2008 Tbh. using the GSAK MM Export option is now much easier than the mess that is XSL. Easier, yes.... but still recommended to remove the TB indicator. I did that a while ago now. Ace work by the way! Quote Link to comment
Edgemaster Posted September 30, 2008 Share Posted September 30, 2008 (edited) Maybe for you, but I've not got a clue with how to configure the MM export, with the Macro For Symbol Generation and the Link bits. Just wondering if the Trig icon is in the correct format to be read on a PDA? Missed that question when skimming the OP, I believe that custom icons must have an ID number > than a certain value, I can't remember offhand which. The lower numbers are used for built-in icons iirc. Swapping to a number such as 115 should work. Actually, you dont seem to be selecting the trigpoint icons at all in the main code body but only defining it to be imported into MM? Edited September 30, 2008 by Edgemaster Quote Link to comment
+The Cache Hoppers Posted October 1, 2008 Share Posted October 1, 2008 I'll let you sort mine for me thanks PuP Quote Link to comment
+Madyokel Posted October 1, 2008 Share Posted October 1, 2008 I'll let you sort mine for me thanks PuP Wow I'm not to bothered about Trigs but have finally installed Lordelfs icons.. Stunning Many thanks. So why has it taken me so long to do it?? Quote Link to comment
+careygang Posted October 2, 2008 Share Posted October 2, 2008 I'm glad some of you seem to know what on earth this is all about. I can just about manage to use GSAK to get cache pages onto my Acer 311 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.