CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 6/16/2005 10:10:51 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
Chris Cant
Asp.Net User
Search highlighting + httpmodule deployment6/16/2005 10:10:51 AM

0/0

Hi

1.
I am new to DNN.  DocHoliday spotted my announcement about our ASP.NET search engine Find in Site, saying that he loved the highlighted hits feature.  Although you can use FindinSite to index a DNN site "from the outside", I've done another job in the mean time:  I've adapted our existing SeeSearchWords tool so that it works within DNN.  SeeSearchWords (a) highlights search words in the DNN "Search Results" and when you click on a a result and (b) highlights search words that people used at Google, MSN or Yahoo to get to your site.

You can see this in action on our currently minimal DNN site here:
   http://www.phdcc.com/DNN/
Searching Google, MSN or Yahoo for SeeSearchWords will show search word highlighting (but not in our ../DNN/ directories yet because they have not been indexed yet).

Assuming that there is interest in this, we would like to make this available for sale at some suitable price.

2.
Anyway, my question is how (technically) to make this available to other DNN users.  SeeSearchWords is an httpModule and so needs an entry added to the site Web.Config file.  From reading the docs, it looks like it may not be possible to do this using a .dnn file - is this right?  Should I just issue instructions on how to do this by hand?

3.
I am trying to decide where SeeSearchWords configuration information is best stored.  It could be in another section of Web.Config.  Or should I put into a db table somewhere or other?
There is a SeeSearchWords "rules" file that I need to put somewhere as well.

4.
There seems to be a bug in DNN search.  If you do a search and get "search results".  If you then try to a new search from "search results" then the new search is not done.

5.
DocHoliday also requested a search of the DNN file content.  We have code to extract the text from DOC, PDF and TXT files.  However I am not sure how to provide the plain text to the DNN search engine.  Modules have an ISearchable.GetSearchItems but I am not sure if this helps.  Anyway, not really thought about it but if anyone has any pointers, that would be appreciated.
Chris Cant, PHD Computer Consultants Ltd www.phdcc.com


phdcc: e-media tools and e-publishing services
fpstevens
Asp.Net User
Re: Search highlighting + httpmodule deployment6/17/2005 6:28:07 PM

0/0

  1. I suppose the amount of interest would largely depend on the price you have in mind, I know myself, and I think most DNNers like cool utilities like this one. Any idea what price range you are considering?
  2. you?re right the .dnn file does not support registering httpmodules in the web.config file, so you?ll have to include instructions, my downloads module also needs to register a httpHandler, I have suggested and am working on a implementation of the installer that will handle this.
  3. I would suggest you combine the httpmodule with an (admin) dnnmodule, the DnnModule allows you to edit the config which is stored in the db, the httpmodule does the work and gets it?s settings from the database. I have also found that an httmodule / httphandler can inherit PortalModuleBase, making it very easy to interact with DNN itself.
  4. from what I have read the are a number of bugs with the DNNSearch module, understandably it is a rather complicated thing to do after all, but like any piece of software I suppose it?s a work in progress, and knowing the core team, they would appreciate any code fixes posted in Gemini if you have the time.
  5. hmmm sounds like a great addition to search, what about something like a ?search? module, you can place it on an ?Admin? page, add the files you want to be able to search to it, and implement the isearchable in the module.

 

Cheers

Paul Stevens

 

 


"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein
Chris Cant
Asp.Net User
Re: Search highlighting + httpmodule deployment6/17/2005 8:36:04 PM

0/0

Thanks Paul

As I said, we're new to DNN, so we're trying to gauge how to pitch a price, given that we'd like to earn something.  Prices for anything DNN seem to range from $6 to $50.  What would you expect to pay?  In the past, we usually provided a free trial version of any software, but I'm not sure how it could work in this case.

Making an admin module sounds feasible, though the software may need so little configuration that it could be done in a Web.Config file section.  I suggest that any new installer also include an option for including any section in a Web.Config, at the right place.  Having to store and get information from the DNN database would be a bit of work - a hurdle I've yet to overcome - though I'm sure it wouldn't be that bad.  If config were only done in the Web.Config file, then the code could be used in non-DNN environments without change.  Is it considered OK for a module to update information in the Web.Config file - probably pretty dodgy even if it is allowed.

I'll have a look at the search problem - might be straight forward.

