karrigell-main Mailing List for Karrigell (Page 83)
Brought to you by:
quentel
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(12) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(8) |
Oct
(12) |
Nov
(6) |
Dec
(38) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(19) |
Feb
(13) |
Mar
(4) |
Apr
(8) |
May
(4) |
Jun
(12) |
Jul
(3) |
Aug
(6) |
Sep
(4) |
Oct
(8) |
Nov
(6) |
Dec
(8) |
2005 |
Jan
(14) |
Feb
(6) |
Mar
(10) |
Apr
(20) |
May
(60) |
Jun
(80) |
Jul
(11) |
Aug
(32) |
Sep
(25) |
Oct
(9) |
Nov
(25) |
Dec
(60) |
2006 |
Jan
(6) |
Feb
(3) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(5) |
Sep
(9) |
Oct
(61) |
Nov
(77) |
Dec
(127) |
2007 |
Jan
(73) |
Feb
(56) |
Mar
(47) |
Apr
(107) |
May
(83) |
Jun
(117) |
Jul
(172) |
Aug
(99) |
Sep
(39) |
Oct
(15) |
Nov
(28) |
Dec
(57) |
2008 |
Jan
(39) |
Feb
(60) |
Mar
(105) |
Apr
(254) |
May
(193) |
Jun
(128) |
Jul
(107) |
Aug
(78) |
Sep
(83) |
Oct
(14) |
Nov
(9) |
Dec
(73) |
2009 |
Jan
(71) |
Feb
(48) |
Mar
(70) |
Apr
(72) |
May
(132) |
Jun
(123) |
Jul
(71) |
Aug
(32) |
Sep
(25) |
Oct
(38) |
Nov
(5) |
Dec
(18) |
2010 |
Jan
(12) |
Feb
(5) |
Mar
(33) |
Apr
(60) |
May
(105) |
Jun
(75) |
Jul
(41) |
Aug
(53) |
Sep
(38) |
Oct
(6) |
Nov
(8) |
Dec
(4) |
2011 |
Jan
(8) |
Feb
(4) |
Mar
(3) |
Apr
(9) |
May
(2) |
Jun
(3) |
Jul
(3) |
Aug
(7) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(2) |
2012 |
Jan
(4) |
Feb
(5) |
Mar
(7) |
Apr
(1) |
May
(3) |
Jun
(12) |
Jul
(17) |
Aug
(16) |
Sep
(13) |
Oct
(8) |
Nov
(1) |
Dec
|
2013 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
(12) |
May
(6) |
Jun
(8) |
Jul
(1) |
Aug
(1) |
Sep
(4) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
2014 |
Jan
(4) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
(5) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(1) |
2015 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
(3) |
Aug
(3) |
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: William T. <wtr...@sh...> - 2003-09-16 21:39:56
|
On Tue, 16 Sep 2003 14:07:06 +0000 William Trenker <wtr...@sh...> wrote regarding [Karrigell-main] First-time User: > I see that the distribution contains an 'admin' sub-directory. How is that intended to be used? Whoops! I've read the documentation more clearly and have answered that question for myself. Bill |
From: William T. <wtr...@sh...> - 2003-09-16 21:08:31
|
Hello, I just downloaded Karrigell and got it running just like that with Python 2.3 on Linux. I have a couple of questions. First, I notice the following DerecationWarning. Is there a real security concern here? /src/Karrigell# python Karrigell.py -P 8081 Karrigell 1.2 ok /usr/local/lib/python2.3/Cookie.py:712: DeprecationWarning: Cookie/SmartCookie class is insecure; do not use it DeprecationWarning) Also, I see that the distribution contains an 'admin' sub-directory. How is that intended to be used? Thanks very much, Bill Trenker Kelowna BC Canada |
From: Pierre Q. <que...@wa...> - 2003-09-09 01:26:33
|
Sorry for asking, but do you mean that it still bugs, or that it does not bug any more ? I thought I had fixed this a couple of months ago, with a specific stdout for each thread Ciao, Pierre ----- Original Message ----- From: "Gabriele Giorgetti" <gab...@te...> To: <kar...@li...> Sent: Monday, September 08, 2003 9:12 AM Subject: [Karrigell-main] [Fwd: Re: Possible bug with karrigell and .pih files] > Hi, I have been using Python 2.3 and Karrigell 1.2 for awhile, and I can say > that this bug is bugging any longer. > > Cheers. > > > |
From: Gabriele G. <gab...@te...> - 2003-09-08 07:13:01
|
Hi, I have been using Python 2.3 and Karrigell 1.2 for awhile, and I can say that this bug is bugging any longer. Cheers. |
From: MRS.MARIAM S. A. <m_a...@po...> - 2003-07-18 01:29:30
|
FROM=3A MRS=2EMARIAM SANI ABACHA STRICTLY PRIVATE Dear Sir=2C PROPOSAL FOR THE RE TRANSFER OF US$45=2E5 MILLION UNITED STATES DOLLARS=2E I take liberty to introduce my humble self to you and permit me to write you=2E I am MRS MARIAM ABACHA =28WIDOW=29 the wife of Late General Sani Abacha Former Head of state of the defunct Military Government of Nigeria=2C who was killed=2C while in office in 1998=2E After these=2C the Present Democratic Elected Government of OLUSEGUN OBASANJO took over in 1999 as a result of Military misrule over the years=2C during the tenure of Late General Abacha =28my inlaw=29 he enriched and accumulated a lot of money while in office=2C but unfortunately for him the man died=2E This money was lodged in different banks abroad in America=2C Canada=2C Europe and Africa=2E Etc=2E However=2C the present Government succeeded in Frozening most of these Accounts and have so far recalled these money back to the country=2C with exception of the money deposited in a valt with AMICABLE SECURITY COMPANY in Cotonou Republic of Benin undiscovered up til date=2E And due to sanction placed on the family by the Present Government I can not reach this money nor withdraw it to Nigeria for use=2E Otherwise=2C we have jointly decided within the family to relocate this funds out abroad for investment=2E This is the only ways and means we can utilize this money wisely=2E Consequently=2C we beg for your assistance in investing this money ie=2E Purchase factory =28s=29=2C Estate and any other viable venture you might suggest=2E I got your contact through your country =28s=29 Embassy=2C as a trustworthy and reliable person we believe strongly=2C you will not disappoint us=2C we have also agreed to give you 30% of the total amount as share in this business=2C at the end of the day=2E Finally=2C we require the following information to facilitate and normalization of documentation with the Security Company=2E =28a=29 Your complete name =28b=29 Your Telephone=2FFax Numbers =28c=29 Complete Bank Account Numbers and Addresses=2E Again=2C all arrangement and logistics of this transaction are in place as you are free and secured in this transaction=2C you will be glad you did and we shall remain grateful=2E I most faithfully look forward to hear from you=2E Thanks in anticipations=2E Best regards=2C MRS=2EMARIAM SANI ABACHA N=2FB=3APLEASE FOR CONFIRMATION CHECK THIS WEB=2ESITE =28www=2Eecondad=2Eorg=2FAbachaLaunch=2Ehtm=29 |
From: Stephen G. <ste...@re...> - 2003-06-24 07:59:54
|
Pierre, I just downloaded 1.2. And it looks like the D/L counter stayed at zero. There's a note on the bottom of the page about the possible inaccuracy of this statistic: "NOTE: The SourceForge.net Site Status page reflects the presence of a known issue with the accuracy of recent download statistics. Download statistics shown on this page for recent dates may be inaccurate (they will be corrected in the future); rankings based on these statistics may be skewed. " By the way, great work on Karrigell. We intend to push it into an upcoming development project though we haven't had a lot of time up until now. -Steve ____________________________________________________ http://www.redfish.com ste...@re... 624 Agua Fria Street office: (505)995-0206 Santa Fe, NM 87501 mobile: (505)577-5828 > -----Original Message----- > From: kar...@li... > [mailto:kar...@li...]On Behalf Of Pierre > QUENTEL > Sent: Tuesday, June 24, 2003 1:36 AM > To: kar...@li... > Subject: [Karrigell-main] Downloads ? > > > Hello guys, > Has anyone of you downloaded version 1.2 ? I have, and the > counter on sourceforge is still at 0 (not what I'd call a big > success !). Should I write to the people at sourceforge to report a bug ? > I have posted a message on comp.lang.python to advertize > Karrigell, it raised a storm of connexions on the home page > (well, on the projects' standards...) ; it would be nice if some > of you could mention it from time to time. I have not yet > followed Gabriele's advice to post an announce on the sites he > mentioned since I've had no feedback at all on version 1.2 > Cordialement, > Pierre > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Karrigell-main mailing list > Kar...@li... > https://lists.sourceforge.net/lists/listinfo/karrigell-main > > |
From: Pierre Q. <que...@wa...> - 2003-06-24 07:36:08
|
Hello guys, Has anyone of you downloaded version 1.2 ? I have, and the counter on sourceforge is still at 0 (not what I'd call a big success !). Should I write to the people at sourceforge to report a bug ? I have posted a message on comp.lang.python to advertize Karrigell, it raised a storm of connexions on the home page (well, on the projects' standards...) ; it would be nice if some of you could mention it from time to time. I have not yet followed Gabriele's advice to post an announce on the sites he mentioned since I've had no feedback at all on version 1.2 Cordialement, Pierre |
From: Gabriele G. <gab...@te...> - 2003-06-09 06:56:46
|
Pierre Quentel wrote: > I've just released the 1.2 version of Karrigell. Thanks to all of > those who have provided feedback, suggestions and software > Of course I'd like readers to download and test the new version > Once this is done, we'll have to work on the next version... I'd also > like to begin advertising the product a little more. The thing is, I'm > not very good at that... Any idea ? > Pierre Well done, I'll try it as soon as I can. For the advertising I'd suggest you to post an announce on freshmeat.net or linuxapps if you haven't already. Bye. |
From: Pierre Q. <que...@wa...> - 2003-06-07 07:28:03
|
I've just released the 1.2 version of Karrigell. Thanks to all of those = who have provided feedback, suggestions and software Of course I'd like readers to download and test the new version Once this is done, we'll have to work on the next version... I'd also = like to begin advertising the product a little more. The thing is, I'm = not very good at that... Any idea ? Pierre |
From: Brian O. <br...@qi...> - 2003-05-29 04:12:36
|
On Wednesday, May 28, 2003, at 04:16 PM, Pierre Quentel wrote: > As Brian noticed, the last version of Karrigell, with a separate=20 > Template module, has changed the behaviour of Include() : a variable=20= > defined inside a script which has an Include(otherScript)=A0is no more=20= > available in otherScript > This was not intentional, and is probably due to the use of copy.copy=20= > inside the "render" method in the "Script" class of Template : if I=20 > replace =A0=A0ns =3D copy.copy(globals()) > by ns =3D globals() it works like before > Now which behaviour do users find the best ? Having the whole=20 > namespace seems more convenient, but are there unwanted side effects=20= > and should we impose to explicitely pass parameters with=20 > Include(otherScript, **args) ? Just like to say what I told Pierre through private discussion. I=20 personally like it without having to put arguments within the=20 Include(). I like this because it seems more intuitive, meaning that=20 when you include a document within another document, it is as if you=20 are just extending the first document, which calls the include. Second,=20= it is easier, if you have a lot of includes running. Now, the other way, having arguments being passed into the Include()=20 function, has benefits. It is explicit, meaning you have knowledge,=20 through scanning the source, how certain variables end up where they=20 are supposed to be. I hang more to the first way, but each one has its merits. However, it=20= seems a bit crazy, at least in my opinion, to have two functions that=20 do the two different things ... you got to pick one and go with it. :-) Brian= |
From: Pierre Q. <que...@wa...> - 2003-05-28 20:16:45
|
As Brian noticed, the last version of Karrigell, with a separate = Template module, has changed the behaviour of Include() : a variable = defined inside a script which has an Include(otherScript) is no more = available in otherScript This was not intentional, and is probably due to the use of copy.copy = inside the "render" method in the "Script" class of Template : if I = replace ns =3D copy.copy(globals()) by ns =3D globals() it works like before Now which behaviour do users find the best ? Having the whole namespace = seems more convenient, but are there unwanted side effects and should we = impose to explicitely pass parameters with Include(otherScript, **args) = ? Pierre |
From: Brian O. - L. <mai...@qi...> - 2003-05-27 20:40:51
|
Hello, I noticed a significant change in the functionality of Include() from the current version and the one I recently checked out from CVS. It is not a big deal, I am just more concerned if anyone is using this and decides to upgrade and finds out there solution inconspicuously doesn't work ... When one would Include() a file, the namespace for the calling page would be the same for the included document. In the CVS version, this is not the case - you need to explicitly pass variables into Include() to include the "top-level" variables into the included page's namespace or else it will produce NameError exceptions. I am guessing this has something to do with the new Template.py. As said, it is not a terribly big deal. I personally liked it the earlier way, since it was more intuitive, but if this was planned, I'll live with it. I am going to finish an upgrade to the new CVS version once I get the bugs out of my application ... then I am going to get to employing the removeModules code into Template.py and Karrigell.py. Brian |
From: Brian O. - L. <mai...@qi...> - 2003-05-26 15:38:32
|
> - has anyone used the gadly database and the class/table mapping tools > ? I miss feedback on these. Anyway, I have completed the existing > gadflyStorage module, limited to one table by database, with a new one > called kStorage which allows for several tables. See > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/karrigell/ > Karrigell/doc/en/database.htm?rev=HEAD&content-type=text/html (end of > the page) Something else interesting to look into is the Firebird database engine. Firebird has an incredibly small footprint, does not need any live server to access the database ... this makes it a good solution for stand-alone web apps (maybe that are on one computer or something.) Firebird can also scale up nicely if so needed. > - Brian agreed to work on his reloadModules function, which cleans up > imported modules so that there's no need to restart the server every > time an imported module is modified I'm also going to add a config parameter, that would be available in Karrigell.ini that allows you to switch it on and off. > - he's also reported speed problems for Karrigell and especially the > parsing of PIH scripts, has anyone experienced the same problems ? I still need to try the rewritten parser ... I need to see how it works compared to the old PIH. Brian |
From: QUENTEL P. FTRD/DMI/R. <pie...@fr...> - 2003-05-26 08:01:14
|
There has been a lot of activity around Karrigell these days, here is a summary : - a new developer has just been added to the project : welcome Brian ! - Didier has written a new version which splits Karrigell.py into two separate scripts, one for the server and another one (called Template.Py) to handle the creation and rendering of the scripts. I have committed the new version on CVS yesterday - in this version, the argument passed to Include is handled as a URL, allowing the use of aliases. Resolution of URLs into file names is handled by a separate module, URLResolution - PythonInsideHTML has been rewritten and tested, paying special attention to indentation problems. An <indent> tag has been added. See the documentation page : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/karrigell/Karr igell/doc/en/pythoninsidehtml.htm?rev=3DHEAD&content-type=3Dtext/html - with these improvements to Karrigell since version 1.1 I'd like to release a version 1.2 in a few days - I have begun using the bug tracker and encourage members to post bug reports this way - also begun using the task manager and created a task, the development of a test suite by Didier (with an end date at random !). Now that we are several developers we'll probably have to organize the work with this kind of tools - has anyone used the gadly database and the class/table mapping tools ? I miss feedback on these. Anyway, I have completed the existing gadflyStorage module, limited to one table by database, with a new one called kStorage which allows for several tables. See http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/karrigell/Karr igell/doc/en/database.htm?rev=3DHEAD&content-type=3Dtext/html (end of = the page) - Brian agreed to work on his reloadModules function, which cleans up imported modules so that there's no need to restart the server every time an imported module is modified - he's also reported speed problems for Karrigell and especially the parsing of PIH scripts, has anyone experienced the same problems ? - I've been thinking these last days on "components", that is, how to add for instance a forum and a news publishing component in a page without having to modify the components themselves (not sure if this is the academic definition of components !). More on this later Kenavo (=3Dbye, in Breton) Pierre |
From: Pierre Q. <que...@wa...> - 2003-05-19 19:42:00
|
I'm afraid I don't understand what you mean with module/package cleanup ; do you mean deleting the module objects from the namespace ? When does this happen, at Karrigell server startup or for every request ? If you like, send me your modified version of Karrigell.py Thanks, Pierre |
From: Brian O. - L. <mai...@qi...> - 2003-05-17 22:45:49
|
I'd like to throw in one idea that I have done for myself, which might be useful for Karrigell. Have a module/package cleanup done of all of my custom modules and modules not loaded at startup. This is helpful for debugging purposes. I modified a piece of code I found in the SkunkWeb package that actually does do this, and so far I haven't had a problem with it. But it is just a terribly inflexible hack that makes it necessary to play with the Karrigell.py source to work with it. I was thinking of adding a configuration parameter for myself in Karrigell.ini, but, for this situation, I didn't bother ... it was unnecessary to me. Brian |
From: Pierre Q. <que...@wa...> - 2003-05-17 07:08:29
|
I'm very glad and impressed to see these new suggestions. He are my = reactions, please take them just as personal opinions and not as decisions. I've = been working on my own for 6 months on Karrigell and it will take me a little = time to learn to work with a team... 1. Test-suite - combination Python/HTML : I'll ask Brian Olsen, who's been very = patient testing successive versions of PythonInsideHTML ans seems to have a lot of use = cases - who could test the second ? - I don't understand the third one, sorry. Do you mean change a piece of = code in a pih script for instance ? 2. Yes, definitely !=20 3. and 4. I fully agree with the objectives behind these suggestions. We = could=20 achieve them the way you suggest, but I'd rather keep things *very* = simple for programmers and I'm afraid adding new concepts of "paths for included = scripts" and "paths for imports" would be confusing. There may be other ways to do = the same things : for 3. don't aliases already allow this ? In Include(aScript), aScript = is the url for the script, and urls are resolved into file names with = translate_to_path, which handles aliases By the way, the Include method should be enhanced :=20 - add the directory of the script in sys.path (for imports from the = script) - useless if suggestion 4 is implemented - before calling render, save current dir, chdir to the script directory = and after render, restore previous directory I've tried minor modifications to include the forum demo in a page in = another directory, using = Include("/components/forum/index.pih",dbDir=3D"demo/dummy") where "components" is an alias to a directory where the forum demo = stands, and "demo/dummy" is the directory where the forum database for the = application will stand for 4. we could just add all dirs and subdirs declared in Karrigell.ini = (root=20 and aliases) in sys.path before launching the server 5. Ok ; if you suggest this you must have an example in which this would = be useful,=20 could you give one ? Now who could implement all this ? Since you're already working on = Karrigell.py=20 and the new Template.py I think it could be you, Didier ? Thanks again, Pierre PS I had not yet subscribed to the mainling list, this is why this = answer is out of the thread... |
From: Gabriele G. <gab...@te...> - 2003-05-15 14:08:21
|
didier wenzek wrote: >1) Setup an automated test-suite. > >We have to assert that any combination of python and html work >(embedded loops, if in a loop ...) > >We have to assert that Karrigell works in a multi-threaded context. > >We should be able to change a piece of code, >without taking the risk to break an unknown feature. > A stable and a development branch maybe ? > >2) Add a command line option to choose a different Karrigell.ini file. > >Karrigell should be usable in different context : a main application, a demo, >a test-suite ... > Good one. What about an option to make Karrigell run as deamon ? |
From: didier w. <did...@fr...> - 2003-05-15 10:12:54
|
1) Setup an automated test-suite. We have to assert that any combination of python and html work (embedded loops, if in a loop ...) We have to assert that Karrigell works in a multi-threaded context. We should be able to change a piece of code, without taking the risk to break an unknown feature. 2) Add a command line option to choose a different Karrigell.ini file. Karrigell should be usable in different context : a main application, a d= emo,=20 a test-suite ... 3) Add an includePath where the included scripts are searched. So, with : =09[ Directories] =09root =3D somewhere/public =09includePath =3D somewhere/stuff : elsewhere : yetanotherdir =09the scripts in one of the directories 'somewhere/stuff', ... =09will be usable from any template =09without being served by the http server. 4) Add an application specific pythonPath to be added to sys.path So, with : =09[ Directories] =09root =3D somewhere/public =09pythonPath =3D somewhere/py-code : elsewhere : yetanotherdir =09the python scripts in one of the directories 'somewhere/py-code', ... =09may be imported from any page =09without being served by the http server. 5) Add an application specific init python script or function When the server is launched, the served application may have to do some=20 initialization jobs. Futhermore the result of this initialization should = be=20 transmitted to each page handler. The simplest way seems to be a namespac= e. Add some lines in the Karrigell.ini : =09[ Main ] =09init =3D some python module which defines a namespace object=20 At Karrigell launch, import this init module and get a reference to this=20 app-namespace. For each request, exec the python code of the requested page with the=20 app-namespace as global namespace. Put all the request infos in the local namespace. |
From: Pierre Q. <que...@wa...> - 2003-05-12 19:44:31
|
Yes, if you use this tag you must follow Python indentation rules ; by = the way, I have renamed it <indent> and </indent> instead of <%% and %%> But the use of <indent> is optional. If you don't use it, the rules = remain as follow : - indentation starts from 0 - it is incremented by one every time a Python chunk (between <% %>) = ends with a colon - it is decremented by one with <% end %> (difference with version 1.1 = of Karrigell where it came back to zero) So for a multiplication table you can choose between two versions : 1 - version without <indent"> -------------------------------- <table border=3D1> <% for i in ['h']+range(10): %> <tr> <% for j in ['h']+range(10): %> <% if i!=3D'h' and j!=3D'h': %> <td><%=3D i*j %></td> <% end %> <% elif i!=3D'h': %> <th><%=3D i %></th> <% end %> <% elif j!=3D'h': %> <th><%=3D j %></th> <% end %> <% else: %> <td>*</td> <% end %> <% end %> </tr> <% end %> </table> -------------------------------- (in this example, everything could be unindented, or indented in a = different way) 2 - version with <indent> --------------------------------- <table border=3D1> <indent> <% for i in ['h']+range(10): %> <tr> <% for j in ['h']+range(10): %> <% if i!=3D'h' and j!=3D'h': %> <td><%=3D i*j %></td> <% elif i!=3D'h': %> <th><%=3D i %></th> <% elif j!=3D'h': %> <th><%=3D j %></th> <% else: %> <td>*</td> </tr> </indent> </table> --------------------------------- It is perhaps more readable, and avoids the use of many <% end %>. I'm = aware that it has its drawbacks, for instance all consecutive HTML line *must* have the same indentation, you can't write : <indent> <tr> <td>A cell</td> </tr> </indent> A more complete explanation is on CVS http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/karrigell/Karri= gell/doc/en/pythoninsidehtml.htm?rev=3D1.4 Also see the last version of the PythonInsideHTML.py module on the CVS, = it includes a GUI application which shows how PIH files are parsed All this remains open to discussion... Pierre ----- Original Message -----=20 From: "Gabriele Giorgetti" <gab...@te...> To: "Pierre Quentel" <que...@wa...> Sent: Monday, May 12, 2003 10:51 AM Subject: Re: [Karrigell-main] Indentation in PIH > Pierre Quentel wrote: > > > I've been discussing identation issues with Karrigell users and = would > > like to have an opinion on a better way to deal with it > > > > I propose to introduce a new couple of tags (say <%% and %%>) which > > mean : inside these tags, all indentation must be taken into account > > to produce the Python script, even for HTML parts (so there is no = need > > for <% end %> tags to decrement the indentation) > > > > For instance : > > > > <!-- start using indentation --> > > <%% > > <% for i in .... : %> > > <tr> > > <% if .... : %> > > <td> blabla </td> > > <% elif : %> > > <td> xoxox </td> > > </tr> > > %%> > > <!-- indentation off --> > > <table> > > <tr> > > <td>A cell</td> > > <tr> > > </table> > > Any feedback on this point would be helpful > > Pierre > > Hi Pierre, I'm not sure about what are you trying to accomplish = here... > Let's say that if I don't indent html code correctly inside "<%%", = "%%>" > tags (which can be quite confusing IMHO), Karrigell will complain ? > > PS: The Goadec Sisters mp3 is just scaring :-) > > > |
From: Pierre Q. <que...@wa...> - 2003-05-08 11:16:32
|
I've been discussing identation issues with Karrigell users and would = like to have an opinion on a better way to deal with it I propose to introduce a new couple of tags (say <%% and %%>) which mean = : inside these tags, all indentation must be taken into account to = produce the Python script, even for HTML parts (so there is no need for = <% end %> tags to decrement the indentation) For instance : <!-- start using indentation --> <%% <% for i in .... : %> <tr> <% if .... : %> <td> blabla </td> <% elif : %> <td> xoxox </td> </tr> %%> <!-- indentation off --> <table> <tr> <td>A cell</td> <tr> </table> Any feedback on this point would be helpful Pierre |
From: Pierre Q. <que...@wa...> - 2003-03-29 07:18:54
|
The Karrigell-main mailing list is now open Subscriber n=B01 wins an MP3 recording of the Goadec sisters ! Pierre |