NewsBlur-viq/vendor/feedvalidator/demo/testcases/opensearch/header.html

165 lines
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>Feed Validator Test Cases</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="icon" href="http://www.feedvalidator.org/favicon.ico" />
<link rel="shortcut icon" href="http://www.feedvalidator.org/favicon.ico" />
<style type="text/css" media="screen">@import "../../../css/common.css";
@import "../../../css/documentation.css";</style>
<script type="text/javascript">
toc = {
"Notice": "1",
"Overview": "2",
"Namespace": "3",
"OpenSearch_description_document": "4",
"Overview_2": "4.1",
"Examples": "4.2",
"Type": "4.3",
"Extensibility": "4.4",
"OpenSearch_description_elements": "4.5",
"The_.22OpenSearchDescription.22_element": "4.5.1",
"The_.22ShortName.22_element": "4.5.2",
"The_.22Description.22_element": "4.5.3",
"The_.22Url.22_element": "4.5.4",
"The_.22Contact.22_element": "4.5.5",
"The_.22Tags.22_element": "4.5.6",
"The_.22LongName.22_element": "4.5.7",
"The_.22Image.22_element": "4.5.8",
"The_.22Query.22_element": "4.5.9",
"The_.22Developer.22_element": "4.5.10",
"The_.22Attribution.22_element": "4.5.11",
"The_.22SyndicationRight.22_element": "4.5.12",
"The_.22AdultContent.22_element": "4.5.13",
"The_.22Language.22_element": "4.5.14",
"The_.22InputEncoding.22_element": "4.5.15",
"The_.22OutputEncoding.22_element": "4.5.16",
"Autodiscovery": "4.6",
"Autodiscovery_in_RSS.2FAtom": "4.6.1",
"Autodiscovery_in_HTML.2FXHTML": "4.6.2",
"OpenSearch_URL_template_syntax": "5",
"Overview_3": "5.1",
"Examples_2": "5.2",
"Context": "5.3",
"Template_grammar": "5.4",
"Substitution_rules": "5.5",
"Parameter_names": "5.5.1",
"Case_sensitivity_of_parameter_names": "5.5.2",
"Parameter_name_prefix": "5.5.3",
"Unqualified_parameter_names": "5.5.4",
"Fully_qualified_parameter_names": "5.5.5",
"Required_template_parameters": "5.5.6",
"Optional_template_parameters": "5.5.7",
"OpenSearch_1.1_parameters": "5.6",
"The_.22searchTerms.22_parameter": "5.6.1",
"The_.22count.22_parameter": "5.6.2",
"The_.22startIndex.22_parameter": "5.6.3",
"The_.22startPage.22_parameter": "5.6.4",
"The_.22language.22_parameter": "5.6.5",
"The_.22inputEncoding.22_parameter": "5.6.6",
"The_.22outputEncoding.22_parameter": "5.6.7",
"OpenSearch_Query_element": "6",
"Overview_4": "6.1",
"Examples_3": "6.2",
"The_.22Query.22_element_2": "6.3",
"Query_element_extensibility": "6.4",
"Role_values": "6.5",
"Role_extensibility": "6.5.1",
"Role_prefix": "6.5.2",
"Local_role_values": "6.5.3",
"Fully_qualified_role_values": "6.5.4",
"OpenSearch_response_elements": "7",
"Examples_of_OpenSearch_responses": "7.1",
"Example_of_OpenSearch_response_elements_in_RSS_2.0": "7.1.1",
"Example_of_OpenSearch_response_elements_in_Atom_1.0": "7.1.2",
"Elements": "7.2",
"The_.22totalResults.22_element": "7.2.1",
"The_.22startIndex.22_element": "7.2.2",
"The_.22itemsPerPage.22_element": "7.2.3",
"The_.22Query.22_element_3": "7.2.4",
"Response_metadata_in_HTML.2FXHTML": "7.3",
"Author": "8",
"Contributors": "9",
"License": "10"
}
window.onload=function() {
if(!document.getElementsByTagName || !document.createElement) return;
var images = document.getElementsByTagName("IMG");
for (var i=0; i<images.length; i++) {
var image = images[i];
if (image.src.indexOf("/icons/text.gif") >= 0) {
image.src="/icons/unknown.gif";
}
if (image.src.indexOf("/icons/unknown.gif") >= 0) {
image.src="../../../favicon.ico";
image.hspace=2;
image.vspace=1;
var a = document.createElement('a');
a.href="../../../check.cgi?url=" +
escape(image.nextSibling.nextSibling.href);
image.title="validate";
image.parentNode.replaceChild(a,image);
image.border = 0;
a.appendChild(image);
}
}
var h2 = document.getElementsByTagName("h2");
if (h2.length && document.URL) {
var tcindex = document.URL.indexOf('testcases/opensearch/');
if (tcindex >= 0) {
var qindex = document.URL.lastIndexOf('/');
var sectionname = document.URL.substring(tcindex+21, qindex);
var section = toc[sectionname];
if (/[0-9]/.test(section)) {
h2[0].firstChild.nodeValue = "Section ";
var a = document.createElement('a');
a.href="http://www.opensearch.org/Specifications/OpenSearch/1.1#" + sectionname;
a.appendChild(document.createTextNode(section));
h2[0].appendChild(a);
}
var p = document.createElement('blockquote');
p.appendChild(document.createTextNode('You may also find more information on the '));
var a = document.createElement('a');
a.href="http://www.opensearch.org/Home";
a.appendChild(document.createTextNode("web site"));
p.appendChild(a);
p.appendChild(document.createTextNode(' and '));
a = document.createElement('a');
a.href="http://lists.opensearch.org/mailman/listinfo/opensearch-discuss";
a.appendChild(document.createTextNode("public mailing list"));
p.appendChild(a);
p.appendChild(document.createTextNode('.'));
h2[0].parentNode.insertBefore(p, h2[0].nextSibling);
p = document.createElement('blockquote');
p.appendChild(document.createTextNode('To validate, click on the '));
var image = document.createElement('img');
image.src= "../../../favicon.ico";
p.appendChild(image);
p.appendChild(document.createTextNode(' icon.'));
h2[0].parentNode.insertBefore(p, h2[0].nextSibling);
}
}
}
</script>
</head>
<body>
<div id="logo">
<h1><a href="../../.."><span id="feed"><span id="f">F</span><span id="e1">E</span><span id="e2">E</span></span><span id="d">D</span> Validator</a></h1>
<p>OpenSearch Test Cases</p>
<a class="skip" href="#startnavigation">Jump to navigation</a>
</div> <!--logo-->
<div id="main">
<h2>Index</h2>