A Flash Developer Resource Site

Results 1 to 19 of 19

Thread: how to add a personal search engine to my CD Presentation

  1. #1
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887
    done in HTML . i got a client who wish to add a search engine to his ebook that is (CDROM version)so can i hav some free search engines or some sort of script which can search for some strings on viewer request . is there something out like that ? free search scripts . which can run on my CDs.
    waiting for yur replies?
    need it fast .
    peace
    db

  2. #2
    Senior Member Braco's Avatar
    Join Date
    May 2001
    Posts
    134
    You can get free scripts at Dynamic Drive ( http://www.dynamicdrive.com/ ) and also free java scripts from this site ( http://www.wsabstract.com ). I have gotten their search engines before and they work pretty well. I dunno about if they will work on a cd or not though. Try it and see I guess.

  3. #3
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887

    thank u for yur kind support ,

    will be an additional information for me if u provide me with the script .
    thank u

  4. #4

  5. #5
    Senior Member
    Join Date
    Apr 2001
    Posts
    567

  6. #6
    Senior Member Braco's Avatar
    Join Date
    May 2001
    Posts
    134
    JAVA SEARCH ENGINE


    <script language="JavaScript">
    <!--

    //
    // Script by Jari Aarniala [www.mbnet.fi/~foo -- foo@mbnet.fi]
    //
    // This script makes it easy to choose with which search engine
    // you`d like to search the net. You may use this if you keep this
    // text here...
    //

    function startSearch(){
    searchString = document.searchForm.searchText.value;
    if(searchString != ""){
    searchEngine = document.searchForm.whichEngine.selectedIndex + 1;
    finalSearchString = "";

    if(searchEngine == 1){
    finalSearchString = "http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=.&q=" + searchString;
    }
    if(searchEngine == 2){
    finalSearchString = "http://av.yahoo.com/bin/query?p=" + searchString + "&hc=0&hs=0";
    }
    if(searchEngine == 3){
    finalSearchString = "http://www.excite.com/search.gw?trace=a&search=" + searchString;
    }
    if(searchEngine == 4){
    finalSearchString = "http://www.hotbot.com/?SW=web&SM=MC&MT=" + searchString + "&DC=10&DE=2&RG=NA&_v=2&act.search.x=89&act.search .y=7";
    }
    if(searchEngine == 5){
    finalSearchString = "http://www.infoseek.com/Titles?qt=" + searchString + "&col=WW&sv=IS&lk=noframes&nh=10";
    }
    if(searchEngine == 6){
    finalSearchString = "http://www.lycos.com/cgi-bin/pursuit?adv=%26adv%3B&cat=lycos&matchmode=and&quer y=" + searchString + "&x=45&y=11";
    }
    if(searchEngine == 7){
    finalSearchString = "http://netfind.aol.com/search.gw?search=" + searchString + "&c=web&lk=excite_netfind_us&src=1";
    }

    location.href = finalSearchString;
    }
    }


    // -->
    </script>

    <basefont face="Verdana, Arial, sans-serif">

    <form name="searchForm">

    <table width=320 border cellpadding=3 cellspacing=2 bgcolor=444444>

    <tr>
    <td bgcolor=lightblue><font size=1 face="Verdana, Arial, sans-serif">Search for:<br>
    <td bgcolor=lightblue><font size=1 face="Verdana, Arial, sans-serif">Search from:
    <td bgcolor=lightblue>&nbsp;

    <tr>
    <td bgcolor=navajowhite><input style="background: dddddd" name="searchText" type="text">
    <td bgcolor=navajowhite>
    <select style="background: dddddd" name="whichEngine">
    <option selected>Altavista
    <option>Yahoo!
    <option>Excite
    <option>Hotbot
    <option>Infoseek
    <option>Lycos
    <option>AOL Netfind
    </select>
    <td bgcolor=navajowhite><input type="button" value="Send" onClick="startSearch()">

    </select>
    </table>
    </form>

    <font size=1>Script by <a href="http://www.mbnet.fi/~foo/">Jari Aarniala</a>, <a href="mailto:foo@mbnet.fi">foo@mbnet.fi</a>







    ok here's one that ive used before -- might have to do some editing of the script to get rid of some text. up to you

  7. #7
    New Yorker
    Join Date
    Feb 2001
    Posts
    1,314
    http://atomz.com
    They offer you 500 pages free for your own site search
    google gives you web and self search
    D

  8. #8
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    Nice site big D.
    Nice script braco.
    If you can't find it in one of these your not looking. that Atomz looks like the way to go for most small sites.

  9. #9
    Shhh! monkeypants's Avatar
    Join Date
    Aug 2000
    Posts
    2,321
    When I'm using html for cd-rom's (not often) I use a program called Enavigator from http://www.auscomp.com

    It creates java navigation systems, sitemaps, search
    engines and directories.

    You can use a javascript text search, but the results won't be as organized or as accurate.

    If you have flash content, you will have to reference the text somewhere in the html, as the search engine cannot read the .swf

  10. #10
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887

    thank u all for yur kind support

    i checked all of the scripts but there was nothing for offline paging . or m i missing something . i know after some chages i can make the same scripts work for offline . but can some1 guide me through.
    db

  11. #11
    Shhh! monkeypants's Avatar
    Join Date
    Aug 2000
    Posts
    2,321
    Javascript is great for finding text, but unless you have some serious scripting experience, you're going to end up with a very sloppy results page. Most websites use cgi, asp, java, or php to handle searches. Since your pages are running from a cd, you don't have the benefit of the server environment to help you.

    In order to have a functional, context sensitive search engine, you're going to have to script it somehow, or pay someone else to do it (or buy software that will do it for you.) I think you will quickly learn that HTML s not the way to go when it comes to creating cd rom media.

    Take a look at MultiMedia Builder MP3 from http://www.mediachance.com This program allows you to create a much more functional front-end for the cd, and if you have to you can include your html content. The program generated is a stand alone .exe, and you won't have to count on client machines having any special software installed. The program also offers an extensive, open scripting language very similar to javascript. It's only $50 us and will make creating your presentation easier...and with more professional results.


  12. #12
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887

    thank u monkey , the problem is fixed i got a script from my friend

    i will post it here in a day or two .
    ok monkey do u know about that v can create r oen search facilty with frontpage 2000 bot thingi do u know about it .ofcourse gain for offline browsing . can a normal user like me do that .do they hav some forums around . where i can log onto and learn more about designing my own frontpage search engine ?
    thank u for yur help.
    db


  13. #13
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    http://www.frontpagemail.com/forum/
    That is a pretty good forum for frontpage. I use it all the time. As to the search engine in Frontpage it is only for the frontpage site you are building. It isn't for the Web. Is that what you are looking for. I use FrontPage a lot for the simplicity and management capabilities. Hope that helps.

  14. #14
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887

    okey u know how to make a search engine

    in that . is it easy
    thank u for the link
    db

  15. #15
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    You can create a search page for your site in about 5 mins. It's that easy.

  16. #16
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887

    thankz again doug , ok can u provide me some good

    tips for that or if u want provide me with some material . so that i can read and work on it . ok what if i want to make it for more than 100 pages and yes will it work on a CDROM.
    db

  17. #17
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    There are huge books written on FrontPage 2000 Aab.You can use it for an web site, an intrenet or a CD application. Your can create an entire web site in about 2 hours the day you buy it. You can set up just about anything you want, thats what the product is designed to do. It also does it very simply. Don't know what else to tell you. It works.

  18. #18
    The Flashkit Mama
    Join Date
    Sep 2000
    Location
    Karachi , Pakistan
    Posts
    887

    Thank u Doug

    well thank u for yur support and yes thanks to others 2.i hope this thread will help the others and the nwebiez too.
    thank u again
    db

  19. #19
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    My pleasure aab, I'm sure if you choose to go that way it will do everything you want with a much lower learning curve than anything else on the market.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center