Alternative Results Formats

You can present the results in alternative formats by changing the action in your html form tag. You can present results in XML, Python dictionary, or plain text format.


Results in Standard format



<html>
<body>
<form name="seek" method="GET" action="http://search.tennessee.edu/utk/query.html">
<input type="hidden" name=col value="utk">
<input type="text" size="30" maxlength="35" name="qt">
<input type="submit" value="Search">
</form>
</body>
</html>


Results in XML format



<html>
<body>
<form name="seek" method="GET" action="http://search.tennessee.edu/utk/saquery.xml">
<input type="hidden" name=col value="utk">
<input type="text" size="30" maxlength="35" name="qt">
<input type="submit" value="Search">
</form>
</body>
</html>


Results in Python dictionary format



<html>
<body>
<form name="seek" method="GET" action="http://search.tennessee.edu/utk/pyquery.spy">
<input type="hidden" name=col value="utk">
<input type="text" size="30" maxlength="35" name="qt">
<input type="submit" value="Search">
</form>
</body>
</html>


Results in plain text format



<html>
<body>
<form name="seek" method="GET" action="http://search.tennessee.edu/utk/saquery.spy">
<input type="hidden" name=col value="utk">
<input type="text" size="30" maxlength="35" name="qt">
<input type="submit" value="Search">
</form>
</body>
</html>


Results in RSS format



<html>
<body>
<form name="seek" method="GET" action="http://search.tennessee.edu/rssquery.xml">
<input type="hidden" name=col value="utk">
<input type="hidden" name=nh value="5">
<input type="text" size="30" maxlength="35" name="qt">
<input type="submit" value="Search">
</form>
</body>
</html>


Results in Simple RSS format



<html>
<body>
<form name="seek" method="GET" action="http://search.tennessee.edu/simplerssquery.xml">
<input type="hidden" name=col value="utk">
<input type="hidden" name=nh value="5">
<input type="text" size="30" maxlength="35" name="qt">
<input type="submit" value="Search">
</form>
</body>
</html>


http://www.utc.edu/search.php - UT Chattanooga example using XML format results