Re: search component using picture alternative text

From: clintonG (csgallagher_at_REMOVETHISTEXT@metromilwaukee.com)
Date: 06/19/04


Date: Fri, 18 Jun 2004 19:22:07 -0500

Its doesn't take luck. It takes know-how :-)

Here's a tidbit...put HTML comments into the fields of your database
but do not separate with any delineators such as commas -- use
spaces only -- anything that can search the database for the 'hidden'
words will turn up results but the results will not include the display of
the hidden words as they will be wrapped in HTML comments
preventing their display.

<!-- term1 term2 term3 -->

To achieve the converse: prevent certain words from being found
by searching yet still allow the terms to be displayed in a page calls
for encoding certain words stored in the database. The encoded
words can not be 'seen' by any search query yet the browser will
still parse and display them in the page.

Encoding is difficult to manage as it makes the encode text
unreadable but this technique does work for the objective I
describe. Example of encoded text...

&#65; is the letter A for example.

If you want to learn more about this particular type of encoding
Google: "ISO-8859-1 character set"

Keep using the alt attribute as it can help improve search engine
ranking and is of course very critical for people with disabilities
who may be using screen readers to use your website.

-- 
<%= Clinton Gallagher
         A/E/C Consulting, Web Design, e-Commerce Software Development
         Wauwatosa, Milwaukee County, Wisconsin USA
         NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
         URL http://www.metromilwaukee.com/clintongallagher/
<anonymous@discussions.microsoft.com> wrote in message
news:1e3e101c45576$6ca65b00$a301280a@phx.gbl...
> It is possible to enable the search component to search on
> the picture properties' alternative text?  It would be a
> great way to add keywords that would not be visible on the
> web page; it there another way to accomplish this?
>
> Not having any luck.
>
>


Relevant Pages

  • Re: Poll: Is a calendar tabular?
    ... Don't confuse display with the underlying data. ... The pont I was making was that, in document markup in HTML you would ... use a table to contain calendar 'data' and in a database you would use ... But you wouldn't create a database ...
    (comp.infosystems.www.authoring.html)
  • Re: Using DataSource object with JNDI
    ... Use the HTML table to organize the display. ... Then return the collection object to the servlet, ... connected to a database via jdbc. ...
    (comp.lang.java.programmer)
  • How do I convert access 2003 to HTML and get lines around blank f.
    ... I'm currently using Office 97 and received Office 2003 for Christmas. ... converted one of the 97 database to 2003, then converted the 2003 database to ... When I display the HTML file with Internet Explorer, ...
    (microsoft.public.access.setupconfig)
  • How can I programmatically validate html ?
    ... I am importing text from a column of a database table to display as ... those columns have badly broken html. ... content in a row and validate that against a html parser. ...
    (comp.infosystems.www.authoring.html)
  • Re: How should I do this?
    ... Good luck. ... Jeff wrote: ... the new properties is of type "string" and it contain HTML data.... ... My problem is that I don't know how to display this property on the page. ...
    (microsoft.public.dotnet.framework.aspnet)