Site Search Script With Paging And Highlighting
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....
View Replies
ADVERTISEMENT
Does anyone use a funtion to highlight search terms (if they have a search facility on their site). Basically, I would be sending the search terms from a form field into a results page.
If there are results I would like the search terms to be highlighted. One problem that I could think while using "replace" is that capitalisation would not be maintained.
View Replies
View Related
I have a simple script which boiled down to highlighting search terms... Code:
if Trim(Request.QueryString("search"))<>"" then
cont = Replace(cont,Request.QueryString("search"),"<span style=""background-color:#ff0"">"&Request.QueryString("search")&"</span>",1,-1,1)
end if
this worked fine, however if the string I was searching was within an <a> tag, the inevitable would happen and an error would come up. I was wondering if anyone knows a way or if there is a script readily available to tackle this issue?
View Replies
View Related
i am developing a search engine(ASP with SQL SERVER) for my project . My objective is to search for a data and it should display the result and highlighting the search text in different color. But when i use the search text with more than one word, the result is highlighting only the last word of the search text.
Example - If i search for "Opal" , the search result highlighting all the words with "opal", But when is search "Opal Service", the search result is highlighting only the "service".
Here the "Opal" and "service" are different identities, i will search these two words with AND condition . Code:
View Replies
View Related
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?
View Replies
View Related
I managed to impement paging using the code below which works but I m experiencing a problem with the search option.
Suppose there are 10 pages in the entire database and when a search is made for instance in this forum and there are only 2 pages returned for that particular search. if you presss next it will show the entries as limited but it will also show the other entries eg. 1,2,3,4,5,6,7,8,9,10 Code:
View Replies
View Related
Hey I keep getting this error when i try to use paging in asp for my search results. Error: "Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype." I have read a number of different websites to try and fix the problem but none of the solutions seem to work. Code:
View Replies
View Related
I have a database with several hundered images and I need to retreive them using recordset paging, otherwise the page will be to long. So far so good.
I added a search function which will return only the desired results. The first page returns the search results (30 per page) and I also have a line of code that tells me how many records was found, let's say 70. This should give me 3 pages of results.
But when clicking on the next link I don't get the next set of results, instead ALL the images from the database is returned on the following pages, starting from image 31 in the DB. Not just the rest of the originally search results. Code:
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
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">
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
Is there any Site search application which is extremely powerful.
View Replies
View Related
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.
View Replies
View Related
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:
View Replies
View Related
I have a standard look to my site so I thought I might just make all the pages .asp pages and use #include statements to grab all the common content, however I want to be sure that all the big search engines crawl it without a problem. I heard that some have problems with ASP even if the ASP is not that complicated.
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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 Replies
View Related
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:
View Replies
View Related
I don't know if I accidentally play around with the script. But now it's showing error:
Quote:
Microsoft VBScript runtime error '800a139a'
Unexpected quantifier
/wheelofgod/showverse.asp, line 210
Line 210 shows:
Code:
strText = mobjRegExp.Replace(strText,strReplace)
View Replies
View Related
I've created a little search engine that works fine, but I want to highlight the keywords in an article.
Using the replace function is OK, but its not very good when covering different cases. Its fine on single word searches but no good with multiple words.
eg. if I search for "dog", I can do a replacement on "dog", "DOG" and "Dog" using the replace function.
If I was to search for "black dog", I need to cover all possible variants. ("Black Dog", "BLACK DOG", "black dog", "Black dog", "black Dog")
Is there any way of getting this to work?
View Replies
View Related
Ive created a web page that queries a db and i have that all working fine. What i dont have though and would like to be able to do is get the page to highlight rows according to one colums value, ie
Colum1 Colum2
Row 1 50 Test <-- would like to the be highlihted lite blue for instance
Row 2 90 Test2 <-- would like this to be highlighted red for instance
View Replies
View Related
I have a SQL query that produces a table which displays account numbers and the amount owed on those accounts.
the page that displays that table is written with ASP. Does anyone know how can I highlight the rows in the table where account numbers have more than 7500 dollars in amount owed? Code:
View Replies
View Related
i am working on an application...where i have to search for a string in the database field or text files.when the search finds the string i want it to be highlighted when it showas the result on the asp page.
eg:
iam searching for a skill in the resumes...take JAVA...i want the resulting resume on the asp page with the JAVA string highlighted
View Replies
View Related
point me in the direction of a function that will parse
a "code" output and colorise the context of the script?
eg - vbulletin style [code] output
View Replies
View Related
I am doing search application in ASP. I want to highlight the matched text in the search result, for that operation I am using the following function Code:
View Replies
View Related
I have setup a simple site in which users input data to an access database, and then the database results are shown on another page in a table. One of the fields in the databse is Date Added, using the date/time data type.
I would like the table to show new results with a different background colour for a period of time, say one week? Code:
View Replies
View Related
The very same page has 2 iFrames opening another page called tripledemoduo.asp. So there are 2 tripledemoduo.asp's opening within the 2 iFrames. Within a tripledemoduo.asp page there are the textboxes for inserting the keywords.
See the picture.
is it possible to move out the 6 textboxes from the iFrames and make 1 set of 6 instead of 2 sets of 6? That would make my life easier because I use this to compare two texts side by side by searching keywords. For example I put one keyword in red in both iFrames.
View Replies
View Related