htdig: putting the onntents of <META Description> in the excerpt and wordlist


Roy Hendrickson (Roy@Overdub.net)
Wed, 19 Nov 1997 19:26:42 -0500


Hello All,

I added the following to HTML.cc

 else if (mystrcasecmp(cache, "description") == 0 &&
config.Boolean("excerpt_meta_description"))
  {
     // add the meta description to the excerpt
     head << conf["content"];
   if(debug)
      cout << "putting META DESCRIPTION in EXCERPT\n";
  }
  else if (mystrcasecmp(cache, "htdig-notification-date") == 0)

this does put the contents of <META Description> in the excerpt

  can some one suggest how to get the contents of conf ["content"] into
the word list ??

--
Roy Hendrickson
http://www.overdub.net

MicroSoft? is that some kind of a toilet paper? Linux--Why use windows when there's a door?

---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:12 PST