August 2005 Archive
August 29, 2005
|
|
New design is coming along nicely. Thank heaven for Photoshop, POV-Ray, and digital cameras! I need to work out a few quirks and I'll be ready to create Django templates. Additionally I'll create some custom tags to handle non-traditional formats.
Save/recommend this post:
Subscribe to this blog:
August 26, 2005
|
|
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.
Save/recommend this post:
Subscribe to this blog:
|
|
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:
- setup is quite complicated
- you have to include two JavaScript files: one before and one after Xinha's htmlarea.js
- the second file is quite big, even for simple configuration a user has to do some dance with Xinha's internals
- the layout of toolbar components was less then perfect, a lot of empty spaces were reserved (?), I didn't find a way to change it (should I?)
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.
Save/recommend this post:
Subscribe to this blog:
|
|
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.
Save/recommend this post:
Subscribe to this blog:
|
|
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.

