I'm trying to create a search for the Canadian Tire site. I went to the home page, clicked in the search box and used the DQSD Search Wizard. I've attached what it created. I see that a bunch of the form fields contain "<>" in the field name. Some were encoded (I assume) by the wizard, but not all. Of course when I try to reload the deskbar, it throws an error because these characters are not allowed in a field name. I tried changing them all to "&lt;&gt;", but that didn't help either. Any ideas on how I can get around this problem?

Thanks!

Sarah

Oops! Here's the attachment.

--
Sarah Sweeney
Web Developer & Programmer
Portfolio :: http://sarah.designshift.com
Blog, etc :: http://hardedge.ca
<search function="cantire">
  <COMMENT>

    Even though this XML search will probably load and is a good start
    toward a completed search, please be aware that this search will probably
    not work as is and will probably require some changes.

  </COMMENT>
  <name>Canadian Tire</name>
  <category>Shopping</category>
  <contributor>Sarah Sweeney</contributor>
  <link>http://www.canadiantire.ca/intro/homepage.jsp?PRODUCT%3C%3Eprd_id=845524442860831&amp;FOLDER%3C%3Efolder_id=2534374302376533&amp;ASSORTMENT%3C%3East_id=1408474395348027&amp;bmUID=1089894911727</link>
  <description>
  Search the online Canadian Tire catalogue.
    <div class="helpboxDescLabels">Examples:</div>
    <table class="helpboxDescTable">
      <tr><td></td></tr>
      <tr><td></td></tr>
    </table>
  </description>
  <form name="cantiref"
        method="post"
        action="http://www.canadiantire.ca/intro/homepage.jsp;jsessionid=A2KKu8SkW7mKpFLB0FOvOTeNj8RyjlTvFrN1w2bcXlaTo5Q9k1zC!803707174!172915530!7205!7305";>
    <input type="hidden" name="bmForm" value="shop_by_search" />
    <input type="hidden" name="bmFormID" value="1089899083208" />
    <input type="hidden" name="bmUID" value="1089899083208" />
    <input type="hidden" name="bmIsForm" value="true" />
    <input type="hidden" name="bmPrevTemplate" value="intro/homepage.jsp" />
    <input type="hidden" name="bmText" value="VALIDATE_SEARCH&lt;&gt;keyword" />

    <COMMENT> The following field was active (i.e. had focus) when the search was generated. </COMMENT>

    <input type="hidden" name="VALIDATE_SEARCH<>keyword" value="" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Primary/PrimaryAssortment/AroundtheHouse" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Primary/PrimaryAssortment/Automotive" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Primary/PrimaryAssortment/GardenPatio" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Primary/PrimaryAssortment/SportsRecreation" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Primary/PrimaryAssortment/Workshop" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/As_Seen_On_TV/As_Seen_On_TV" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Gift/GiftIdeas" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Gift_Certificates/Gift_Certificates" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Winter/ShoppingforWinter" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;path" />
    <input type="hidden" name="SEARCH_INPUT<>path" value="/Assortments/Online_Only/Online_Only" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;objectTypes" />
    <input type="hidden" name="SEARCH_INPUT<>objectTypes" value="PRODUCT" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;maxRows_cd" />
    <input type="hidden" name="SEARCH_INPUT<>maxRows_cd" value="10" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;searchTextOperator" />
    <input type="hidden" name="SEARCH_INPUT<>searchTextOperator" value="and" />
    <input type="hidden" name="bmHidden" value="SEARCH_INPUT&lt;&gt;currencyCode" />
    <input type="hidden" name="SEARCH_INPUT<>currencyCode" value="CAD" />
    <input type="hidden" name="bmImage" value="submit.x" />
    <input type="hidden" name="bmImage" value="submit.y" />
    <input type="hidden" name="bmImage" value="submit" />
    <input type="hidden" name="bmHidden" value="PRODUCT&lt;&gt;prd_id" />
    <input type="hidden" name="PRODUCT<>prd_id" value="845524442860831" />
    <input type="hidden" name="bmHidden" value="FOLDER&lt;&gt;folder_id" />
    <input type="hidden" name="FOLDER<>folder_id" value="2534374302376533" />
    <input type="hidden" name="bmHidden" value="ASSORTMENT&lt;&gt;ast_id" />
    <input type="hidden" name="ASSORTMENT<>ast_id" value="1408474395348027" />
    <input type="hidden" name="bmFields" value="bmForm,bmFormID,bmUID,bmIsForm,bmPrevTemplate,bmText,bmHidden,bmImage" />
    <input type="hidden" name="bmHash" value="8a95ed93f020e9b816993ed2794113598d0bc504" />
  </form>
  <script><![CDATA[
    function cantire(q)
    {
      if( nullArgs("cantire", q) )
        return;

      // FORM variables for cantiref
      //document.cantiref.bmForm.value = "";
      //document.cantiref.bmFormID.value = "";
      //document.cantiref.bmUID.value = "";
      //document.cantiref.bmIsForm.value = "";
      //document.cantiref.bmPrevTemplate.value = "";
      //document.cantiref.bmText.value = "";

      // The wizard assigned the search string to this form field value because
      // this field was the active element when the search file was generated.
      // Change this to args.q if the search string is parsed with parseArgs.
      document.cantiref["VALIDATE_SEARCH<>keyword"].value = q;
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>path"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>objectTypes"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>maxRows_cd"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>searchTextOperator"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["SEARCH_INPUT<>currencyCode"].value = "";
      //document.cantiref.bmImage.value = "";
      //document.cantiref.bmImage.value = "";
      //document.cantiref.bmImage.value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["PRODUCT<>prd_id"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["FOLDER<>folder_id"].value = "";
      //document.cantiref.bmHidden.value = "";
      //document.cantiref["ASSORTMENT<>ast_id"].value = "";
      //document.cantiref.bmFields.value = "";
      //document.cantiref.bmHash.value = "";

      submitForm(cantiref);
    }
  ]]></script>
  <copyright>
    The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
    Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  </copyright>
  <created_by>
    This search file was initially created on 07/15/04 at 10:52:29
    by Dave's Quick Search Deskbar Search Wizard version 1.2,
    Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  </created_by>
</search>

Reply via email to