×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Search

A starting point for the XML search feature by davidt50
Posted: 8 May 03 (Edited 4 Jul 03)

I am posting an html file to help when people develop custom search pages.  This html contains all of the components supported ( as far as I can tell ) in the xml/url search feature.  My understanding is you can send in components as well and not need the entire page.
--------------------------------------------------------

<HTML>
    <BODY>
        <FORM ACTION="http://localhost/livelink/livelink.exe" METHOD="POST" NAME="searchFrm" >
            <!-- Your prompts to the user here -->
            <BR>
            <INPUT TYPE="HIDDEN" NAME="func" VALUE="search" >
            <TABLE>
                <TR BGCOLOR="#CCCCCC">
                    <TD COLSPAN="2">
                    <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">
                    <B>NLQ Search</B>
                    </FONT>
                    </TD>
                <TR>
                    <TD></TD>
                    <TD>Enter a Natural Language Query:
                    ááá
                    <SELECT NAME="NLQMode">
                    <OPTION VALUE="KeywordExtraction">Keyword Extraction</OPTION>
                    <OPTION VALUE="LivelinkAware">Livelink Aware</OPTION>
                    </SELECT>
                    </TD>
                </TR>
                <TR>
                    <TD></TD>
                    <TD><TEXTAREA NAME="NLQ" COLS="60" ROWS="4" wrap=soft></TEXTAREA></TD>
                </TR>
                <TR BGCOLOR="#CCCCCC">
                    <TD COLSPAN="2">
                    <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">
                    <B>Full Text</B>
                    </FONT>
                    </TD>
                </TR>
                <TR>
                    <TD>
                    </TD>
                    <TD>
                        <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">Look For:</FONT>
                        <SELECT NAME="mode1">
                        <OPTION VALUE="Nl" >Answer to a Question </OPTION>
                        <OPTION VALUE="And"  SELECTED>All Words </OPTION>
                        <OPTION VALUE="Or" >Any Words </OPTION>
                        <OPTION VALUE="Exact" >Exact Phrase </OPTION>
                        <OPTION VALUE="LivelinkQuery" >Complex Query </OPTION>
                        </SELECT>
                        áááá
                        <FONT SIZE="2" FACE="Arial,Helvetica,sans-serif">Modifier:</FONT>
                        <SELECT NAME="modifier1">
                        <OPTION VALUE=""><None></OPTION>
                        <OPTION VALUE="defaultthesaurus" >Synonyms Of</OPTION>
                        <OPTION VALUE="stem" >Related To</OPTION>
                        <OPTION VALUE="phonetic" >Sounds Like</OPTION>
                        <OPTION VALUE="righttruncation" >Word Begins With</OPTION>
                        <OPTION VALUE="lefttruncation" >Word Ends With</OPTION>
                        </SELECT>
                    </TD>
                </TR>
                <TR>
                    <TD>
                    </TD>
                    <TD>
                        <INPUT TYPE="text" NAME="where1" VALUE="help" SIZE="50">
                        áwithiná
                        <SELECT NAME="within1">
                            <OPTION VALUE="All"  SELECTED>All</OPTION>
                            <OPTION VALUE="content" >Content</OPTION>
                            <OPTION VALUE="metadata" >MetaData</OPTION>
                        </SELECT>

                    </TD>
                </TR>
                <TR>
                    <TD>
                        <SELECT NAME="option2">
                        <OPTION VALUE="Or"  SELECTED>Or</OPTION>
                        <OPTION VALUE="And" >And</OPTION>
                        <OPTION VALUE="And-Not" >Not</OPTION>
                        </SELECT>
                    </TD>
                    <TD>
                    </TD>
                </TR>
                <TR>
                    <TD>
                    </TD>
                    <TD>
                        <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">Look For:</FONT>
                        <SELECT NAME="mode2">
                        <OPTION VALUE="Nl" >Answer to a Question </OPTION>
                        <OPTION VALUE="And"  SELECTED>All Words </OPTION>
                        <OPTION VALUE="Or" >Any Words </OPTION>
                        <OPTION VALUE="Exact" >Exact Phrase </OPTION>
                        <OPTION VALUE="LivelinkQuery" >Complex Query </OPTION>
                        </SELECT>
                        áááá
                        <FONT SIZE="2" FACE="Arial,Helvetica,sans-serif">Modifier:</FONT>
                        <SELECT NAME="modifier2">
                        <OPTION VALUE=""><None></OPTION>
                        <OPTION VALUE="defaultthesaurus" >Synonyms Of</OPTION>
                        <OPTION VALUE="stem" >Related To</OPTION>
                        <OPTION VALUE="phonetic" >Sounds Like</OPTION>
                        <OPTION VALUE="righttruncation" >Word Begins With</OPTION>
                        <OPTION VALUE="lefttruncation" >Word Ends With</OPTION>
                        </SELECT>
                    </TD>
                </TR>
                <TR>
                    <TD>
                    </TD>
                    <TD>
                        <INPUT TYPE="text" NAME="where2" VALUE="triumph" SIZE="50">
                        áwithiná
                        <SELECT NAME="within2">
                            <OPTION VALUE="All"  SELECTED>All</OPTION>
                            <OPTION VALUE="content" >Content</OPTION>
                            <OPTION VALUE="metadata" >MetaData</OPTION>
                        </SELECT>
                    </TD>
                </TR>
                <TR BGCOLOR="#CCCCCC">
                    <TD COLSPAN="2">
                    <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">
                    <B>Scope</B>
                    </FONT>
                    </TD>
                </TR>
                <TR>
                    <TD>

                    </TD>
                    <TD>
                        <SELECT CLASS="searchBut"  MULTIPLE NAME="broker" SIZE="4">
                            <OPTION  VALUE="123550">Admin Help
                            <OPTION  VALUE="128605">Builder Documentation
                            <OPTION SELECTED VALUE="2245">Enterprise
                            <OPTION  VALUE="2249">Enterprise [All Versions]
                            <OPTION  VALUE="133788">Help
                        </SELECT>
                    </TD>
                </TR>
                <TR BGCOLOR="#CCCCCC">
                    <TD COLSPAN="2">
                    <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">
                    <B>Output Options</B>
                    </FONT>
                    </TD>
                </TR>
                <TR>
                    <TD>
                    </TD>
                    <TD>
                        <TABLE BORDER="1">
                            <TR>
                                <TD>
                                    <FONT SIZE="2" FACE="Arial,Helvetica,sans-serif">Format:</FONT><BR>
                                    <INPUT TYPE="RADIO" NAME="outputformat" VALUE="fullhtml" CHECKED  > Normal
                                    <BR>
                                    <INPUT TYPE="RADIO" NAME="outputformat" VALUE="htmlbody" > Raw Resultsá
                                    <BR>
                                    <INPUT TYPE="RADIO" NAME="outputformat" VALUE="xml" > XML Resultsá
                                </TD>
                                <TD>
                                    <FONT SIZE="2" FACE="Arial,Helvetica,sans-serif">Result Set Range:</FONT><BR>
                                    Start At:áááááá<INPUT TYPE="text" NAME="StartAt" VALUE="1" SIZE="4"><BR>
                                    How Many:á<INPUT TYPE="text" NAME="goFor" VALUE="10" SIZE="4"><BR>
                                </TD>
                            </TR>
                        </TABLE>
                    </TD>
                </TR>
                <TR BGCOLOR="#CCCCCC">
                    <TD COLSPAN="2">
                    <FONT FACE="Arial,Helvetica,sans-serif" SIZE="2">
                    <B>Action</B>
                    </FONT>
                    </TD>
                </TR>
            </TABLE>

            <INPUT TYPE="SUBMIT" Value="Search">
            <BR>
        </FORM>
    </BODY>
</HTML>


Back to Open Text: Livelink FAQ Index
Back to Open Text: Livelink Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close