Chris Cant, PHD Computer Consultants Ltd www.phdcc.com


phdcc: e-media tools and e-publishing services
Bunce
Asp.Net User
Re: Search highlighting + httpmodule deployment6/17/2005 10:08:16 PM

0/0

We'd be very interested in this facility Chris.  I'm sure you'll receive alot of interest in a functional search module for DNN.

Cheers,
Andrew

Chris Cant
Asp.Net User
Re: Search highlighting + httpmodule deployment6/23/2005 4:00:26 PM

0/0

We've decided to have free and paid-for versions of SeeSearchWords, our search word highlighter.  A first cut of the free version is here for registered users (with thanks to DocHoliday for beta testing, and Paul for DNNDownload) - let me know how it survives in the real world...
   http://www.phdcc.com/DNN/Products/Downloads/tabid/56/Default.aspx
More details available here:
   http://www.phdcc.com/DNN/Default.aspx?tabid=52

The free version doesn't have any configuration options, so I've not done an admin module.  Install by uploading the two DLLs and altering Web.Config to add an httpmodule reference, as described on our site.

PS  I've also posted a suggested fix to Gemini for the search from search results problem in DNN 3.1.0


Chris Cant, PHD Computer Consultants Ltd www.phdcc.com


phdcc: e-media tools and e-publishing services
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Search highlighting + httpmodule deployment - ASP.NET Forums Search highlighting + httpmodule deployment. Rate It (1). Last post 06-23-2005 12:00 PM by Chris Cant. 4 replies. Sort Posts: ...
Search highlighting + httpmodule deployment - ASP.NET Forums Re: Search highlighting + httpmodule deployment. 06-17-2005, 2:28 PM. Contact ... Re: Search highlighting + httpmodule deployment ...
Scott Hanselman's Computer Zen - HttpModule fLogViewer - Great freeware highlighting log viewer for large log files. ..... Formerly known as WebDeploy, this Add-In lets you deploy your ASP. ...
2007 June Search Query Term Highlighter - HttpModule for ASP.NET ... So I decided to write an HttpModule to handle the highlighting. I also thought it would be useful ...
Free radmin deployment package 1.0 Download - radmin deployment ... CSUpload also have a highly efficient HttpModule, which provides scalable ... The above radmin deployment package 1.0 search only lists software in full, ...
WDVL: ASP.NET in a Nutshell NET in a Nutshell goes beyond the published documentation to highlight ... HttpModules are components that participate in the processing pipeline of all ...
Simon Green's Developer Blog - All posts tagged 'nhibernate' By creating the proper Highlighter for each field based on the terms used to search it the search results can be shown correctly without highlighting the ...
2008 January « vincenthome’s Software Development Trackback HTTP Module: An ASP.NET Http Module that blocks trackback spam. .... Web Deployment Projects (WDP) for Visual Studio 2008 - December 2007 CTP ...
CS Dev Guide: How to write a CSModule : Keyvan Nayyeri By HTTPModule you could work on incoming requests and manipulate. ... with APIs and don't get in trouble with bugs/exceptions/deployment and don’t recommend ...
Speed Up Your Site! 8 ASP.NET Performance Tips [ASP & .NET Tutorials] Search for the HcScriptFileExtensions section. Add to the list aspx, asmx, php, ... Finally, bring the actual compression HTTP module into the pipeline: ...




Search This Site:










user role selection problem on useraccount wizard

looking for dnn3 html mod with java rich text editor

more information here about this starterkit

javascript intellisense question

get role by role id

page security

bilingual site

how can i generate crystal report in dnn3 ? it gives me serialization error

how to attach additional stylesheet to page

object reference not set to an instance of an object

theme css file + url rewriting = bug

dnn v3.1 - unable to delete a module from module definitions

houston dnn module developer class

"add to wishlist" button

caption competition for free year subscription!

using flash in web part

create access rule for a single page

iis 6.0 and windows 2003

single sign-on and active directory

looking for an isp to use with ibuyspy

creating blog.ascx

dnn2.0.3 error returning to host portal.

run-time exception thrown : system.nullreferenceexception

error with log viewer 3.0.8

more menu problems - again

files missing when publishing in visual studio 2005

treeview - find index of node

new users can't see modules

email validation

encrypt a querystring

 
All Times Are GMT