1

我试过在我的头标签中添加链接标签

 <link rel="search" href="/opensearchdescription.xml" type="application/opensearchdescription+xml" title="aaden001.cs518.cs.odu.edu" />

我还在根目录中创建了 opensearchdescription.xml,它看起来像这样

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>aaden001.cs</ShortName>
<Description>Use Google to search aaden001.cs</Description>
<Tags>aaden001.cs.odu.edu</Tags>
<Url type="text/html" template="http://aaden001.cs518.cs.odu.edu/?q= {searchTerms}"/>
</OpenSearchDescription>

但我没有在我的网站上找到 opensearch 框。任何帮助都会有所帮助

4

0 回答 0