Friday, August 26, 2005

26
Aug
2005
Upcoming Additions
Posted by Eugene Lazutkin in News

As you can see blog is already operational. I am planning to add to it Comments, Trackbacks, and RSS/Atom support.

Main page will be redesigned so it would include snippets from other applications and external sources. I am planning to change look and feel of this web site. Obviously what I have now is temporary.

Upcoming applications: Lunch Box 3.0, picture gallery, personal news integrator.

[See details]

Save/recommend this post:  del.icio.us  Digg  Reddit  StumbleUpon  Facebook    Subscribe to this blog:  Bloglines  Netvibes

26
Aug
2005
Using TinyMCE with Django's Admin
Posted by Eugene Lazutkin in Development::Python::Django ...

I decided to add a WYSIWYG editor to my admin portion of the site. Apparently you can find some nice open source WYSIWYG editors nowadays. Probably FCKeditor, Xinha and TinyMCE are the most prominent ones. Some people already tried different editors with Django, e.g., Xinha — http://www.socialistsoftware.com/?p=10, TinyMCE — http://www.socialistsoftware.com/?p=8. Now it's my turn.

I tried Xinha and decided not to use it:

TinyMCE was much more polished. It was extremely easy to setup. Authors provide nice examples, which can be copied directly. Another nice touch is ability to restrict [X]HTML, so it can be used for upcoming Comments by general public.

I didn't try FCKeditor because it was 3rd on my list (I don't know why) but I was already satisfied by TinyMCE.

I'll try out TinyMCE and report all problems I encounter.

BTW, this post was typed using regular MS Word. Later on I'll cut'n'paste it to my blog. If you can read it, it means it works.

Update: It works but has some strange quirks. It flickers every time I use backspace. When I tried to paste text from Word it did nothing but complained that Paste to Mozilla browsers (I use FireFox) is not supported. When I tried one more time it pasted just fine preserving all formatting. But it turned out that now I had two copies of my text.

Some quirks can be blamed on auto_resize option, which is experimental.

Another problem is TinyMCE’s strange behavior when media and active contents are served by different web servers. E.g., my local setup does it because I use Django’s own runserver for debugging and IIS for all static contents. It confuses TinyMCE.

Oh, well. I can live with that for now.

[See details]

Save/recommend this post:  del.icio.us  Digg  Reddit  StumbleUpon  Facebook    Subscribe to this blog:  Bloglines  Netvibes

26
Aug
2005
Lorem Ipsum
Posted by Eugene Lazutkin in Development

Everytime I need to test a text layout or text style I am typing something like "qwerty" and duplicate it many times to make a paragraph. Then paragraph got duplicated as well. But I am really bored to see qwerty and usually it doesn't simulate real text properly.

To have something more realistic I go to any news site to "borrow" some text. Unfortunately sometimes I have to hunt for suitable text because the one I found has very short or too long paragraphs.

Now it is as easy as typing lipsum in my browser and hitting Ctrl+Enter. This site generates text of user-defined length using famous "Lorem ipsum dolor sit amet...". This text was used by typographers for ages to check quality of fonts.

[Read more]

Save/recommend this post:  del.icio.us  Digg  Reddit  StumbleUpon  Facebook    Subscribe to this blog:  Bloglines  Netvibes

26
Aug
2005
1st Post, 4th Time
Posted by Eugene Lazutkin in General

Time and again I create 1st post just to tear the system apart and start all over again. Let's hope that this time is the last one.

[See details]

Save/recommend this post:  del.icio.us  Digg  Reddit  StumbleUpon  Facebook    Subscribe to this blog:  Bloglines  Netvibes

Made with Django.