Hi, On Wed, 31 Oct 2001, Tarjei Huse wrote: > I'm thinking about submitting two feature requests, but am first wondering if > they are worth it: > > 1. more type fields. > I often feel like beeing able to sort my articles on one or two more criteria > than I got now. How hard would it be to have two extra sort fields like type > that can be used to encode your articles? Just an extra type field that could be > used in mgd_list functions would make me droodle :)
The type field takes an integer, but you could make treat this integer as a list of flags. so bit one would say yes or no to php formatting, bit two would say if the url field is pointing to so extra offsite reading, bit three would say .... whatever. So I think the type field in that aspect is more than enough. Thing is that the type filtering in list functions do ask for an exact integer, where it would be great if a bitmask could be given, so I could list all articles that are set to have php formatting and special url field meaning set. > 2. Forgot the other.. oh here it is: > how hard would it be to be able to call ->listattachments() on the objects > returned by mgd_list functions? Now that one I would really find usefull indeed. It can be very annoying to do that extra mgd_get_XXX call, while it naturaly feels like it should not be needed. However, I seems to me that some really exiting new stuff is on the horizon, namely the scripting engine for Midgard. Maybe it is better to do only bugfixing and hold off any feature requests until the scripting engine has become a reality. That doesn't mean you should not file the feature request, it just means that I think that honouring it should wait until the scripting engine (and preparser btw) have made the core much simpler to maintain. wkr, -- Envida http://www.envida.net/ Armand A. Verstappen Graadt van Roggenweg 328 [EMAIL PROTECTED] 3531 AH Utrecht tel: +31 (0)30 298 2255 Postbus 19127 fax: +31 (0)30 298 2111 3501 DC Utrecht --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
