|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Re: moinmoin parser - msg#00032List: web.pyblosxom.user
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
Every-time MoinMoin comes out with a new release, there will be
changes to get to their page rendering API. This is a problem though,
as the moinmoin plugin is not maintained by a MoinMoin guru. I was
the one who hacked the thing for MoinMoin 0.9, there are probably
some diffs out there you can get for version 1 and 1.1, but maybe not
for the current version.
I remember mailing MoinMoin developers about just getting the body rendering part of the code, no one replied to me of course, which then made me hunt thru the MoinMoin core for like a few hours to make the thing work, I'm not going to dig in again though. Anyway, I believe it could be as simple as a 3-4 lines of changes. Just have to work at it. On 24 Jun 2005, at 4:18 AM, David Geller wrote: It appears that the current version of moinmoin does not have a plain "Request" class, etc. I am just trying to verify that I am not doing something entirely brain-dead....Is anyone using moinmoin (1-3.4) w/pyblosxom? at pyblosxom.py in initialize: at utils.py in initialize_plugins: plugins/moinmoin.py: 39 from MoinMoin.parser.wiki import Parser 40 from MoinMoin.formatter.text_html import Formatter 41 from MoinMoin.request import Request 42 from MoinMoin.Page import Page 43 from MoinMoin.user import User MoinMoin undefined, Request undefined ImportError: cannot import name Request args = ('cannot import name Request',) will guaraldi wrote: On Thu, 23 Jun 2005, David Geller wrote: does the moinmoin parser still work? I get errors when I try it ( moinmoin.py,v 1.7), moinmoin version 1-3.4 If you're getting errors, then I don't think it still works. What errors are you getting? /will ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ pyblosxom-users mailing list pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/pyblosxom-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ pyblosxom-users mailing list pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/pyblosxom-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Thread at a glance:
Previous Message by Date:Re: [innercircle] Weird HTTP behaviour with IEOn Thu, 23 Jun 2005, Joseph Reagle wrote: On Thursday 23 June 2005 13:54, Michal Wallace wrote: Looks like you can control it by setting an environment variable called no-gzip: http://httpd.apache.org/docs-2.0/mod/mod_deflate.html I'm not really sure that's the problem, it's just a common suspect whenever IE does something unusual. :) I commented out the #AddOutputFilterByType and 'BrowserMatch \bMSIE !no-gzip' to my .htaccess . Looking at the document info in Konq, Mozilla it appears to be off. But in IE, ieHTTPHeaders shows: ... Is deflate on by default. Not sure how to otherwise turn it off? Yep, it's on by default. "!no-gzip" means don't set the flag. So you want to remove the exclamation point: "no-gzip" Another thought: have you tried watching your logs to see if the request is actually going through to the server? Try this from the shell: cd $HOME tail -f logs/domain/todays_logfile | grep your.ip.address Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: michal-1Blm3gUKmjjQT0dZR+AlfA@xxxxxxxxxxxxxxxx hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ ------------------------------------- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click Next Message by Date:Re: [innercircle] Weird HTTP behaviour with IEOn Friday 24 June 2005 10:54, Joseph Reagle wrote: > Ah, I had it like that before, and the compression still doesn't seem to > turn off. I just noted the docs say: [[ http://httpd.apache.org/docs-2.0/mod/mod_deflate.html # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex won't work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html ]] and you are running Server: Apache/2.0.46 (Red Hat). So tweaking my .htaccess to: [[ AddOutputFilterByType DEFLATE text/html text/plain text/xml BrowserMatch \bMSI[E] no-gzip ]] turns off compression to IE, and it now works fine. (Ug, what a pain.) However, while the info window in Konq shows a gzip Content-Encoding, I don't see a similar attribute for Mozilla. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click Previous Message by Thread:Re: moinmoin parserIt appears that the current version of moinmoin does not have a plain "Request" class, etc. I am just trying to verify that I am not doing something entirely brain-dead....Is anyone using moinmoin (1-3.4) w/pyblosxom? at pyblosxom.py in initialize: at utils.py in initialize_plugins: plugins/moinmoin.py: 39 from MoinMoin.parser.wiki import Parser 40 from MoinMoin.formatter.text_html import Formatter 41 from MoinMoin.request import Request 42 from MoinMoin.Page import Page 43 from MoinMoin.user import User MoinMoin undefined, Request undefined ImportError: cannot import name Request args = ('cannot import name Request',) will guaraldi wrote: On Thu, 23 Jun 2005, David Geller wrote: does the moinmoin parser still work? I get errors when I try it ( moinmoin.py,v 1.7), moinmoin version 1-3.4 If you're getting errors, then I don't think it still works. What errors are you getting? /will ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ pyblosxom-users mailing list pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/pyblosxom-users ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click Next Message by Thread:Re: [innercircle] Weird HTTP behaviour with IEOn Thursday 23 June 2005 13:54, Michal Wallace wrote: > Looks like you can control it by setting an > environment variable called no-gzip: > > http://httpd.apache.org/docs-2.0/mod/mod_deflate.html > > I'm not really sure that's the problem, it's > just a common suspect whenever IE does > something unusual. :) I commented out the #AddOutputFilterByType and 'BrowserMatch \bMSIE !no-gzip' to my .htaccess . Looking at the document info in Konq, Mozilla it appears to be off. But in IE, ieHTTPHeaders shows: GET /joseph/blog HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: reagle.org Connection: Keep-Alive HTTP/1.1 200 OK Date: Thu, 23 Jun 2005 21:47:09 GMT Server: Apache/2.0.46 (Red Hat) ETag: "1118428239.0" Last-Modified: Fri, 10 Jun 2005 18:30:39 GMT Vary: Accept-Encoding,User-Agent Content-Encoding: gzip Content-Length: 22531 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html Is deflate on by default. Not sure how to otherwise turn it off? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
blog comments powered by Disqus
|
|