Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
536943039_Inactive (New Admin) 12/25/2003 1:09 AM EST : Anonymous crafters list.
536943039_Inactive
Posts: 522
Zomgawsh Poster

name="1631324">

Hiya all!

Ok, ive managed to suss out pulling most things out of the feeds, i'm the admin at http://www.guildportal.com/Guild.aspx?GuildID=8568&TabID=69920 . The thing is, i noticed at the end of the xml feed, there is a listing which shows up the top 5 crafters, which also shows anonymous crafters within the guild.  I know this isn't the full list, but its useful to show some of the top anonymous crafters so that a: they will notice theyre anon, and might change the tradeskills flag, and b: so that ppl trying to decide which skill to choose for a new character can have a better idea of which skill isn't oversaturated within our guild.  Thing is, i cannot suss out how to pull the records out when they are presented as they are in the feed.  I've tried all sorts of ways, but im not sure if im using the right syntax.  If anyone could help i would be extremely gratful.  Oh yes, and MERRY CHRISTMAS to you all

XML Feed snippet...

 <top type="spellcraft">
    <top_char name="Hiccups DrinkWater" point="619" />
    <top_char name="anonymous" point="617" />
    <top_char name="Stinkywizzleteeth Wankelrotaryengine" point="511" />
    <top_char name="Mendietta" point="440" />
    <top_char name="anonymous" point="434" />
  </top>

Current Xsl... which doesnt actually match the anonymous ppl for some reason :s, and cannot recurse through the list of 5 crafters within each tradeskill.  Closest i've got with this is listing the tradeskill, then every name in the top 5 listings for each tradeskill, eg Fletching followed by all 30, Alchemy followed by the same list etc.

 Anonymous Crafters <BR/>
 <xsl:for-each select="/guild_status/guild/top">
  <xsl:value-of select="@type"/>
  <BR/>
  <xsl:choose>
   <xsl:when test="top_char/@name='anonymous'">
    <xsl:value-of select="top_char/@point"/>
      </xsl:when>
  </xsl:choose>
  <BR/>
 </xsl:for-each>

What this gives me :

Anonymous Crafters:
fletching
770
weaponcraft
481
armorcraft
647
tailoring
814
alchemy
745
spellcraft
619

*** What i'd really like in an ideal world...:

Anonymous Crafting
Fletching: 70, 71, 274
Weaponcrafting: 324, 345
Armourcrafting: 193, 200, 205, 514, 647
Tailoring: 403, 486, 654, 706
Alchemy: 254, 266, 412, 515
Spellcrafting: 434, 617

TopBottom

536943039_Inactive (New Admin) 12/26/2003 7:20 AM EST : RE: Anonymous crafters list.
536943039_Inactive
Posts: 522
Zomgawsh Poster

Okies, I have got the information i needed from Omichronicus's post in this forum, many thanks to him.
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%