<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<!-- This page is only XHTML 1.0 Transitional and not Strict because iframes are in use -->
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< title > YaCy '#[clientname]#': Integration of a Search Portal< / title >
#%env/templates/metas.template%#
< / head >
< body id = "ConfigSkins" >
#%env/templates/header.template%#
#%env/templates/submenuPortalIntegration.template%#
< h2 > Integration of a Search Portal< / h2 >
< p >
If you like to integrate YaCy as portal for your web pages, you may want to change icons and messages on the search page.
The search page may be customized. You can change the 'corporate identity'-images, the greeting line
and a link to a home page that is reached when the 'corporate identity'-images are clicked.
To change also colours and styles use the < a href = "ConfigAppearance_p.html" > Appearance Servlet< / a > for different skins and languages.
< / p >
< form action = "ConfigPortal.html" >
< fieldset >
< dl >
< dt > Greeting Line< / dt >
< dd > < input type = "text" name = "promoteSearchPageGreeting" value = "#[promoteSearchPageGreeting]#" size = "60" / > < / dd >
< dt > URL of Home Page< / dt >
< dd > < input type = "text" name = "promoteSearchPageGreeting.homepage" value = "#[promoteSearchPageGreeting.homepage]#" size = "60" / > < / dd >
< dt > URL of a Small Corporate Image< / dt >
< dd > < input type = "text" name = "promoteSearchPageGreeting.smallImage" value = "#[promoteSearchPageGreeting.smallImage]#" size = "60" / > < / dd >
< dt > URL of a Large Corporate Image< / dt >
< dd > < input type = "text" name = "promoteSearchPageGreeting.largeImage" value = "#[promoteSearchPageGreeting.largeImage]#" size = "60" / > < / dd >
< dt > Show Navigation Bar on Search Page?< / dt >
< dd >
< input type = "radio" name = "publicTopmenu" value = "true" # ( publicTopmenu ) # ::checked = "checked" # ( / publicTopmenu ) # / > Show Navigation Top-Menu
< input type = "radio" name = "publicTopmenu" value = "false" # ( publicTopmenu ) # checked = "checked" :: # ( / publicTopmenu ) # / > no link to YaCy Menu (admin must navigate to /Status.html manually)
< / dd >
< dt > Default Pop-Up Page< / dt >
< dd >
< input type = "radio" name = "popup" value = "status" # ( popupStatus ) # ::checked = "checked" # ( / popupStatus ) # / > Status Page
< input type = "radio" name = "popup" value = "front" # ( popupFront ) # ::checked = "checked" # ( / popupFront ) # / > Search Front Page
< input type = "radio" name = "popup" value = "search" # ( popupSearch ) # ::checked = "checked" # ( / popupSearch ) # / > Search Page (small header)
< input type = "radio" name = "popup" value = "interactive" # ( popupInteractive ) # ::checked = "checked" # ( / popupInteractive ) # / > Interactive Search Page
< / dd >
< dt > Default index.html Page (by forwarder)< / dt >
< dd > < input type = "text" name = "indexForward" value = "#[indexForward]#" size = "60" / > < / dd >
< dt > Target for Click on Search Results< / dt >
< dd >
< select name = "target" >
< option value = "_blank" # ( selected_blank ) # ::selected = "selected" # ( / selected_blank ) # > "_blank" (new window)< / option >
< option value = "_self" # ( selected_self ) # ::selected = "selected" # ( / selected_self ) # > "_self" (same window)< / option >
< option value = "_parent" # ( selected_parent ) # ::selected = "selected" # ( / selected_parent ) # > "_parent" (the parent frame of a frameset)< / option >
< option value = "_top" # ( selected_top ) # ::selected = "selected" # ( / selected_top ) # > "_top" (top of all frames)< / option >
< option value = "searchresult" # ( selected_searchresult ) # ::selected = "selected" # ( / selected_searchresult ) # > "searchresult" (a default custom page name for search results)< / option >
< / select >
< / dd >
< dt > < / dt >
< dd >
< input type = "submit" name = "searchpage_set" value = "Change Search Page" / >
< input type = "submit" name = "searchpage_default" value = "Set to Default Values" / >
< / dd >
< / dl >
< / fieldset >
< / form >
< h3 >
The search page can be integrated in your own web pages with an iframe. Simply use the following code:
< / h3 >
< fieldset > < pre >
< iframe name=" target"
src=" http://#[myaddress]#/index.html?display=2& resource=local"
width=" 100%"
height=" 410"
frameborder=" 0"
scrolling=" auto"
id=" target" >
< /iframe>
< / pre > < / fieldset >
This would look like:
< iframe name = "target"
src="http://#[myaddress]#/index.html?display=2& resource=local"
width="100%"
height="410"
frameborder="0"
scrolling="auto"
id="target">
< / iframe >
< h3 >
For a search page with a small header, use this code:
< / h3 >
< fieldset > < pre >
< iframe name=" target2"
src=" http://#[myaddress]#/yacysearch.html?display=2& resource=local"
width=" 100%"
height=" 180"
frameborder=" 0"
scrolling=" auto"
id=" target2" >
< /iframe>
< / pre > < / fieldset >
This would look like:
< iframe name = "target2"
src="http://#[myaddress]#/yacysearch.html?display=2& resource=local"
width="100%"
height="180"
frameborder="0"
scrolling="auto"
id="target2">
< / iframe >
< h3 >
A third option is the interactive search. Use this code:
< / h3 >
< fieldset > < pre >
< iframe name="target3"
src=" http://#[myaddress]#/yacyinteractive.html?display=2"
width=" 100%"
height=" 180"
frameborder=" 0"
scrolling=" auto"
id=" target3" >
< /iframe>
< / pre > < / fieldset >
This would look like:
< iframe name = "target3"
src="http://#[myaddress]#/yacyinteractive.html?display=2"
width="100%"
height="180"
frameborder="0"
scrolling="auto"
id="target3">
< / iframe >
#%env/templates/footer.template%#
< / body >
< / html >