View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Update of /cvsroot/dqsd/dqsd/searches
In directory sc8-pr-cvs1:/tmp/cvs-serv25256/searches

Added Files:
        crit.xml 
Log Message:
new search for http://www.metacritic.com

--- NEW FILE: crit.xml ---
<search function="crit">
  <name>metacritic</name>
  <category>Entertainment</category>
  <contributor>Tom Corcoran</contributor>
  <link>http://www.metacritic.com/</link>
  <email></email>
  <description>Metacritic compiles reviews from respected critics and publications for 
film, video/dvd, music and games.<br/>
    <div class="helpboxDescLabels">Usage:</div>
   <table class="helpboxDescTable">
    <tr><td>crit &lt;<i>title</i>&gt; [{/movie | /music | /games | /all}]</td></tr>
   </table>
    <div class="helpboxDescLabels">Examples:</div>
    <table class="helpboxDescTable">
    <tr><td>crit bright orange bright yellow /music</td></tr>
    <tr><td>crit bringing down the house /movie</td></tr>
   </table>
 
  </description>
 
  <form name="critf"
        method="post"
        action="http://search.metacritic.com/search/process";>
    <input type="hidden" name="sort" value="relevance" />
    <input type="hidden" name="termType" value="all" />
    <input type="hidden" name="term" value="" />
    <input type="hidden" name="mode" value="all" />
  </form>
 
  <script><![CDATA[
    function crit(q)
    {
      if( nullArgs("crit", q) )
        return false;
      else
        {
          var args = parseArgs(q, "movie,music,games,all");
 
          if( args.switches.length > 0 )
            for( var j=0; j<args.switches.length; j++ )
              switch( args.switches[j].name )
              {
                case "movie": document.critf.mode.value = "movie"; break;
                case "music": document.critf.mode.value = "music"; break;
                case "games": document.critf.mode.value = "games"; break;
                case "all": document.critf.mode.value = "all"; break;
              }
        }  
      document.critf.term.value = args.q;
 
      submitForm(critf);
    }
  ]]></script>
</search>



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Reply via email to