Emiliano wrote:

> Ah yes, that's what I meant in an earlier post. mgd_get_topic_by_name
> and mgd_get_topic are the same function these days. The number of
> parameters determines its behaviour.

Yes, but it doesn't solve my problem, in that they both expect that
you know where you're starting from -- either you have a topic id, and
it looks for the names under that, or you specify the topic id you need.

I understand that this is the way it is because of the relational structure
in the Midgard tables--I was just wondering if there's a better way
without walking the topic tree.  Something along the lines of a "global"
mgd_get_topic_by_name() that will search in all topics.

Anyway, a follow-up question -- is it reasonable to recommend this
approach to new Midgard users, i.e., that Midgard will match a topic
to page if the name is the same?  I think it makes things a little easier.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to