Something about everything…

Syntax Highlighter/Code Snippet/Plugin

< ?php echo "Syntax Highlighter" . "/Code Snippet/Plugin"; ?> <br />

The one thing that I really needed was for easier editing and writing of my posts and putting source code onto my web-page/blog for viewing only, i.e. the code mustn’t be rendered (translated). Wordpress has one built-in, but it’s a little poor, something is translated, something isn’t and similar. I was looking for some add-on/plugin which would have the capability to highlight/color some parts of code, i.e. code can be easy readable without any “translation“ (for example <br> tag musn’t be rendered as a new line). I have found one interesting add-on called CodeHighlighter and from the beginning it seems quite good (also, it has the advantageous possibility to put line numbers at the left side of the code). But, when PHP code came up which contained HTML code (especially <br> tag) – it wasn’t translated properly, so the code which I didn’t wish to show wasn’t right, because the <br> tag wasn’t there. I tried to configure some files, add <br> tag in Visual layout, but all without any success – stupidly, he has translate it anyway. (more…)

Own buttons (HTML view – Wordpress)

Vlastiti gumbi (HTML pogled - Wordpress)As I have little “break-in“ to my web-page/blog, certain posts are really big/long and they require many different, personal (own) tags. This relates, for example, to Titles (which have a dashed line at top and bottom and a bigger font), pictures, lists, font colour and similar. From the beginning of my web-site I have tried to be precise and pedantic (as befits my general manner, maybe a little excessively :)) and all my posts are written “by hand“ in HTM view in Wordpress. What do I mean “by hand“? For example, if I want to add a picture to my post, I must add the following code and change it’s picture location, for each and every single picture, particulary.

<p style="text-align: center"><a href="http://www.svebee.com/images/phpmysql_2/original/15.jpg"><img style="margin: 5px" src="http://www.svebee.com/images/phpmysql_2/15_thumb.jpg" alt="PHP & MySQL vodič - osnove" /></a></p>

This is one of the Titles in PHP guide.

<a name=skupovi_znakova_strings><p style="font-size: 1.5em; border-top:1px dashed black; border-bottom:1px dashed black">Skupovi znakova (eng. strings) | <strong><a href="#"><font color=blue>strings.php</font></a></strong></p></a>

(more…)

Internet Radio – ShoutCast

Internet Radio – ShoutCast – SAM Broadcaster

In this tutorial, I’ll describe how to set-up your own internet radio streaming – you’ll send information (songs/voice/whatever…) from your computer to a server (which you have bought), which will foward the songs further to your radio listeners. Also, I’ll describe how to make a form on your web-server (web-site) which will show what is currently playing, what’s next, most popular songs, formular for requests (visitor request some song – and radio automaticly plays it) and so on (a playlist). (more…)

Next Entries »

copyright © 2010 svebee | Wordpress | Sitemap