473,659 Members | 3,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to implement a simple site search


Hi--

Please help.

How can one implement a simple site search for an ASP.NET site that
consists of ASPX and ASCX content pages?

I have a small site (of less than 100 content pages). The content pages are
of type ASPX and ASCX.

I know that one way is to simply put the context text into a database and
then run the search against that database.

However, the site currently has the content directly in the ASPX and ASCX
pages. Therefore, it looks like a parsing exercise.

But, I am hoping someone has already come up with a solution to this sort
of problem.

Any ideas?

Nov 17 '05 #1
3 3162
Add a COM reference to Index Server and run queries against your site.
The COM progId to query with is Cisso.CissoQuer y. You can create an
index catalog via the Index Server snapin for MMC.

--
+|+|+|+|+|+|+|+ |+|+|+|+|+|+|+| +
Monte Hansen - MVP VB
http://KillerVB.com
+|+|+|+|+|+|+|+ |+|+|+|+|+|+|+| +

"Mark Kamoski" <mk******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..

Hi--

Please help.

How can one implement a simple site search for an ASP.NET site that
consists of ASPX and ASCX content pages?

I have a small site (of less than 100 content pages). The content pages are of type ASPX and ASCX.

I know that one way is to simply put the context text into a database and then run the search against that database.

However, the site currently has the content directly in the ASPX and ASCX pages. Therefore, it looks like a parsing exercise.

But, I am hoping someone has already come up with a solution to this sort of problem.

Any ideas?


Nov 17 '05 #2
it sounds good but ...
can you give more info on how to it please
thanks.
=)
Nov 17 '05 #3
I'm not sure I'd put "content" in a database, but that's just me :-).
There are still other ways available to you. For instance, you could
point a 3rd party crawler to your site (like Google) and use Google to
index and query your site.

Have a look here:
http://www.google.com/apis/

--
+|+|+|+|+|+|+|+ |+|+|+|+|+|+|+| +
Monte Hansen - MVP VB
http://KillerVB.com
+|+|+|+|+|+|+|+ |+|+|+|+|+|+|+| +

"Mark Kamoski" <mk******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..

Monte--

OK, great. That's interesting and I could use that on some projects, where I have control and access to Index Server, IIS, and the rest of the
nuts-and-bolts of the architecture.

However, for my current project, I have to deal with a 3rd party host, where I do not have direct access to IIS and Index Server and so on.

It is looking more and more like I should push my content into the
database, where it can be searched. Pages will get build dynamically. Et cetera.

If you have any other ideas, please post them.

Thank you.

--Mark

"Monte Hansen" <mo***@nospam.c om> wrote in message
news:us******** ********@tk2msf tngp13.phx.gbl. ..
Add a COM reference to Index Server and run queries against your site. The COM progId to query with is Cisso.CissoQuer y. You can create an
index catalog via the Index Server snapin for MMC.

--
+|+|+|+|+|+|+|+ |+|+|+|+|+|+|+| +
Monte Hansen - MVP VB
http://KillerVB.com
+|+|+|+|+|+|+|+ |+|+|+|+|+|+|+| +

"Mark Kamoski" <mk******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..

Hi--

Please help.

How can one implement a simple site search for an ASP.NET site that consists of ASPX and ASCX content pages?

I have a small site (of less than 100 content pages). The content pages are
of type ASPX and ASCX.

I know that one way is to simply put the context text into a

database and
then run the search against that database.

However, the site currently has the content directly in the ASPX

and ASCX
pages. Therefore, it looks like a parsing exercise.

But, I am hoping someone has already come up with a solution to
this sort
of problem.

Any ideas?



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2506
by: Carol | last post by:
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?
18
4895
by: puzzlecracker | last post by:
does anyone know how to implement this function?
2
1691
by: G0ng | last post by:
I 'm developing a site consisting of 5-10 html/php pages. I want to add a simple keyword search in my site. I can't seem to find any simple script, except risearch which can't search my Greek pages (el_GR.UTF-8). Can somebody point me to something simple? (something like grep ;-)) thanks a lot.
6
1719
by: eXseraph | last post by:
Hi, As we know,in normal asp.net application, a browser need to send a request to a server first to refresh its page. Now I need to design a asp.net application with real-time capability like the MSN Web Messenger. That means once the session between browser and server has been established, the browser can get real-time messages with out sending requests periodically.(Or How to tell the browser that you need to send a new request to...
6
2129
by: TulasiKumar | last post by:
hi all, i have one requirement in my project.The requirement is i want to fix some domain sites in TcpIp like proxy servers behaviour.When ever end user passing the inforamtion of that domain sites,at that time i want to get the inforamtion and i ahve do some operations.How can i implement this requirement? or What classes are supported in C#.Net? .Please give your suggestion.This requirement is very urgent. thanks in advance,...
0
876
by: alag20 | last post by:
Hi, I am trying to implement a site search which allows a user to search the whole site. I have no clue how to do this so any help would be appreciated. I am using asp.net with c# and Ms Sql 2000 as the back end database. I am open to any kind of solution . If possible a sample code would also be highly sought after. Thanks in advance.
0
1146
by: mentor | last post by:
I'm trying setting up a site similar to eshop. There may be 1 million items in sqlserver2005. In order to search some products, user may input some words to search product name and description with or without logical operator, or may input bar code for bar code search. How should such function be implemented? Should I use conditional select with 'where' 'like' ? OR should I use tools something like lucene ? Is there any friend has...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2754
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.