Just an idea, not tried. $real = mgd_create_article( $up, $topic1, ..., $type1 ); $link = mgd_create_article( $real, $topic2, ..., $type2 ); In $link->up you have the article you want to link, isn't it? Now: $goodlink = mgd_get_article($link->up); But a link can be broken, mgd_delete_article($real), and with MySQL deleted article id can be reused linking to another one. Only transactions can solve the problem. Jean-Pierre [EMAIL PROTECTED] wrote: > On Tue, 9 Nov 1999 [EMAIL PROTECTED] wrote: > > > This workaround would be ok for a restricted set of > > cases, but in a lot of applications you really would > > need to have something equivalent to a full symbolic > > link. Otherwise you would need to copy an article > > to a number of topic locations, which is certainly > > undesirable from the viewpoint of document maintenance, > > or alternatively have some more complex referencing > > methods outside of the built-in Midgard utilities. > > One solution could be to create a table (in another database) > that holds (topic, article) tuples to register articles > 'softlinked' to a given topic. The downside is that the > usual filtering and sorting won't apply to these links. > > 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]
Re: [midgard] Re: articles linked to more than one topic
Initiative - Jean-Pierre Arneodo Tue, 9 Nov 1999 12:37:00 -0800
- [midgard] Re: Zope E . Heyns
- Re: [midgard] Re: Zope ggh
- Re: [midgard] Re: Zope Henri Bergius
- Re: [midgard] Re: Zope Emiliano Heyns
- Re: [midgard] Re: Zope Philipp Rotmann
- Re: [midgard] Re: Zope Emiliano Heyns
- Re: [midgard] Re: articles ... ggh
- Re: [midgard] Re: artic... E . Heyns
- Re: [midgard] Re: ... Initiative - Jean-Pierre Arneodo
- Re: [midgard] R... E . Heyns
- Re: [midgar... paul newby
- [midgard] little bug in midgard-... David Guerizec
- Re: [midgard] little bug in ... Emile Heyns
- Re: [midgard] little bug... David Guerizec
- Re: [midgard] littl... Emile Heyns
