ASP: Code Search Function For Chinese Site
Got a chinese website (has both chinese character and english), got to code search function for it, search for keywords in the webpages (htm/asp)
search in english it works, no problem
search in chinese it doesn't - it always return "nothing found"
you guys any idea?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Site Search Powered By Google Site Map?
Whenever I do a site that is mostly static but with some semi-dynamic sections, I've struggled to find a good site search solution without paying for a hosted search service. I like the FSO-based search engines, but they fail to pick up on some of the dynamic part. I was just creating a Google sitemap and it made me wonder: has anyone created or seen a script that uses the XML Google sitemap to power a search engine for your own site? Seems like if you were keeping it updated for Google, why not use it for your own site?
Search In My Web Site
I like to create a search mechanism in my web site. This search engine will look for the keyword in my web directory and return the file location as hyperlink. Now, I have included all the conent of my web site as include text file. Example: I have index.asp and content of index.asp located at include/index.txt. If search query locates at index.txt I want my search code to return index.asp instead of index.txt as search result. How can I do it.
Site Search
What's the best way to do a site search of my site? I am using asp and access heavily on a regular ISP google? Or write a bunch of queries? what else is there?
Site Search?
does anyone have a nice site search script, or know or a good free one, searched the code bank doesnt seem to be one there.
Search My Db From Another Site
i have a search facility on my site relating to motor racing. i am wanting to allow other sites to have the search bar on their site. (allowing people to search my site from that persons site) how to do this. this is what is in my search box. Code: <input type="TEXT" name="search" maxlength="50" size="35" value="<% =Request.QueryString("search") %>"> <input type="submit" value="Search " name="submit">
Site Search Script
I need a site search script but one that's a bit out of the ordinary. All the pages on my site have the header and footer in include files so a typical page of content looks like this <!-- #include file="header.asp" --> blah blah blah <!-- #include file="footer.asp" --> any script I've tried out sees the relevant content but is obviously looking at content.asp and therefore doesn't pick up the page title from header. As the title is in the header include its the same on each page so it wouldn't be much use anyway (tho I'd prefer to have it different). I suppose an alternative would be to link to the relevant page but provide an extract rather than page title, can anyone help?
Site Search-text
im working on a script which will search the specified keyword within files, for this im using FileSystemObject which is working file with html/text/asp files but is there any way to search the text within .doc/.pdf files too?
Site Search Engine
Can anyone suggest any good software/scripts for crawling, indexing and searching an intranet site. I have used Atomz for internet sites and like it but i need something internal now. Open-source or free is good.I have seen MS Indexing Server in action once before and didn't like it - has anyone found it good?
Site Search Script
I am looking for Site Search Script, which should include paging of results and highlighting the search text. Just like search using in this forum. Its sould have paging and highlighting the results under each hyperlink....
Create SEARCH In My Site
i am working in creating a medical system that keep track of medical records.. i am now in coding the search engine in the system which takes tha value entered by the user and search the database for the values that match the user's value..and display it in the results page. so how can i do that??can anyone give a sample of the code? is there is other way than using LIKE'%value%'?? because i want to write a code that search all my table columns.
Site Search Engine
i need solution for the following problem this function highlighting the keyword but this function display the all Text content with the keyword highlighted but i need to display the summary not all the content. Code:
Site Server Catalog Search
We are looking replace site server's catalog search application. We need to crawl a public website and allow uses to search indexed pages. We need a product to index our site and index custom meta tags we put in our pages. What website crawling products are available in the marketplace?
Search Entire Site Contents
I am developing a site that has a mixture of both Static and databased content for which the client requires a site wide search to pick up on the text in the database and the text in the static html pages. My original thought went to Index server? Does this still exist for Win 2003 Server? Are there any other similar server products? We can install what we like on the server, and obviously the cheaper/free'r the better! Or are there better solutions with some hosted search that can have a customisable results page?
Site Search And Forum Script
We are developing a CMS in ASP and before we write the code for a complete site search script and Forum, we want to check if is there any good ones?
Site Search: Reading Text File ERROR
I have to make a site search function for my website. User types a keyword, and the search function searches through all the static pages for the keyword. The result of the search has to display the URL relating to the keyword, which the user can click to read the contents. I had no idea how to go about doing it, finally I thought of using a textfile containing the word, and its related URL in the format: Code:
Search Function
i am wondering how I would go about making a search page on my site??? Basically, i want a field in my SQL dbase called keywords so i can put general words in i.e. Apple, Bannana, Kiwi etc. However, I want the page to be able to do 2 thngs: 1. If someone types "APPLE" the page will display all the records where the keyword is entered in the field 2. If someone types "Apples" and "Bannanas", the page will display all the records where the keywords is is entered in the field.
Search Function
i have a site that shows my dvd collection i have this call from the database and i want to add a search function in the same page (not the datbase) so when someone wants to search for say "Shrek" it will bring up the search results on the main page and should show "shrek 1 and shrek 2" , Also in the same light if someone searches by Actor all the films that actor has been in will appear on the main page I have created the Form Form in Dreamweaver Code: <form name="form1" method="post" action=""SELECT * FROM movies WHERE title = " & request("q") & ";""> <input type="text" name="textfield"> Search </form>
Search Function
Does anyone know of a tutorial or other source that addresses the following problem: I have a textbox (txtSearch) and a drop down box.I want to enter text in the textbox, and then select the table column to search using the drop down box i.e. Search for: Johnson (txtbox) Search by: Surname (ddbox)
Search Function
I have a page where I enter a keyword and I search for that keyword in my database. I want to highlight the word that is/was searched for in the results. My results consists of values out of varchar and text fields.
Search Function
i have numerous tables to search through for a 'site search'. some of the searchble fields have html embeded within so after some quick referencing, saw I can use the regExp function to strip out all the HTML leaving only the raw text. what is the best method to remove alot of words such as "a", "and", "I", "so", "that", "this" ...etc ... from the search string leaving only keywords essentially per page/field that will be searched within for the occurance of the users' input text through a input field. The idea being to only return the suitable records without alot of rubbish.
Asp Search Function
I have a asp/mysql real estate site that someone else created and I don't know much about asp. If you view all the homes listed on the site you get all the listings which is now 4 pages and growing http://arizonarenttoown.com/homes.asp There is no sort or search capabilities so the list is too long and needs to searched by city. I have some real estate websites that I created with a open source script, open -realty.org. They are php & mysql and have search pages so I can easily create a link for each city. When the link is clicked a search page displays only listings for that particular city. Code:
Function Code In ASP
I have a code In asp, but i don't know this function.below is code: 1.if instr(strq,"http://localhost/ab") > 0 then ........... else ........... end if 2.fid=replace(fid,"pdafid_","") 1.What function the code "instr"? 2.What function the code "replace"?
Search Code
I want the ASP code to pull data from the database. If i enter one of the field in the form and then click on Search button, the data for the other fields should automatically pop up.
Search Code
Looking for ASP code to search from the database. If I enter one of the field in form and then click on search, data on the other fields should popup by itself.
Search Code
can anyone tell me where i can get a good tutorial for a quick search.
Search Function W/out A Database?
I would like my ASP-based site to have a search box to bring up a list of relevant pages according to user-defined search criteria. Q: Do I need to have a d/b like SQL Server 7 at the back end to process and match the search string? Or can I do w/out a d/b somehow and run a search, and somehow still bring up the same results? If a d/b isn't necc, pls. advise on webpages where I can find such ASP-search codes.... TQ!!
Search Engine Function
i want to do a search function for my project, my project is allow user to upload file into my server and sharing among each other,i need to do a search engine function to allow user to search for the file that they want, can i know there a function can search through the server's file implemented in asp?or may i know there any open source search engine function coding for me to refer?
Database Search Function
I have a page that uses the data from the previous pages form to search the data in the database and dispaly any matching results. On doing so i get this error: Error Type: Microsoft VBScript compilation (0x800A03F9) Expected 'Then' /IT/searchresults.asp, line 20, column 15 If Request.Form"(Typesearch") = "computer_name" Then My statement has a then in the statement already.
Access Search Function
I have a neat database running and im trying to place a search engine thro it. I have quite a few tables, BUT i can only get the query in one table. ie Code:
Turning Code In To Function
I have some existing ASP code and a client would like it turned in to a function so they can call it in a way like this: Response.Write(functionname(blah, foo, y, n, n, n, n)) Can anyone point me at a tutorial for turning some existing code in to a function so I can do something like this?
Asp Zip Code Distance Search
I have a site and i have a text box for someone to type in a zip code. i nee dto know how to program, or locate a database, where the results will display my business location(s) by zipcode and display the total distance between the zip code entered by the visitor to the site, and my locations. like Midas has on their site (www.midas.com) where you type in a zip code and it returns the store locations and how far away they are from you.
Zip Code Search Form
I am trying to implement a search form that lets people find businesses by zip codes with a certain distance (e.g. 10, 20, and 50 miles).what do I need to buy to have the resources to do this? I have seen some zip code databases but I am not sure how to setup the distance from point A to point B and return the results within the distance.
Write Search Code
I am creating student website and wants to create some featuer like if user come on my side and type his/her student id in provided SEARCH FIELD [TEXT BOX] that page will display perticular information of that user but before that it will ask for login name and password as well. I am making my website in XHTML [front end], JAVA SCRIPT[validation], ASP [server coding], IIS server.
Post Code Search
I'm trying to work out how to do a post code search with longitiude and latitude, the idea is to be able to input yuor postcode and the search will return all company stores in that area.
Code For Search Webpage
i need code for search webpage meta keywords and meta description i need the webpage to be indexed completely up on entering webpage url.
Recursive File Search Function Bug
I've recently made a recursive sub in asp to search all folder and subfolders of the map "file" for a certain filename. It will list all results and show a link. Now there's still a bug. I can't place files in the root because this script won't find 'em. The root i mean files. If i replace the empty dir with Server.MapPath("") it will show the files in the root but it will show 'em twice. Code:
Advance Search Text Function
For example: The text to be searched is the following: Text 1: Hello world! what a nice day today. But I like to sit in front of computer and doing some web design. Now I have encountered some technical problems and would like to get some helps from the experts. Text 2: I like fishing. Text 3: Baseball season is over. Text 4: The winter snow storm is coming. Search Keyword: snow. Search result is Text 4 Search Keyword: I Search result is Text1 and Text2 At the end, the key word should highlighted with a different color in the paragraph. How would I do about this?
Calling A Javascript Function In Asp Code
I have create a function in javascript and the function will return an integer type of value and i want to call that function in Asp code and use that integer value so please tell me how can i call that function.
IIS Search: Filter Asp Code In Abstracts
I'm having bit of a problem with a search engine. I got an intranet running in a company with IIS, Indexing Server and ASP. I've realized a search engine which also returns abstracts from the documents. Most pages in the website are ASP pages. That doesn't mean that it draws all its contents from databases. I'm using ASP for other stuff as well. So they're basically documents, but with extras and hence ASP. I excluded all sorts of things, e.g. "_" directories, like _vti and _private. Also directories like "include" are left out as people don't need to search for javascript code or css style sheets. Those are not relevant to the users. And finally I also give people the opportunity to make files non-searchable with a quick tag. So what's the problem? When I perform a search e.g. for "body" (without the "" quotes) it would in this example return some results and one of those results got an abstract with evident pieces of ASP code. Code:
Code To Search For Files In Directory
point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use to go to the desired location, the connection is too slow to search. I'd like to implement a search function on the intranet web (at the main office), where it will search a certain directory and its subdirectories and return the results as network links (using the convention); actually it doesn't matter how it displays the links, as long as it shows me where stuff is. That way the search is run on the computer where the originating directories are.
Hide Code From Search Engines
Is it possible to hide code from search engines. We have a dynamical asp-home page that takes two text files per page. One text file contains meta information. I want to stop all search engines to include this text file in the search result.
Changing This Code To A Function? (how Do You Make Functions?)
I have a menu system that has nodes that can be opened or closed. In an effort to make my code more manageable, I programmed a little widget tonight that keeps track of the open/active item and automatically builds querystrings for my redirect URLS. The code for this follows. It defines an ASP Dictionary object, and key/value pairs for each, and builds appropriate querystrings based on comparison with a status variable. The way it works for now is I manually declare and re-declare a variable ("CurrentContentClass") in places throughout the code where there is a new menu item. I embed this same block of code repeatedly through my application, one for each menu node. This is a really stupid approach, and I'm sure there's a better way. Better would be to create a single function into which you could feed parameters and get output. I've used lots of functions in my auspicious career in ASP, but I've never created one myself. Can anyone suggest tutorials or approaches such that I can learn how to create my own functions? Any guidance based on what's below? Code:
Image Search And Lightbox Functionality And Code..
I'm pretty new to this and im in the process of developing a site for a wildlife photographer in ASP and i need to implement an image search on the site including the functionality to add images to a lightbox etc. And to be honest i just dont know where to start... been searching and currently still searching .....
Building An ASP Site Using Dreamweaver - Can Html Site Be On ASP Server?
I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work? The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it? Can a Html website be loaded and working on an asp server or host? Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.
Simplified Chinese
I have a 3 layer system, SQL Server 2000 database, COM+ dll's (VC++ 6) and ASP frontend, this system has been in production for quite some time using english, spanish and portuguese versions. Now I've been asked to test the system to function with Simplified chinese. The development of the system was outsourced and we don't have communication with the company (some sort of legal problems i think). Now, I've been reviewing the code and recompiled one of the core DLL's for unicode support with no problems, I've tested the database (SQL Server 2000) inserting Simplified Chinese characters and the DB supports it fine (the DB fields are NVARCHAR), in the ASP frontend, the retrievel process (calling the COM+ DLL functions) works fine displaying this data I inserted directly in the DB.
Chinese Encoding
I developed a site in English but need it to be viewed in chinese. Is it possible if so how do i go about it. I've tried various ways but i can't get it to work. I've done the following but it yieled no results. <body lang="zh-TW" xml:lang="zh-TW"> Is there anything else i can do....
|