Recent Activites
Blog Advertising - Get Paid to Blog

Bringing the Lovely VBScript Split Function into Delphi with a Custom Function

Posted by Daniel - 2,167 Views

Split Function in DelphiIt was a very old idea that I want to be able to perform the process carried out by the VBScript Split Function with Delphi. I had done it once but only capable of doing the split process with only one character as the delimiter, if I want to split a series of strings by two or more character as the delimiter, it didn’t work. This is the update, now I can perform the Split process with more than one character as the delimiter.

Before you get confused by what the Split Function does, let me explain: Split Function which is found as a built in function on the Visual Basic family languages will slice a strings based on a character delimiter specified and then will return an array containing each pieces from the slice process.

read more..

Posted in: Programming - Comments(2) February 2008

The Code Snippet Plugin, my favourite syntax highlighter plugin for WordPress

Posted by Daniel - 2,096 Views

CodeSnippet pluginThere is no doubt that I need a WordPress plugin to highlight my code examples for this blog. It’s a requirement since I publish many programming code example within this blog. I had tried some of them, mostly from the WordPress plugin repository. All of them are relatively good but if I ask myself which one is my favorite I choose CodeSnippet Plugin. Why? Most of the syntax highlight plugins I had tested did not perfectly display their formatted code with my current theme, while CodeSnippet does, it’s perfectly blend with my theme. I guess the first good impression what makes me choose to use the CodeSnippet but please remember that this is my opinion only, some of you may think that my opinion is not correct.

read more..

Posted in: Tested Software - Comments(6) February 2008

Adding those social bookmarking buttons at the end of your post

Posted by Daniel - 1,763 Views

social bookmarking buttonsIt is a good option to add the social bookmarking buttons at the end of your post right? The easiest way to do it is by using one of the available plugin called Add Me Dichev, it is a bundle of social bookmarker buttons packed as a WordPress plugin by Alexander Dichev. It will insert some even many social bookmarking buttons at the of end your post. All you need to do is install it to have it setup. That simple BUT unfortunately it does not happen here on my blog.

Somehow the installation of Add Me Dichev is crashing the ContuttoPDF - a php warning message - header already sent (something like that) and it will stop the ContuttoPDF plugin to work - too bad since I like both plugins, so I decide to disable the Add Me Dichev plugin but keep trying to have the feature of it by adding it into the page outside the plugin system or manually as a pure php function.

read more..

Posted in: Programming - Comments(2) February 2008

Wordpress, Combining ContuttoPDF with Code Snippet Plugin to get your code sample printed on the PDF

Posted by Daniel - 750 Views

Customizing ContuttoPDFI also use Code Snippet plugin. It’s a plugin to provide syntax highlight for programming code within the post. I want the formatted code produced by the Code Snippet is also printed in the PDF output with the same appearance as what Code Snippet does on the web page.

But unfortunately it won’t happen automatically, the ContuttoPDF does not recognize the Code Snippet formatting request tag when producing the PDF file, so you need to modify the code to get the intended result. Here is the list of steps you can follow to get the Code Snippet format printed on the PDF file:

read more..

Posted in: Programming - Comments(0) January 2008

Customizing the PDF file created with ContuttoPDF Wordpress Plugin

Posted by Daniel - 1,741 Views

Customizing ContuttoPDFAs I said before on the previous post, ContuttoPDF is a great plugin for WordPress to convert your post into PDF file. It’s a powerful one and the PDF output can be easily customized by CSS styling.

The easiest way to start tweaking the PDF layout will be to modify the ContuttoPDF default theme. The theme files are located at /wp-content/pdf-themes/default/.

To get a simple design you will only need to modify the style-print.css file. For example, the layout of the PDF file for this blog can be achieved by modifying these CSS elements only:

read more..

Posted in: Programming - Comments(3) January 2008

P 5 OF 11« First...«34567»...Last »



Get my Full Feed Here or you can subscribe to one of my category based feeds below:
myPic

Programming Tips

Categories

Neighbours and Friends

Comments - Thanks Guys :)

  • Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
  • Marlena Albu: Super Blog, Dude! I am constantly on the watch for new and interesting sites and postings about audio equipment… which is what...
  • tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.
  • Sean: This is a great piece of code and thanks for adding the updates. Sean’s last blog post: Not All Text Message Marketing Is Created...
  • rodhy: Thank for your code, it very usefull for me. best regard.