Read RSS Reed
search...

Fiddler2 – The Web Debugging Proxy

April 8th, 2009

A friend told me something about a tool called fiddler2. It is a web debugging proxy. You only have to start this program and surf in the internet. You can see which pages / files are opened by each application, you can check the status (HTTP Status) and the used protocol, too.

It helps a lot by searching for errors!

Autocompleter using XAJAX

February 6th, 2009

rarecore autocompleter It is often helpful to use an autocompleter on your website. Perhaps in search dialogs? An example is google on an extra search page.

I tested some free tools, but I had always the problem that there was no possibility to use two or more autocompleter on one page and to organize the dependency. E.g. insert a name of a country in the first textbox and in the second textbox insert a name of a city. On the city textbox you only want to see cities belonging to the inserted country – no other cities.

This problem was the reason why I developed my own autocompleter using xajax. This framework allows me to respond on the key events and select the values from the database. I could write my own functions and use any parameters.

I generated a textbox with a hidden div below which is calling a function on the onkeyup event by using xajax. In this test I mark the searched string with a span and on CSS I colored it blue. Additional I added a mouseover using CSS.

Demo *** NEW VERSION ***

http://blog.rarecore.eu/wp-content/plugins/downloads-manager/img/icons/default.gif download: Autocompleter v2 (119.55KB)
added: 08/11/2009
clicks: 2553

That’s all!

The unsupported TinyMCE BB Code Bug…

December 5th, 2008

TinyMCE is a nice WYSIWYG Editor for a Webapplication. In my application I’m very interested in allowing the users to use BB Code to optimize the visualisation of the texts (guestbooks, news comments, …). Before I released the TinyMCE Editor on my Webradio website, I did some tests.

1. At first, I entered the following text into my textarea:

2. After submit the form, I get this text displayed:

Now you can see that the text which is between the <strong> tag is now displayed as bold. But, it shouldn’t be! If I choose the BB code plugin I think the html tag should be disabled…

3. After submit the form again, I get this text displayed:

Well, now my HTML Tag is rendered as a bb code tag. That’s wrong. I want to display the html tag and not a formatted bb code text.

I searched for support, but nobody on the TinyMCE board helps me…
After some tests, I think, I fixed the bug.

Please change the _tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js file and add the following lines to line 47 (before replacing the old tags).

rep(/&amp;lt;/gi,"&amp;amp;lt;");
rep(/&amp;gt;/gi,"&amp;amp;gt;");

Download bugfix