473,396 Members | 1,843 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,396 software developers and data experts.

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 1540
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_accessibility 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
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,...
2
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...
83
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...
1
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...
0
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...
3
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,...
1
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...
5
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...
4
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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,...

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.