473,395 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 3154
Add a COM reference to Index Server and run queries against your site.
The COM progId to query with is Cisso.CissoQuery. 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****************@tk2msftngp13.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****************@tk2msftngp13.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.com> wrote in message
news:us****************@tk2msftngp13.phx.gbl...
Add a COM reference to Index Server and run queries against your site. The COM progId to query with is Cisso.CissoQuery. 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****************@tk2msftngp13.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
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
by: puzzlecracker | last post by:
does anyone know how to implement this function?
2
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...
6
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...
6
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...
0
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.