Add search.rdf

This commit is contained in:
rjc%netscape.com 2000-04-23 04:43:44 +00:00
parent 2bf73dc704
commit c323e8a9c6
4 changed files with 96 additions and 0 deletions

View File

@ -1,2 +1,3 @@
bookmarks.html
panels.rdf
search.rdf

View File

@ -30,6 +30,7 @@ include $(topsrcdir)/config/rules.mk
FILES := \
bookmarks.html \
panels.rdf \
search.rdf \
$(NULL)
FILES := $(addprefix $(srcdir)/, $(FILES))

View File

@ -27,6 +27,7 @@ include <$(DEPTH)\config\rules.mak>
FILES=\
bookmarks.html \
panels.rdf \
search.rdf \
$(NULL)
install::

View File

@ -0,0 +1,93 @@
<?xml version="1.0"?> <!-- -*- Mode: SGML -*- -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corp. Portions created by Netscape Communications
- Corp. are Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s): Robert John Churchill (rjc@netscape.com)
-->
<!DOCTYPE RDF
[
<!ENTITY search.category.jobs "Jobs">
<!ENTITY search.category.music "Music - Artist">
<!ENTITY search.category.shareware "Shareware">
<!ENTITY search.category.technews "Tech News">
<!ENTITY search.category.web "Web">
]
>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:NC="http://home.netscape.com/NC-rdf#">
<!-- search categories (under the "NC:SearchCategoryRoot" node) -->
<!-- Note: these names SHOULD be localized via a DTD -->
<RDF:Seq about="NC:SearchCategoryRoot">
<RDF:li>
<RDF:Description about="urn:search:category:2">
<NC:title>&search.category.jobs;</NC:title>
</RDF:Description>
<RDF:Description about="urn:search:category:3">
<NC:title>&search.category.music;</NC:title>
</RDF:Description>
<RDF:Description about="urn:search:category:4">
<NC:title>&search.category.shareware;</NC:title>
</RDF:Description>
<RDF:Description about="urn:search:category:5">
<NC:title>&search.category.technews;</NC:title>
</RDF:Description>
<RDF:Description about="urn:search:category:1">
<NC:title>&search.category.web;</NC:title>
</RDF:Description>
</RDF:li>
</RDF:Seq>
<!-- engines per category (Note that specific prefixes are required) -->
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:1">
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:AOLSearch.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:CompuServe.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:ICQ.src" />
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:NetscapeSearch.src" />
</RDF:Seq>
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:2">
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:Jobs.src" />
</RDF:Seq>
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:3">
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:Music_Artist.src" />
</RDF:Seq>
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:4">
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:Shareware.src" />
</RDF:Seq>
<RDF:Seq about="NC:SearchCategory?category=urn:search:category:5">
<RDF:li resource="NC:SearchCategory?engine=urn:search:engine:Tech_News.src" />
</RDF:Seq>
</RDF:RDF>