[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

META Tags in articles




There's some really cool META tags that htdig will see that we'd be fools
to not take advantage of.  This may require DB changes (adding fields),
but would be very worth it.

<META NAME="htdig-keywords" CONTENT="bind named dns configure install">

Pretty self explaintory.  The article writer creates a list of space
delimited keywords for the article.  Articles that have one or more
keywords in the search string get a higher "usefulness" rating.  Result:
More accurate search results.

<META NAME="description" CONTENT="This document covers the installation
and configuration of BIND 8.1.2 on Red Hat 6.0.  Common questions about
SOA, MX, NS, A, and CNAME records are also covered."

This META tag is used in the search results.  For each 'hit' a summary is
provided.  By default, the summary is the first 1000 bytes of the
document.  Documents with a description tag will use the description as
the summary instead.

<META NAME="htdig-email" CONTENT="pat.user@nowhere.net">
<META NAME="htdig-email-subject" CONTENT="Reminder to update a page">
<META NAME="htdig-notification-date" CONTENT="8/28/1995">

These three META tags work together.  Basically, each night when htdig
indexes the site, it can check these META tags to see if an email notice
should be sent.  The basic idea is that after a 6-12 months, most content
will need to be updated.  We can have htdig automatically email the author
a reminder to look at the page and update it if necessary.  (This may be
better done via the SQL backend, but if this will do the job, why
re-invent the wheel?)

More info on HtDig aware META tags can be found at:

http://www.htdig.org/meta.html

--
Aaron Turner, Core Developer       http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization  http://linuxkb.org/
Because world domination requires quality open documentation.