我正在嘗試使APLcart與 OpenSearch 一起使用,但請繼續Firefox could not install the search engine from: https://aplcart.info/opensearch.xml使用:
<link rel="search" type="application/opensearchdescription xml" title="APLcart"
href="/opensearch.xml">
在哪里/opensearch.xml:
<OpenSearchDescription>
<ShortName>APLcart</ShortName>
<Description>
Search APLcart: A novel approach to finding your way in APL
</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">https://aplcart.info/favicon.ico</Image>
<Url type="text/html" template="https://aplcart.info/?q={searchTerms}"/>
</OpenSearchDescription>
- 請注意,這不是同一個問題,因為我確實有
Url type="text/html". - 我試過了
method="get"
為了符合我的 OpenSearch 規范,我需要更改哪些內容?
uj5u.com熱心網友回復:
您必須使用正確的命名空間
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
如果您打開瀏覽器控制臺 (CTRL Shift J),您可以看到錯誤訊息
由于命名空間不匹配,搜索插件無效。
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/417616.html
標籤:
