<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,11 @@ layout: default
 
 &lt;div id=&quot;site_container&quot;&gt;
   &lt;label&gt;Armory URL:&lt;/label&gt;
-  &lt;input id=&quot;armory_url&quot; value=&quot;http://www.wowarmory.com/character-sheet.xml?r=Area+52&amp;cn=Beardyhead&amp;gn=Rebels+Alliance&quot; /&gt;
+  &lt;input id=&quot;armory_url&quot; value=&quot;http://www.wowarmory.com/character-sheet.xml?r=Area+52&amp;cn=Beardyhead&amp;gn=Rebels+Alliance&quot; /&gt;&lt;br /&gt;
+  &lt;label&gt;Class/spec:&lt;/label&gt;
+  &lt;select id=&quot;spec&quot;&gt;
+    &lt;option selected=&quot;true&quot;&gt;Loading spec data...&lt;/option&gt;
+  &lt;/select&gt;
   &lt;input id=&quot;armory_submit&quot; type=&quot;submit&quot; /&gt;
   &lt;span id=&quot;flash&quot;&gt;&lt;/span&gt;
 </diff>
      <filename>index.html</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,16 @@ $(function(){
   $(&quot;#flash&quot;).text(&quot;Loading item data...&quot;)
 
   var item_data
+  $.getJSON(&quot;http://&quot; + loot_server + &quot;/filters?callback=?&quot;, function(data) {
+    if (data[&quot;error&quot;]) {
+      $(&quot;#flash&quot;).text(&quot;ERROR: &quot; + data[&quot;error&quot;])
+    } else if (data[&quot;items&quot;]) {
+      var spec = $(&quot;#spec&quot;)
+      spec.empty()
+      $(data[&quot;items&quot;]).each(function(i,filter) {spec.append($(&quot;&lt;option&gt;&quot;).text(filter))})
+    }
+  })
+
   $.getJSON(&quot;http://&quot; + loot_server + &quot;/item_names?callback=?&quot;, function(data) {
     if (data[&quot;error&quot;]) {
       $(&quot;#flash&quot;).text(&quot;ERROR: &quot; + data[&quot;error&quot;])
@@ -17,7 +27,7 @@ $(function(){
   $(&quot;#armory_submit&quot;).click(function(){
     $(&quot;#flash&quot;).text(&quot;Loading profile&quot;).show()
 
-    $.getJSON(&quot;http://&quot; + loot_server + &quot;/?callback=?&quot;, { url: $(&quot;#armory_url&quot;).val()}, function(data) {
+    $.getJSON(&quot;http://&quot; + loot_server + &quot;/?callback=?&quot;, { url: $(&quot;#armory_url&quot;).val(), spec: $(&quot;#spec&quot;).val()}, function(data) {
       if (data[&quot;error&quot;]) {
         $(&quot;#flash&quot;).text(&quot;ERROR: &quot; + data[&quot;error&quot;])
       } else if (data[&quot;upgrades&quot;]) {</diff>
      <filename>js/main.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>183d9593d604d0bec7948b5bf53d028e96981fc0</id>
    </parent>
  </parents>
  <author>
    <name>tekkub</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/loot/commit/e906e6d80d04488a39f8b75b2a422598d859ad77</url>
  <id>e906e6d80d04488a39f8b75b2a422598d859ad77</id>
  <committed-date>2009-06-28T18:53:08-07:00</committed-date>
  <authored-date>2009-06-28T18:53:08-07:00</authored-date>
  <message>No more hardcoded profile!</message>
  <tree>5dbec0dcef26df22cd25d4b646a4becd796ac999</tree>
  <committer>
    <name>tekkub</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
