From troyweb at infopackaging.com Tue Oct 1 16:08:06 2002 From: troyweb at infopackaging.com (Troy Sorzano) Date: Tue Oct 1 16:08:06 2002 Subject: [Moin-user] IIS bad URL generation. The / should be a ? Message-ID: Hi All, Total newbie. Loaded MoinMoin tonight on an W2K server running IIS 5.0 Package "MoinMoin" Release 1.1 Revision 1.162 Python version 2.2a2+ (#22, Sep 5 2001, 14:10:41) [MSC 32 bit (Intel)] My problem it seems is the HTML that is generated by MoinMoin is using a / "forward" slash between the URL filename and the URL variables. If I manually replace the / with a ? the MoinMoin seems to work fine. First problem I had was the default page index.html that was copied from the wiki\htdocs to the root of my wiki. It had an ending / "backslash" on the following line That would cause my IIS server to generate errors. I removed the / and the default wiki page opened! May be the Microsoft URL lockdown tool causing this one. But it was a simple fix so I am not worried. However there are more / problems with my install. Most of the links on the default page are like this http://www.xxxxxxxxxxx.com/xxxxwiki/moin.cgi/RecentChanges notice the forward slash after he moin.cgi. IIS does not like it. IIS wants it to be http://www.xxxxxxxxxxx.com/xxxxwiki/moin.cgi?RecentChanges If I manualy replace the / with a ? the MoinMoin seems to work fine. If I leave it as / I get a file not found since IIS would be looking for the file "RecentChanges" This has to be an easy fix. But I could not find any info on the Wiki's or help pages. Google was even worse trying to search for / and ?. Thanks for any info. Troy Sorzano Info Packaging From Dierk.Hoeppner at tib.uni-hannover.de Tue Oct 1 23:42:09 2002 From: Dierk.Hoeppner at tib.uni-hannover.de (=?iso-8859-1?Q?=22H=F6ppner=2C_Dierk=22?=) Date: Tue Oct 1 23:42:09 2002 Subject: AW: [Moin-user] IIS bad URL generation. The / should be a ? Message-ID: Hello Troy, > My problem it seems is the HTML that is generated by MoinMoin > is using a / "forward" slash between the URL filename and the > URL variables. If I manually replace the / with a ? the > MoinMoin seems to work fine. > > First problem I had was the default page index.html that was > copied from the wiki\htdocs to the root of my wiki. It had > an ending / "backslash" on the following line > > > > That would cause my IIS server to generate errors. I removed > the / and the default wiki page opened! May be the Microsoft > URL lockdown tool causing this one. But it was a simple fix > so I am not worried. However there are more / problems with > my install. What you think of as an error should be an ordinary behaviour of the Webserver when starting a CGI script. A path after the path of the script to be executed is called 'extra path information'. Please have a look at http://www.w3.org/Daemon/User/CGI/Overview.html#Input I myself use Xitami on an XP machine because of the many security holes of IIS. With this server MoinMoin runs well without any modifications. HTH Dierk -- Dierk H?ppner Universit?tsbibliothek Hannover und Technische Informationsbibliothek (UB/TIB) EDV Welfengarten 1b D-30167 Hannover Tel.: 0511 / 762 - 4067, Fax: 0511 / 762 - 5881 http://www.tib.uni-hannover.de From wari at celestix.com Wed Oct 2 01:50:27 2002 From: wari at celestix.com (Wari Wahab) Date: Wed Oct 2 01:50:27 2002 Subject: [Moin-user] Problem with RSS generation of RecentChanges page Message-ID: <20021002084640.GA1728@celestix.com> Hi there, I've no idea on how to debug this, any clues? http://wiki.subtlehints.net/moin/RecentChanges?action=rss_rc What could have caused this? -- Regards: Wari Wahab Senior R&D Engineer Celestix Networks http://www.celestix.com/ vim: syntax=mail tw=72 From kentsin at yahoo.com Wed Oct 2 08:56:03 2002 From: kentsin at yahoo.com (kent sin) Date: Wed Oct 2 08:56:03 2002 Subject: [Moin-user] Chinese Translation in UTF-8 Message-ID: <20021002155506.74279.qmail@web20708.mail.yahoo.com> Hello, I have some pages translated in Chinese, include some fixed of the original Dutch pages (I did not translated them) to allow them shown the correct wikinames. I would like to show you and get comments. Also, I would like to see what others have already translated and co-operated. How can I exported them and put them up (and later put back here on my own private site) for all to read? I need to learn how to export them, put them on web. But I have them all in utf-8 (such that the dutch and chinese can co-exist). But in moinmoin, the default setting is 8859-1. Are there any public moinmoin is running in utf-8? Rgs, Kent Sin __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From jh at web.de Wed Oct 2 09:43:48 2002 From: jh at web.de (Juergen Hermann) Date: Wed Oct 2 09:43:48 2002 Subject: [Moin-user] Problem with RSS generation of RecentChanges page In-Reply-To: <20021002084640.GA1728@celestix.com> Message-ID: On Wed, 2 Oct 2002 16:46:40 +0800, Wari Wahab wrote: >Hi there, I've no idea on how to debug this, any clues? > >http://wiki.subtlehints.net/moin/RecentChanges?action=rss_rc > >What could have caused this? Your version of PyXML, which BTW is what? Ciao, J?rgen From troyweb at infopackaging.com Wed Oct 2 15:37:52 2002 From: troyweb at infopackaging.com (Troy Sorzano) Date: Wed Oct 2 15:37:52 2002 Subject: AW: [Moin-user] IIS bad URL generation. The / should be a ? Message-ID: Hi Dierk, >> Hello Troy, >> > My problem it seems is the HTML that is generated by MoinMoin >> > is using a / "forward" slash between the URL filename and the >> > URL variables. If I manually replace the / with a ? the >> > MoinMoin seems to work fine. >> > >> > First problem I had was the default page index.html that was >> > copied from the wiki\htdocs to the root of my wiki. It had >> > an ending / "backslash" on the following line >> > >> > >> > >> > That would cause my IIS server to generate errors. I removed >> > the / and the default wiki page opened! May be the Microsoft >> > URL lockdown tool causing this one. But it was a simple fix >> > so I am not worried. However there are more / problems with >> > my install. >> What you think of as an error should be an ordinary behaviour of >> the >> Webserver when starting a CGI script. A path after the path of >> the script to >> be executed is called 'extra path information'. Please have a >> look at >> http://www.w3.org/Daemon/User/CGI/Overview.html#Input >> I myself use Xitami on an XP machine because of the many >> security holes of >> IIS. With this server MoinMoin runs well without any >> modifications. Your link to the w3 lead me to the solution. I am running IIS with the URLScan tool from microsoft. It is an additional layer of security for IIS that filters any URL based upon the URLScan.ini configuration file. The following link describes the URLScan http://support.microsoft.com/default.aspx?scid=kb;en-us;Q326444 So I just edited my URLScan.ini changed AllowDotInPath=0 to AllowDotInPath=1 ; if 1, allow dots that are not file extensions then restarted IIS. Now my MoinMoin Wiki is up and running. So the problem was not MoinMoin Wiki and it was not that IIS didn't support PATH_INFO. The problem was with the default setting of the URLScan security tool. Thanks, Troy Sorzano Info Packaging From wari at celestix.com Wed Oct 2 20:57:17 2002 From: wari at celestix.com (Wari Wahab) Date: Wed Oct 2 20:57:17 2002 Subject: [Moin-user] Problem with RSS generation of RecentChanges page In-Reply-To: References: <20021002084640.GA1728@celestix.com> Message-ID: <20021003035408.GA878@celestix.com> * Juergen Hermann [021003 00:47]: > On Wed, 2 Oct 2002 16:46:40 +0800, Wari Wahab wrote: > >Hi there, I've no idea on how to debug this, any clues? > >http://wiki.subtlehints.net/moin/RecentChanges?action=rss_rc > Your version of PyXML, which BTW is what? Thanks for the tip, I've got no PyXML. I installed PyXML and it works :) Should of known. -- Regards: Wari Wahab Senior R&D Engineer Celestix Networks http://www.celestix.com/ vim: syntax=mail tw=72 From paul.sorenson at neurosim.com Fri Oct 11 05:08:02 2002 From: paul.sorenson at neurosim.com (Paul Sorenson) Date: Fri Oct 11 05:08:02 2002 Subject: [Moin-user] installing moin with only ftp access? Message-ID: <012001c2711e$bd625190$c48b0fcb@home.classware.com.au> People, My web host runs python but I don't have shell access. Is it possible/practical to install moin-moin and get it running with only ftp access (including my private cgi-bin dir)? From jh at web.de Fri Oct 11 07:42:06 2002 From: jh at web.de (Juergen Hermann) Date: Fri Oct 11 07:42:06 2002 Subject: [Moin-user] installing moin with only ftp access? In-Reply-To: <012001c2711e$bd625190$c48b0fcb@home.classware.com.au> Message-ID: On Fri, 11 Oct 2002 22:07:15 +1000, Paul Sorenson wrote: >My web host runs python but I don't have shell access. Is it >possible/practical to install moin-moin and get it running with only ftp >access (including my private cgi-bin dir)? I heard someone doing this successfully, so give it a try. I can't help you with such a setup though. Ciao, J?rgen From pobrien at orbtech.com Fri Oct 11 08:04:02 2002 From: pobrien at orbtech.com (Patrick K. O'Brien) Date: Fri Oct 11 08:04:02 2002 Subject: [Moin-user] installing moin with only ftp access? In-Reply-To: <012001c2711e$bd625190$c48b0fcb@home.classware.com.au> Message-ID: Yes. I've done exactly that. Pat > -----Original Message----- > From: moin-user-admin at lists.sourceforge.net > [mailto:moin-user-admin at lists.sourceforge.net]On Behalf Of Paul Sorenson > Sent: Friday, October 11, 2002 7:07 AM > To: moin moin > Subject: [Moin-user] installing moin with only ftp access? > > > People, > > My web host runs python but I don't have shell access. Is it > possible/practical to install moin-moin and get it running with only ftp > access (including my private cgi-bin dir)? > From paul at metrak.com Sat Oct 12 04:18:01 2002 From: paul at metrak.com (Paul Sorenson) Date: Sat Oct 12 04:18:01 2002 Subject: [Moin-user] installing moin with only ftp access? References: <012001c2711e$bd625190$c48b0fcb@home.classware.com.au> <200210111729.11730.pacu@sympatico.ca> Message-ID: <004301c271e0$e2b0b640$c48b0fcb@home.classware.com.au> Ok so I can read pages now but I get errors when trying to save edits. The Wiki page URL is http://www.metrak.com/jab/wiki/moin.cgi The .../data/text directory is pretty well writable by all and the temp #FrontPage.xxxx# is being written there, owned by apache (whereas all the other files are owned by me) and I presume the error (an IO error) is due to not being able to move the temp file to its final resting place. Any tips? Cheers From paul.sorenson at neurosim.com Sat Oct 12 04:24:02 2002 From: paul.sorenson at neurosim.com (Paul Sorenson) Date: Sat Oct 12 04:24:02 2002 Subject: [Moin-user] installing moin with only ftp access? Message-ID: <004f01c271e1$b9a20aa0$c48b0fcb@home.classware.com.au> Ok so I can read pages now but I get errors when trying to save edits. The Wiki page URL is http://www.metrak.com/jab/wiki/moin.cgi The .../data/text directory is pretty well writable by all and the temp #FrontPage.xxxx# is being written there, owned by apache (whereas all the other files are owned by me) and I presume the error (an IO error) is due to not being able to move the temp file to its final resting place. Any tips? Cheers From paul.sorenson at neurosim.com Sat Oct 12 15:26:01 2002 From: paul.sorenson at neurosim.com (Paul Sorenson) Date: Sat Oct 12 15:26:01 2002 Subject: [Moin-user] installing moin with only ftp access? References: <004f01c271e1$b9a20aa0$c48b0fcb@home.classware.com.au> Message-ID: <002801c2723e$2fc2a760$c48b0fcb@home.classware.com.au> Seems to be sorted now with the help of some tips on IRC. It was due to permissions on data/backup ----- Original Message ----- From: "Paul Sorenson" To: "moin moin" Sent: Saturday, October 12, 2002 9:23 PM Subject: Re: [Moin-user] installing moin with only ftp access? > Ok so I can read pages now but I get errors when trying to save edits. The > Wiki page URL is http://www.metrak.com/jab/wiki/moin.cgi > > The .../data/text directory is pretty well writable by all and the temp > #FrontPage.xxxx# is being written there, owned by apache (whereas all the > other files are owned by me) and I presume the error (an IO error) is due to > not being able to move the temp file to its final resting place. > > Any tips? > From ted at ags.ga.erg.sri.com Mon Oct 14 11:08:04 2002 From: ted at ags.ga.erg.sri.com (Ted Nolan SRI Augusta GA) Date: Mon Oct 14 11:08:04 2002 Subject: [Moin-user] Dumb "attachment:" question Message-ID: <200210141807.OAA16476@ags.ga.erg.sri.com> Hello, I just started playing with MoinMoin 1.0 (from the FreeBSD ports collection) to see if we can use it at my office to help us collaborate on a project. One thing I might want to do is to upload a bunch of Windows files as MoinMoin attachments. A lot of these files have spaces in the file names, and I've been kind of stymied on figuring out how to attach them. I can upload OK, but for the actual "attachment:", I've tried attachment:"foo bar" "attachment:foo bar" attachment:foo%20bar [attachment:foo bar] and several other variations which seemed plausible at the time. Am I missing something obvious? Thanks, Ted Nolan From jh at web.de Tue Oct 15 01:09:06 2002 From: jh at web.de (Juergen Hermann) Date: Tue Oct 15 01:09:06 2002 Subject: [Moin-user] Dumb "attachment:" question In-Reply-To: <200210141807.OAA16476@ags.ga.erg.sri.com> Message-ID: On Mon, 14 Oct 2002 14:07:20 -0400, Ted Nolan SRI Augusta GA wrote: >Am I missing something obvious? Renaming the files (there's even an input field for that). Ciao, J?rgen From bragiba at simi.is Wed Oct 16 08:51:07 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Wed Oct 16 08:51:07 2002 Subject: [Moin-user] Moin and frames layout Message-ID: I would like to change the layout of a moin wiki I have to be like +----------------------------------------------------------------+ | | | Navigation bar | +----------------------------------------------------------------+ | | | | | Display frame | | sub- | | | menu | | | | | +-----------------------------------------------------------------+ The navigation is the standard moin navigation bar. The links in the navigation bar change the menu I get in the sub-menu frame. Then depending on what I select in the sub-menu I will display that in the display frame. Can anyone point to areas where to look to start these changes? Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: +354 550 63 08 mailto:bragiba at siminn.is Fax: +354 550 63 39 www:http://www.siminn.is Gsm: +354 892 63 08 - S?minn au?veldar samskipti - _______________________________________________________________________ ?essi t?lvup?stur og vi?hengi hans g?tu innihaldi? tr?na?aruppl?singar eing?ngu ?tla?ar ?eim sem hann er st?la?ur ?. Efni t?lvup?stsins og vi?hengi er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi S?mans. Sj? n?nar: http://www.siminn.is/control/index?pid=6164 This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. Further information: http://www.siminn.is/control/index?pid=6772 _______________________________________________________________________ From tim at bird.org Thu Oct 17 09:10:05 2002 From: tim at bird.org (Tim Bird) Date: Thu Oct 17 09:10:05 2002 Subject: [Moin-user] Moin and frames layout References: Message-ID: <3DAE8E16.499F769A@bird.org> bragiba at simi.is wrote: > > I would like to change the layout of a moin wiki I have to be like > > +----------------------------------------------------------------+ > | > | > | Navigation bar | > +----------------------------------------------------------------+ > | | > | > | | Display frame | > | sub- | > | > | menu | > | > | | > | > +-----------------------------------------------------------------+ > > The navigation is the standard moin navigation bar. The links in the > navigation bar change the menu I get > in the sub-menu frame. Then depending on what I select in the sub-menu I > will display that in the display frame. > > Can anyone point to areas where to look to start these changes? I have done some (interesting, IMNSHO) things with the navigation bar. (Unfortunately, it's not exposed anywhere yet, or I'd provide a link). You can do a lot without having to modify MoinMoin itself, but I think you will probably have to do so. Inside your moin_config.py, you can define title1, title2, page_footer1 and page_footer2 (why these aren't orthogonally named is beyond me). Whatever string you put in title1 is emitted before the rest of the title that MoinMoin puts out. title2 is emitted after the title that MoinMoin puts out. page_footer1 is emitted before the footer that MoinMoin puts out, and page_footer2 after. This yeilds quite a bit of flexibility. For instance, you can start a new table, and a left-hand td in title2 (with your sub-menu) and opening td in title2, and then a closing td and end table in page_footer2. This will get you some of what you need, if you can do it with static text. For example, in moin_config.py put: title2="""
(your sub-menu stuff) """ page_footer1="
" If you need to do something programatic, then the actual routines to output the title and footer are in MoinMoin/wikiutil.py, in the routines send_title() and send_footer() respectively. Since you want to affect the contents of the sub-menu programmatically (depending on the selection from the navigation bar), you will need to modify these routines. I have been thinking that it would be nice if MoinMoin allowed you to define your own callback for send_title() and send_footer() in moin_config.py, to allow complete control over these actions without having to modify the MoinMoin base code. Unfortunately, I haven't had time to whip up a patch yet, but maybe in a few weeks I'll send something in. Good luck. If you get something working, please send a patch to the list so we can see how you did it. I'd love to see such a feature. ____________________________________________________________ Tim Bird Tim Bird Consulting Embedded Linux Consultant 1273 North 1000 East tim at bird.org Orem, UT 84097 From montagne at boora.com Thu Oct 17 10:45:14 2002 From: montagne at boora.com (Michael Montagne) Date: Thu Oct 17 10:45:14 2002 Subject: [Moin-user] Printing pages Message-ID: <20021017174455.GA17201@boora.com> I'm deeply into evaluating moinmoin vs zwiki for a intranet knowledge base application. I'm not a real proficient python programmer but i'm getting there. I have several needs that I'm hoping someone has already adddressed. 1. I need to be able to select specific pages using a checkbox and print them. There was a zwiki script to do this. It visited each page in a list and had it render itself without the header or footer. The result was long html page that one could then print. Cool. 2. I need to be able to convert individual pages or groups into a pdf file (again without the headers) 3. I need an easy way to insert an image into a page inline. I'm muddling through these issues and I really like moinmoin. Once I get the hang of it, I'm sure it will be every bit as good as zwiki. -- Michael Montagne [montagne at boora.com] 503.226.1575 -- From jh at web.de Thu Oct 17 10:47:57 2002 From: jh at web.de (Juergen Hermann) Date: Thu Oct 17 10:47:57 2002 Subject: [Moin-user] Moin and frames layout In-Reply-To: <3DAE8E16.499F769A@bird.org> Message-ID: On Thu, 17 Oct 2002 04:16:54 -0600, Tim Bird wrote: >Inside your moin_config.py, you can define >title1, title2, page_footer1 and page_footer2 >(why these aren't orthogonally named is beyond me). As always with such things, history. The first two were introduced much earlier than the last two. BTW, could one of you two refactor your message to http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinDev/PageLayout ? Re your q on callbacks, the easiest thing would be to check whether the existing vars are callables. Idea? Ciao, J?rgen From jh at web.de Thu Oct 17 12:14:09 2002 From: jh at web.de (Juergen Hermann) Date: Thu Oct 17 12:14:09 2002 Subject: [Moin-user] Printing pages In-Reply-To: <20021017174455.GA17201@boora.com> Message-ID: On Thu, 17 Oct 2002 10:44:55 -0700, Michael Montagne wrote: >1. I need to be able to select specific pages using a checkbox and >print them. There was a zwiki script to do this. It visited each page >in a list and had it render itself without the header or footer. The >result was long html page that one could then print. Cool. Page w/o navigation: click the printer icon. No way to do it for a list (unless you write a little script that downloads the action=print URLs). Another way is to use the Include macro and print that page (see the MoinMoinInstallDocs page for an example). >2. I need to be able to convert individual pages or groups into a pdf >file (again without the headers) Not currently (unless you print into a PDF printer driver, or use html2pdf). >3. I need an easy way to insert an image into a page inline. See HelpOnLinking. Ciao, J?rgen From bragiba at simi.is Thu Oct 17 14:22:01 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Thu Oct 17 14:22:01 2002 Subject: [Moin-user] Moin and frames layout Message-ID: An HTML attachment was scrubbed... URL: From jh at web.de Fri Oct 18 15:56:02 2002 From: jh at web.de (Juergen Hermann) Date: Fri Oct 18 15:56:02 2002 Subject: [Moin-user] Moin and frames layout In-Reply-To: Message-ID: >Actually I think your idea of callbacks is a great idea. I need to look into this in a little more detail. Or you just do a cvs up. :> Ciao, J?rgen From bragiba at simi.is Sat Oct 19 05:17:01 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Sat Oct 19 05:17:01 2002 Subject: [Moin-user] Moin and frames layout Message-ID: An HTML attachment was scrubbed... URL: From tbird20d at yahoo.com Sat Oct 19 13:25:03 2002 From: tbird20d at yahoo.com (Tim Bird) Date: Sat Oct 19 13:25:03 2002 Subject: [Moin-user] Moin and frames layout In-Reply-To: Message-ID: <20021019202438.34750.qmail@web20808.mail.yahoo.com> bragiba wrote: > Are you saying callbacks are in CVS now? Juergen Hermann wrote: > > Or you just do a cvs up. Yep. Juergen, That's what I call service!! Thanks. Bragi, Instructions to access the CVS repository are at: http://sourceforge.net/cvs/?group_id=8482 use "MoinMoin" as the modulename, and look in the file wikiutil.py, at routine _emit_custom_html() Juergen, it looks like in the future you are planning on passing in a request object as a parameter to the function. This would be very handy to allow the callback to customize the output according to request attributes. Is this right? I see that this would break a bunch of action code, is this why you didn't put this in now? Regards, Tim Bird __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ From bragiba at simi.is Mon Oct 21 08:52:04 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Mon Oct 21 08:52:04 2002 Subject: [Moin-user] Moin and frames layout Message-ID: That?s great that you can have callable objects in your title and page footers. This did not quite satisfy what I was after though :(. So I went the route of: 1. grabbing a java menu off (www.apycom.com) 2. Create a custom_navi_bar in config.py in the deault dict. custom_navi_bar is just html code that the user can fill in to create a custom navi_bar. 3. I then set the navi_bar to an empty list and I print out the custom navi bar if it exists in send_title in wikiutils.py if config.navi_bar or quicklinks: print ( '' '') % {'sitename': config.sitename,} if not quicklinks: for pagename in config.navi_bar: quicklinks.append(getSysPage(pagename).page_name) for pagename in quicklinks: print ( '') % { 'scriptname': webapi.getScriptname(), 'pagelink': quoteWikiname(pagename), 'pagename': pagename, } print '' if config.custom_navi_bar: #Print out custom navi bar. print config.custom_navi_bar 4. My suggestion is to also rename page_footer1 and title1 to custom_footer and custom_header. These are a little more descriptive names. 5. My only problem now is that some of my menu items call some scripts, i.e. /bin/somescript.cgi that stand outside moin. These scripts return fullblown html pages. So ideally I would have liked to have moin organized into frames. The navi bar and header contents are one frame (navi_frame) and then the rest is just a display frame (display_frame). In that way I can redirect the output of my scripts into the display frame. That way the user still sees the moin navi_bar and he feels like he is still a part of the moin environment. For now I am just popping up a new window to display the script results. I am thinking about rewriting moin for my purposes with frames but I am not quite sure how big of a task that is yet. So can you answer these: What are the downsides to using frames in moin? What do you see as the positives of using frames? My first guess is to do the following: Instead of having moin throw everything right at stdout it throws it at some object that knows if you are using frames or not and takes the appropriate action. Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: +354 550 63 08 mailto:bragiba at siminn.is Fax: +354 550 63 39 www:http://www.siminn.is Gsm: +354 892 63 08 - S?minn au?veldar samskipti - Tim Bird cc: MoinMoin Users Subject: Re: [Moin-user] Moin and frames layout 19.10.2002 20:24 Please respond to tim bragiba wrote: > Are you saying callbacks are in CVS now? Juergen Hermann wrote: > > Or you just do a cvs up. Yep. Juergen, That's what I call service!! Thanks. Bragi, Instructions to access the CVS repository are at: http://sourceforge.net/cvs/?group_id=8482 use "MoinMoin" as the modulename, and look in the file wikiutil.py, at routine _emit_custom_html() Juergen, it looks like in the future you are planning on passing in a request object as a parameter to the function. This would be very handy to allow the callback to customize the output according to request attributes. Is this right? I see that this would break a bunch of action code, is this why you didn't put this in now? Regards, Tim Bird __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ _______________________________________________________________________ ?essi t?lvup?stur og vi?hengi hans g?tu innihaldi? tr?na?aruppl?singar eing?ngu ?tla?ar ?eim sem hann er st?la?ur ?. Efni t?lvup?stsins og vi?hengi er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi S?mans. Sj? n?nar: http://www.siminn.is/control/index?pid=6164 This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. Further information: http://www.siminn.is/control/index?pid=6772 _______________________________________________________________________ From jh at web.de Tue Oct 22 12:39:02 2002 From: jh at web.de (Juergen Hermann) Date: Tue Oct 22 12:39:02 2002 Subject: [Moin-user] Moin and frames layout In-Reply-To: <20021019202438.34750.qmail@web20808.mail.yahoo.com> Message-ID: On Sat, 19 Oct 2002 13:24:38 -0700 (PDT), Tim Bird wrote: >Is this right? I see that this would break a bunch of >action code, is this why you didn't put this in now? The refactoring for "request" is not yet finished. Ciao, J?rgen From jh at web.de Tue Oct 22 12:42:03 2002 From: jh at web.de (Juergen Hermann) Date: Tue Oct 22 12:42:03 2002 Subject: [Moin-user] Moin and frames layout In-Reply-To: Message-ID: On Mon, 21 Oct 2002 15:51:41 +0000, bragiba at simi.is wrote: >4. My suggestion is to also rename page_footer1 and title1 to custom_footer >and custom_header. These are a little > more descriptive names. Templating will come, so this is not worth the trouble. >What are the downsides to using frames in moin? Many people don't like them. And it's even more work, and complicates code. >What do you see as the positives of using frames? Not much. Ciao, J?rgen From Hans.Yandle at cingular.com Thu Oct 24 09:52:08 2002 From: Hans.Yandle at cingular.com (Yandle, Hans) Date: Thu Oct 24 09:52:08 2002 Subject: [Moin-user] URL Referencing with Spaces in File Strings Message-ID: I have come to a bit of a problem. I am trying to setup a wiki page but have attachments stored on an external NT file server. NTFS supports long filenames and spaces with in them. So for instance, one might have the following: Server Name: abcserver Share Name: attachments UNC: \\abcserver\attachments Under the attachments root folder, one might have: /Company Logos My Logo.png Logo2.png Please note the space in the directory name ("Company Logos") and file name ("My Logo.png"). The following wiki statements work: * Opens a new window, supports spaces in directories and filenames: [[NewWindow("file://abcserver/attachments/Company Logos/My Logo.png"[, "My Company Logo"])]] * Here is the same image being displayed as an inline image. I converted the spaces to HTML encodings, i.e.
asc(32)=html( ):
file://abcserver/attachments/Company Logos/My Logo.png 
* Here is a html reference for the logo using pure html code:
[[HTML(My Company Logo)]]
I tried using the url[] command but every time it encounter a space the url command broke off the remainder/tail as its description. In other words this does not work: * url["file://abcserver/attachments/Company Logos/My Logo.png" My Company Logo] It seems logical enough to me that if one encloses their file string within quotes that file string should be pass quoted and as is to the "a hrefs" or "image" tags. Can someone tell me how to workaround this issue or possible fix it. I understand the conversion of spaces to html encoding but my users will not. Regards, Hans From jh at web.de Thu Oct 24 11:26:05 2002 From: jh at web.de (Juergen Hermann) Date: Thu Oct 24 11:26:05 2002 Subject: [Moin-user] URL Referencing with Spaces in File Strings In-Reply-To: Message-ID: On Thu, 24 Oct 2002 12:51:03 -0400, Yandle, Hans wrote: >I tried using the url[] command but every time it encounter a space What url command? Ciao, J?rgen From Hans.Yandle at cingular.com Thu Oct 24 11:34:08 2002 From: Hans.Yandle at cingular.com (Yandle, Hans) Date: Thu Oct 24 11:34:08 2002 Subject: [Moin-user] URL Referencing with Spaces in File Strings Message-ID: The url command to me is the [] (brackets) mentioned in HelpOnLinking. -----Original Message----- From: Juergen Hermann [mailto:jh at web.de] Sent: Thursday, October 24, 2002 2:26 PM To: moin-user at lists.sourceforge.net; Yandle, Hans Subject: Re: [Moin-user] URL Referencing with Spaces in File Strings On Thu, 24 Oct 2002 12:51:03 -0400, Yandle, Hans wrote: >I tried using the url[] command but every time it encounter a space What url command? Ciao, J?rgen From pcremin at origin.ea.com Thu Oct 24 11:50:03 2002 From: pcremin at origin.ea.com (Cremin, Patrick) Date: Thu Oct 24 11:50:03 2002 Subject: [Moin-user] Premature end of script header Message-ID: <9B8090A2F0EBDB4ABD59B08E81C1A68436BDB3@osi-postal.osi.ad.ea.com> Have Apache running, moin1.0 and python22 installed on Win2K machine. Problem is that I keep getting the following error message in my Apache log: 'Premature end of script header: moin.bat' Tried changing my httpd.conf to: Alias /wiki/ "C:/moin/share/moin/htdocs" ScriptAlias /qawiki "C:moin/qawiki/moin.cgi" //was moin.bat But then I get the following error message: 'couldn't create child process: 72003: moin.cgi' 'couldn't spawn child process: c:/moin/qawiki/moin.cgi' I can tell, from searching around in the moin email archive, that this is normally caused by the user doing something stupid, but I can't figure it out. Anyone know whats up? -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at dorseys.org Thu Oct 24 16:50:02 2002 From: brian at dorseys.org (Brian Dorsey) Date: Thu Oct 24 16:50:02 2002 Subject: [Moin-user] URL Referencing with Spaces in File Strings In-Reply-To: References: Message-ID: <20021025000817.GA7782@dorseys.org> Here is what I ended up doing to link to files with spaces on remote NT servers: [file://servername/toolsanddocs/docs/Build%20Functional%20Requirements.doc Build Functional Requirements] This ends up turning into a nice link with a little floppy next to it. Take care, -Brian On Thu, Oct 24, 2002 at 12:51:03PM -0400, Yandle, Hans wrote: > I have come to a bit of a problem. I am trying to setup a wiki page but have > attachments stored on an external NT file server. NTFS supports long > filenames and spaces with in them. So for instance, one might have the > following: > > Server Name: abcserver > Share Name: attachments > UNC: \\abcserver\attachments > > Under the attachments root folder, one might have: > /Company Logos > My Logo.png > Logo2.png > > Please note the space in the directory name ("Company Logos") and file name > ("My Logo.png"). The following wiki statements work: > > * Opens a new window, supports spaces in directories and filenames: > [[NewWindow("file://abcserver/attachments/Company Logos/My Logo.png"[, "My > Company Logo"])]] > * Here is the same image being displayed as an inline image. I > converted the spaces to HTML encodings, i.e.
asc(32)=html( ):
> file://abcserver/attachments/Company Logos/My Logo.png 
> * Here is a html reference for the logo using pure html code: >
[[HTML(My Company Logo)]]
> > I tried using the url[] command but every time it encounter a space the url > command broke off the remainder/tail as its description. In other words this > does not work: > * url["file://abcserver/attachments/Company Logos/My Logo.png" My > Company Logo] > > It seems logical enough to me that if one encloses their file string within > quotes that file string should be pass quoted and as is to the "a hrefs" or > "image" tags. > > Can someone tell me how to workaround this issue or possible fix it. I > understand the conversion of spaces to html encoding but my users will not. > > Regards, > > Hans > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From Hans.Yandle at cingular.com Fri Oct 25 12:28:01 2002 From: Hans.Yandle at cingular.com (Yandle, Hans) Date: Fri Oct 25 12:28:01 2002 Subject: [Moin-user] URL Referencing with Spaces in File Strings Message-ID: Well, you are right that does work by translating the spaces to %20's but that requires people thinking like computers and as such is not very wiki like. So, I took some time out and found how to fix it. Keep in mind that I am not a programmer by trade. So, if you would like to be able to include spaces with in your referenced URLs that are enclosed in brackets see the patch below: Example: [file://servername/toolsanddocs/Build Functional Requirements.doc: Build Functional Requirements] Please note the lack of %20's. Here is a patch for Moin/Lib/site-packages/MoinMoin/parser/wiki.py under the def _url_bracket_repl: starting at line 360 (wiki.py,v 1.91 2002/07/18 19:20:52 jhermann): if scheme == "wiki": return self.interwiki(words, pretty_url=1) # Enable spaces with in URLs by using another ':' for the deliminator # example [http://www.company.com/intranet/market 2002 diagram.png: Market 2002] labelsplit = string.find(words[1],':') if labelsplit is not -1 and len(words[1]) > 1 : words[0] = words[0] + ' ' + words[1][:labelsplit] words[1] = string.lstrip(words[1][labelsplit + 1:]) if scheme in self.attachment_schemas: return self.attachment(words, pretty_url=1) Regards, Hans -----Original Message----- From: Brian Dorsey [mailto:brian at dorseys.org] Sent: Thursday, October 24, 2002 8:08 PM To: 'moin-user at lists.sourceforge.net' Subject: Re: [Moin-user] URL Referencing with Spaces in File Strings Here is what I ended up doing to link to files with spaces on remote NT servers: [file://servername/toolsanddocs/docs/Build%20Functional%20Requirements.doc Build Functional Requirements] This ends up turning into a nice link with a little floppy next to it. Take care, -Brian On Thu, Oct 24, 2002 at 12:51:03PM -0400, Yandle, Hans wrote: > I have come to a bit of a problem. I am trying to setup a wiki page but have > attachments stored on an external NT file server. NTFS supports long > filenames and spaces with in them. So for instance, one might have the > following: > > Server Name: abcserver > Share Name: attachments > UNC: \\abcserver\attachments > > Under the attachments root folder, one might have: > /Company Logos > My Logo.png > Logo2.png > > Please note the space in the directory name ("Company Logos") and file name > ("My Logo.png"). The following wiki statements work: > > * Opens a new window, supports spaces in directories and filenames: > [[NewWindow("file://abcserver/attachments/Company Logos/My Logo.png"[, "My > Company Logo"])]] > * Here is the same image being displayed as an inline image. I > converted the spaces to HTML encodings, i.e.
asc(32)=html( ):
> file://abcserver/attachments/Company Logos/My Logo.png 
> * Here is a html reference for the logo using pure html code: >
[[HTML(My Company Logo)]]
> > I tried using the url[] command but every time it encounter a space the url > command broke off the remainder/tail as its description. In other words this > does not work: > * url["file://abcserver/attachments/Company Logos/My Logo.png" My > Company Logo] > > It seems logical enough to me that if one encloses their file string within > quotes that file string should be pass quoted and as is to the "a hrefs" or > "image" tags. > > Can someone tell me how to workaround this issue or possible fix it. I > understand the conversion of spaces to html encoding but my users will not. > > Regards, > > Hans > > > From cbevali at systems.dhl.com Fri Oct 25 15:16:02 2002 From: cbevali at systems.dhl.com (Charles Bevali) Date: Fri Oct 25 15:16:02 2002 Subject: [Moin-user] Re: URL Referencing with Spaces in File Strings (Brian Dorsey) In-Reply-To: Message-ID: <5.1.1.6.0.20021025151459.01e4cf50@mail.systems.dhl.com> Use the IncludeFile[] macro :) At 12:13 PM 10/25/2002 -0700, you wrote: >Send Moin-user mailing list submissions to > moin-user at lists.sourceforge.net > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/moin-user >or, via email, send a message with subject or body 'help' to > moin-user-request at lists.sourceforge.net > >You can reach the person managing the list at > moin-user-admin at lists.sourceforge.net > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Moin-user digest..." > > >Today's Topics: > > 1. Re: URL Referencing with Spaces in File Strings (Brian Dorsey) > >--__--__-- > >Message: 1 >Date: Thu, 24 Oct 2002 17:08:17 -0700 >From: Brian Dorsey >To: "'moin-user at lists.sourceforge.net'" >Subject: Re: [Moin-user] URL Referencing with Spaces in File Strings > >Here is what I ended up doing to link to files with spaces on remote NT >servers: > >[file://servername/toolsanddocs/docs/Build%20Functional%20Requirements.doc >Build Functional Requirements] > >This ends up turning into a nice link with a little floppy next to it. > >Take care, >-Brian > >On Thu, Oct 24, 2002 at 12:51:03PM -0400, Yandle, Hans wrote: > > I have come to a bit of a problem. I am trying to setup a wiki page but > have > > attachments stored on an external NT file server. NTFS supports long > > filenames and spaces with in them. So for instance, one might have the > > following: > > > > Server Name: abcserver > > Share Name: attachments > > UNC: \\abcserver\attachments > > > > Under the attachments root folder, one might have: > > /Company Logos > > My Logo.png > > Logo2.png > > > > Please note the space in the directory name ("Company Logos") and file name > > ("My Logo.png"). The following wiki statements work: > > > > * Opens a new window, supports spaces in directories and filenames: > > [[NewWindow("file://abcserver/attachments/Company Logos/My Logo.png"[, "My > > Company Logo"])]] > > * Here is the same image being displayed as an inline image. I > > converted the spaces to HTML encodings, i.e.
asc(32)=html( ):
> > file://abcserver/attachments/Company Logos/My Logo.png 
> > * Here is a html reference for the logo using pure html code: > >
[[HTML(My Company Logo)]]
> > > > I tried using the url[] command but every time it encounter a space the url > > command broke off the remainder/tail as its description. In other words > this > > does not work: > > * url["file://abcserver/attachments/Company Logos/My Logo.png" My > > Company Logo] > > > > It seems logical enough to me that if one encloses their file string within > > quotes that file string should be pass quoted and as is to the "a hrefs" or > > "image" tags. > > > > Can someone tell me how to workaround this issue or possible fix it. I > > understand the conversion of spaces to html encoding but my users will not. > > > > Regards, > > > > Hans > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > > _______________________________________________ > > Moin-user mailing list > > Moin-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/moin-user > > > >--__--__-- > >_______________________________________________ >Moin-user mailing list >Moin-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/moin-user > > >End of Moin-user Digest -- Charles Bevali +1 480 375 6114 GIS Director Technical Systems Architecture DHL Worldwide Express IMPORTANT: Please use cbevali at systems.dhl.com not Charles.Bevali at systems.dhl.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerson.Kurz at t-online.de Sun Oct 27 01:39:03 2002 From: Gerson.Kurz at t-online.de (Gerson Kurz) Date: Sun Oct 27 01:39:03 2002 Subject: [Moin-user] moinmoin not apache2.0 compatible? Message-ID: As meticiously as I checked that I write the word "meticiously" correct I followed the installation procedure for moinmoin, noticing that it refers to the apache 1.x version. However, it doesn't work with my apache 2.0.43 (on win32), I get the dreaded premature script headers. I did some tracing and found that this happens: when I call moinmoin with the default url (that is: http://localhost/mywiki), the code in cgimain.py will end up in webapi.cgiMoin posting this: Status: 302 Location: http://localhost/mywiki/FrontPage?action=show&redirect=StartSeite Content-type: text/html;charset=iso-8859-1 So, everything seems fine - b ut the url is never redirected. So, I figure that redirecting from a CGI works differently in 2.0? I'm surprised, really. Anyway, trying to call that URL directly shows that the start page ("A WikiWikiWeb is a collaborative hyperblablabla") will get called, but not displayed - premature end of script headers again. Any help? From Gerson.Kurz at t-online.de Sun Oct 27 01:18:02 2002 From: Gerson.Kurz at t-online.de (Gerson Kurz) Date: Sun Oct 27 01:18:02 2002 Subject: [Moin-user] Getting moin.cgi to work with 2.0.43 Message-ID: It works now, and this is what I did: - renamed moin.cgi to moin.py - replaced the first line with #!/usr/bin/python -u - added the following lines before "import os" import sys sys.path.append('c:\Moin\lib\site-packages') - changed http.conf to Alias /wiki/ "C:/Moin/share/moin/htdocs/" ScriptAlias /mywiki "C:/Moin/mywiki/moin.py" Don't ask me why this works, and the .bat-version doesn't. Ah well, who cares, I got a wiki! From bragiba at simi.is Mon Oct 28 05:47:02 2002 From: bragiba at simi.is (bragiba at simi.is) Date: Mon Oct 28 05:47:02 2002 Subject: [Moin-user] Page trail Message-ID: I have just added a menu applet to my wiki and I have problems with the page trail picking up some class variables from the applet such as Menu$COMClass Object.class seen below. Wiki Sand Box?? Help On Actions/Attach File?? Help On Actions/ap Popup Menu Bean Info.class?? Help On Actions/ap Popup Menu$COMClass Object.class?? MobileCentrica I believe this is happening as the applet is writing some info in form of cookies or files to my computer. Moin picks this up as it assumes it is part of moin. Is there a simple fix for this? Me? kve?ju/Best Regards Bragi Baldursson GPRS Kerfisverkfr??ingur/GPRS Systems Engineer S?mi/Tel.: +354 550 63 08 mailto:bragiba at siminn.is Fax: +354 550 63 39 www:http://www.siminn.is Gsm: +354 892 63 08 - S?minn au?veldar samskipti - _______________________________________________________________________ ?essi t?lvup?stur og vi?hengi hans g?tu innihaldi? tr?na?aruppl?singar eing?ngu ?tla?ar ?eim sem hann er st?la?ur ?. Efni t?lvup?stsins og vi?hengi er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi S?mans. Sj? n?nar: http://www.siminn.is/control/index?pid=6164 This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. Further information: http://www.siminn.is/control/index?pid=6772 _______________________________________________________________________ From jh at web.de Mon Oct 28 11:27:04 2002 From: jh at web.de (Juergen Hermann) Date: Mon Oct 28 11:27:04 2002 Subject: [Moin-user] Page trail In-Reply-To: Message-ID: On Mon, 28 Oct 2002 13:46:44 +0000, bragiba at simi.is wrote: > I believe this is happening as the applet is writing some info in form of >cookies or files to my computer. Moin picks this up as it assumes it is >part of moin. No. The applet is requesting some relative URLs. >Is there a simple fix for this? Use absolute URLs. Ciao, J?rgen From jh at web.de Mon Oct 28 11:34:04 2002 From: jh at web.de (Juergen Hermann) Date: Mon Oct 28 11:34:04 2002 Subject: [Moin-user] HTML Mail Message-ID: Just FYI: HTML Mail is counted as spam here and moved to a trash folder, so don't expect me to read such mail. Ciao, J?rgen From jh at web.de Thu Oct 31 01:16:01 2002 From: jh at web.de (Juergen Hermann) Date: Thu Oct 31 01:16:01 2002 Subject: [Moin-user] RE: MoinMoin - can you help ? In-Reply-To: Message-ID: On Wed, 30 Oct 2002 17:44:59 -0500, Bruce Berry wrote: >As a newbie, I beg your forgiveness - >no problem to add the '?test' to the URL, is this supposed to create a log >file somewhere ? >I did not notice anything different by trying this. (Windows error is still: >'The system cannot find the path specified: 'data\\text/*.*') No, it shows a diagnosis page. If you still get an exception, your setup is more broken than I can imagine. Is that wiki public or private? Ciao, J?rgen -- J?rgen Hermann, Developer WEB.DE AG, http://webde-ag.de/ From montagne at boora.com Thu Oct 31 15:28:02 2002 From: montagne at boora.com (Michael Montagne) Date: Thu Oct 31 15:28:02 2002 Subject: [Moin-user] config changes Message-ID: <20021031232805.GA9211@boora.com> I'm trying to make some changes to my moin_config.py and they do not seem to be taking effect. I editted the file /usr/share/moin/cgi-bin/moin_config.py (debian puts it here) and restarted apache. Is there something else? I changed the sitename and mail_smarthost variables but i still can't subscribe and the title in the top left corner still says "Unnamed Moinmoin wiki" -- Michael Montagne [montagne at boora.com] 503.226.1575 --