Search the web
Sign In
New User? Sign Up
bitakora · Bitakora blog software (Zope)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
editing code samples with epoz   Message List  
Reply | Forward Message #58 of 81 |
Re: [bitakora] editing code samples with epoz

On Thu, 2006-09-14 at 17:18 -0700, Cliff Wells wrote:
> I primarily blog about programming, configuring software, etc. So far
> I've found it next to impossible to not have Epoz/BitaKora mangle any
> code snippets I insert. The major problems are inserting <br /> tags
> inside the <pre> tags and eating whitespace.
>
> Problems I've had, things I've tried:
>
> 1) There is supposedly a "Preformat" item for Epoz. I don't see it.

I see that it's disabled in "bitakora_edit_js" where ever that is. I've
tried my best to locate it both in the filesystem and in the ZMI to no
avail. I assume it's in the database? Is there anyway to edit it or
simply get rid of it?

> 2) I've tried editing directly in HTML (checking the "HTML" box), not
> using Epoz and inserting <pre> tags by hand.
> 3) I modified the Epoz/__init__.py to not import Tidy (this helped a
> bit
> - it stopped inserting <br /> tags in the <pre> elements but still
> eats
> whitespace).
>
> So it looks to me as if Epoz was inserting the <br /> tags, but it
> also
> looks like Bitakora is chomping the whitespace (especially bad for
> posting Python code <wink>).

Yep, Bitakora includes its own EpozPostTidy.py which has a part that
replaces whitespace. Not a good default. I'm removing it from my
install for the time being, but I'm already hacking up so much stuff
just to make Bitakora usable that I'm starting to fear an upgrade.


Cliff





Fri Sep 15, 2006 1:09 am

wellscliff
Offline Offline
Send Email Send Email

Forward
Message #58 of 81 |
Expand Messages Author Sort by Date

I primarily blog about programming, configuring software, etc. So far I've found it next to impossible to not have Epoz/BitaKora mangle any code snippets I...
Cliff Wells
wellscliff
Offline Send Email
Sep 15, 2006
12:22 am

... I see that it's disabled in "bitakora_edit_js" where ever that is. I've tried my best to locate it both in the filesystem and in the ZMI to no avail. I...
Cliff Wells
wellscliff
Offline Send Email
Sep 15, 2006
1:09 am

... It's in the filesystem inside the 'ui' folder. ... You can send us your file, and after checking it, we can integrate it in the product. Thank you for your...
Mikel Larreategi
erral
Offline Send Email
Sep 18, 2006
7:22 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help