On Mon, 8 Nov 1999, Mario Lang wrote:
> How should on go when implementing a search box for all data on the site?
> Or is there something like:
> search_topic_articles_all($topic, 'linux +debian');
The midgard sites uses htdig for searching, but it would indeed be
useful to be able to search the content (topics, articles and pages)
from the code.
> I started a site with many different record types.
> Thats my first question: What about the idea of types which affect
> variablenames directly I came across while browsing the web-archive of this list
>(see http://www.progressive-comp.com/Lists/?l=midgard&m=93413222025557&w=2)
> Such functionality would ease working with different record types alot.
The extendable records should implement these nicely.
> I'm unfortunately absolute not familiar with stuff like indexing information
> so that keyword search is possible.
> Could anyone give me some hints how to start on this problem.
> A keyword list generator function would also be cool for midgard:
> <meta name="keyword" content="<? $words = mgd_keywords_in_article($article.id);
> while ($words->fetch())
> echo $words->word.', ';
> ?>">
Again, if extendable records are available:
<? $a = mgd_get_article($id); echo $a->keywords; ?>
Bye,
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]