473,791 Members | 3,111 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Search Function with XML Results

This may not be the right place to post this - but if anyone can help
that would be great.

I want to add an Accessible search function to our website - the only
way I can do this is to find a search system that can return its
results as an XML document.

I am currently using FreeFind.com which is a great search system but
only returns the data in HTML (really old HTML too).

Another one I have found is FusioBot - this DOES return XML but I have
no way of being able to exculde parts of the page (eg the navigation -
I don't want every page to come back as a match for 'Contact' just cos
it is a word in the nav).

Again - FusionBot offers a soulution to this (by using index and
noindex tags) but these would make the page fail Accessibility checks.

I have been looking into this for weeks now - does anyone have any
alternatives or suggestions? We want the search function to be a part
of our site - not an external thing like Google Site Search.

Thanks,

Rick Huby
www.e-connected.com

Jul 20 '05 #1
4 1557
ri*******@e-connected.com wrote:
This may not be the right place to post this - but if anyone can help
that would be great.

I want to add an Accessible search function to our website - the only
way I can do this is to find a search system that can return its
results as an XML document.

I am currently using FreeFind.com which is a great search system but
only returns the data in HTML (really old HTML too).

Another one I have found is FusioBot - this DOES return XML but I have
no way of being able to exculde parts of the page (eg the navigation -
I don't want every page to come back as a match for 'Contact' just cos
it is a word in the nav).

Again - FusionBot offers a soulution to this (by using index and
noindex tags) but these would make the page fail Accessibility checks.

I have been looking into this for weeks now - does anyone have any
alternatives or suggestions? We want the search function to be a part
of our site - not an external thing like Google Site Search.

Thanks,

Rick Huby
www.e-connected.com


Sounds as if FusioBot is your best bet. Can't you run the xml file
through some XSL that filters out what you want?
Jul 20 '05 #2
ri*******@e-connected.com wrote:
I have been looking into this for weeks now - does anyone have any
alternatives or suggestions? We want the search function to be a part
of our site - not an external thing like Google Site Search.


Take whatever works best for the search function. If it produces
grotty markup, then postprocess that through a suitable filter.
mod_publisher gives you the maximum flexibility with both HTML
and XML, while mod_accessibili ty is specifically geared to
empowering your users in an HTML4 or XHTML context.

--
Nick Kew
Jul 20 '05 #3
The problem was that with FusionBot we need to use index and noindex
tags to exclude certain parts f the page from the search (eg the
Contact in the navigation would have brought up every page on the site
for the search term contact - when really we need only the contacts
page to come up).

As we are an accessible design agency we cannot use none standard HTML
in the front end code (which is what the FusionBot spider would have
been reading).

I have spoken to them however and they have adapted their system to use
<!--BEGIN NO INDEX --> B:AH BLAH BLAH <!--END NO INDEX --> or similar -
looks like we have sorted it anyway.

Thanks for your feedback though.

Jul 20 '05 #4
thehuby wrote:
The problem was that with FusionBot we need to use index and noindex
tags to exclude certain parts f the page from the search (eg the
Contact in the navigation would have brought up every page on the site
for the search term contact - when really we need only the contacts
page to come up).

As we are an accessible design agency we cannot use none standard HTML
in the front end code (which is what the FusionBot spider would have
been reading).
If you want to serve different markup to a selected client (FusionBot),
you could do that easily with the Apache XML Namespace framework, or
with a more ad-hoc filter if your source isn't well-formed as XML.
That's putting it through a SAX filter, so the system overhead is in
the same ballpark as running oldfashioned server-side includes rather
than heavy-duty processing like XSLT.

Still simpler, if you have the choice, base the search on metadata,
and put it in <meta> elements in the head. You can still serve it
in a different form (even as RDF) to a bot, but it's valid xhtml
even as stored on disc.
have spoken to them however and they have adapted their system to use
<!--BEGIN NO INDEX --> B:AH BLAH BLAH <!--END NO INDEX --> or similar -
looks like we have sorted it anyway.


Hmmm, someone is parsing it as text, not as markup. How 1995 :-)

--
Nick Kew
Jul 20 '05 #5

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

Similar topics

1
8731
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast, returned the hyperlinked page title, filename, and the body txt (30 preceding and following words) in context with the search word highlighted. Excellent.! See it working at: http://www.ipt.co.za Just search for "firearm"
2
3537
by: CharitiesOnline | last post by:
Hello, I have set this script up to add paging to a search results page. Which on the first page works fine. I calculates how many pages there should be depending on the number of results returned from my search and how many records I have set it to display per page. All great so far, HOWEVER..... When you click the next link to see the next 10 results on the next page, it just dumps the search details and pulls up all the records in the...
83
5970
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd expect a much faster performance. I submitted my search over two minutes ago. I just finished this email to the list. The results have still not come back. I only searched for: SECURITY INVOKER
1
1639
by: Sheau Wei | last post by:
Below is my search engine code. I realize that the function was very limitied because i cannot searching the "NamaPealatan"(name of tools) compatible to the either categories Operasi or Balai or Komunikasi . If i want to add radio option in this code to minimize the area of searching, leet say at column Motor,(the option will be bermotor or Notmotor) how do i do? Below is my database CREATE TABLE `listofitem` `ID` INT( 10 ) NOT NULL...
0
2081
by: | last post by:
I have a question about spawning and displaying subordinate list controls within a list control. I'm also interested in feedback about the design of my search application. Lots of code is at the end of this message, but I will start with an overview of the problem. I've made a content management solution for my work with a decently structured relational database system. The CMS stores articles. The CMS also stores related items --...
3
2253
markmcgookin
by: markmcgookin | last post by:
Hi Folks, I have a VB app, and I have been working at it for a while, and I am now at the stage where I want to create a search function. Now don't be scared! It is in the .Net compact framework, and uses SQL Server CE as the database (This seems to scare off people trying to help! lol) but the connection and reading of data etc is all handled, and I think it is going to be a "relatively" simple function. My database has a number of fields...
1
7553
Merlin1857
by: Merlin1857 | last post by:
How to search multiple fields using ASP A major issue for me when I first started writing in VB Script was constructing the ability to search a table using multiple field input from a form and having the sql statement dynamically built according to the input provided by the user. I have used the method described here hundreds of times it is quick and adaptive. I generally use a frames page for the search, in this way the search is maintained...
5
2437
by: manish | last post by:
HI I want a jawascript that will search pages from only my subdomain website eg. abc.efg.com can anyone help me please give the exact jawascript as I am not an expert programmer please if possible email it to india.manish.wagh@gmail.com awaiting Manish wagh
4
2652
colinod
by: colinod | last post by:
I have the following code that works very well, the problem is that of i search for say rap it returns back results that contain the words telegraph, grapfruit etc, how can i get it to just return results that have the word rap in the search string anywhere?? <% Dim strSearch, myarray, strSQL, strSQLExtra If Not Request.Form("search") = "" Then session("search") = Request.Form("search") session("choice") = Request.Form("choice") ...
0
10428
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
10207
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
9997
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
9030
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
7537
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...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
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.