> > The only but would be that you'd need to use a separate
> > mgd_list_linked_articles function instead of the normal
> > mgd_list_articles.
>
> But doing this would set the linked articles and topics apart from the
> normal ones. I assume that most would expect the linked objects to be
> returned with the same list fetch, and have the ordering of the linked
> objects preserved.

Seems to me that using separate listing methods would only work
if you assume that the list functions are only operating on all target or
all linked articles.  I'm not sure how much of a limitation that would
be in general.  A lot of cross-referenced lists probably could
be set up with target articles under one kind of topic and linked
articles under another.  For example, let's say you're publishing
some kind of a yearbook, and you have a topic of target articles
consisting of a list of all the earthquakes that happened in 1999.
Then you have another topic consisting of linked articles related
to major events in Turkey in 1999 (probably you would want to
set the score of this article so that it appears first on the list of major
events, but it may not be the largest earthquake of the year).

At first glance it looks like it would be easy to use separate
methods in this case, but in general if you don't start out
with a clear policy on what categories of information go
in target or linked topics, I can imagine it could get pretty
messy.

Paul



> Having the links returned with the objects using the
> targets' properties for the ordering is simple, but I wouldn't know how
> to ORDER BY symlink_score-if-set-otherwise-article-score.

>
>
> Then again, fetching the links separate from the articles and topics can
> be
> done way cleaner.
>
> 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]


--
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]

Reply via email to