Enabling Basic Search
The search results provided for basic keyword search by institutions with or without reSearch Profiles (rSp) follow the following format (as described by the DTD):
<!ELEMENT institution (name, count, pidlist, searchresult)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT count (#PCDATA)>
<!ELEMENT pidlist (#PCDATA)>
<!ELEMENT searchresult(score,profile_type,profile_link,relevant_sections,institution_id,brief_description,imageurl)>
<!ELEMENT score (#PCDATA)>
<!ELEMENT profile_type (#PCDATA)>
<!ELEMENT profile_link (#PCDATA)>
<!ELEMENT relevant_section (#PCDATA)>
<!ELEMENT institution_id (#PCDATA)>
<!ELEMENT brief_description (#PCDATA)>
<!ELEMENT imageurl (#PCDATA)>
Detailed Description
INSTITUTION: This is the outer element for any search result set returned NAME: This specifies the official name of the institution.
COUNT: This attribute gives the number of matches returned
SCORE: Gives the individual score of a returned tuple
PROFILE TYPE (refer Basic+ CDD)
- Faculty/Expertise = 1
- Research Center = 2
- Technologies and patents = 3
- Research Facilities = 4
- Equipment = 5
- Laboratories and Research Groups = 6
PROFILE_LINK: Gives the link pointing to the URL where more information can be found for the search result. If all urls have a common root the root can be stored with us and only a relative URL will be provided with the search results.
RELEVANT SECTION: Names of the sections from BASIC+ CDD where the keyword being searched on was found or other user defined section name.
INSTITUTION_ID: Provides an unique identifier for each institution. This institution_id is assigned to the institution by the Collaborative Partnership.
BRIEF_DESCRIPTION: This element contains a small (150 characters) description of the result tuple being returned.
IMAGEURL: Gives the web location/URL for an image for the search result.
Example Search Request/Result:
REQUEST QUERY
?faculty=true&researchcenter=true&technology=true&facility=true&equipment=true&labgroup=true&search=bio&searchtype=basic
[ Refer Basic CDD for a description of these querystring variables ]
RESULT XML OUTPUT
<institution>
<name>The University North Texas Health Science Center</name>
<count>2</count>
<searchresult>
<score>329</score>
<profile_type>2</profile_type>
<profile_name>Center for Nanostructured Materials</profile_name>
<profile_link>editprofile.php?pid=517&onlyview=1</profile_link>
<relevant_sections>
General Information, Contact Information, General Information, General Information, Contact Information, Research / Services, Members, Contact Information, Research / Services, Members </relevant_sections><institution_id>2</institution_id>
<brief_description> The chemistry and physics of nanostructured materials has been a central theme of science and tech... </brief_description>
<imageurl>images/48/129_0_124.jpg</imageurl>
</searchresult>
</institution>