From: <jak...@se...> - 2002-12-27 14:30:02
|
Mitra, There is a simpler way: Generate vid by random. The function must proove the vid generated does not yet exist and if it does than generate another one. It is not 100% perfect, because there is a chance another installation generated the same id, but it is very simple. And who can be sure the name is unique? Jakub > -----Original Message----- > From: apc...@li... > [mailto:apc...@li...] On Behalf Of Mitra > Sent: Thursday, December 26, 2002 2:51 AM > To: apc...@so... > Subject: [Apc-aa-coders] Named views > > > Has anyone considered adding NAMES to views, so that a vid could be > either a name or a number? > > The reason I want to do this is that I'd like to develop a site on my > laptop macintosh (which has working apc-aa on it) , the problem is > that if I export site structure it will have view numbers - which > will not be usable on the other machine. > > If noone has done this - and you think its a good idea - then I might > be willing to make the changes. (by adding an optional name field to > views, and having everywhere that vid= is recognized understand it? ) > > - Mitra > > -- > Mitra Technology Consulting - www.mitra.biz - mi...@mi... > 02-6684-8096 or 0414-648-0722 > > Life is a Mystery to be Lived, not a Problem to be Solved > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Apc-aa-coders mailing list > Apc...@li... > https://lists.sourceforge.net/lists/listinfo/apc-aa-coders > |