Monthly Archive for February, 2008

BizRoof Calendar Lite

With BizRoof Calendar Lite, you can see all top business stories in real-time and share yours with the world! Wouldn’t it be great to be able to keep track of all the events in the financial world and let your decision of investment safer, quicker and more accurate!

Click Here to see it live!

Snapshot of World Business News

World Business News Center allows you to view the latest top breaking news, business, financial and investing articles from around the globe, including: New York Times, Dig / Business & Finance, BBC News | Business, BusinessWeek - Top News, Reuters - Business News and CNN.com - Business. Also, you can drag and drop the news boxes to change the layout.

Click Here to have fun with it!

Convert Richtext into PDF Document

I am currently working on an online PDF document generator which allows you to enter rich text (MS word style) and then save as PDF format. Also - the beauty of PDF docs is that you can save the file onto your local machine or print it real time.

The rich text editor is a lite version of MS word, and it has most of the frequently used features according to my knowledge. Please give me a shout if you think some other features would be good to have. :-)

Live Demo

Display posts in your website (wordpress)

Yesterday, I installed wordpress on the server where my website hosted, and I decided to show several of my latest posts on my home page in order to let my visitors know my roadmap in real-time. Also - since I am using smarty templates to to facilitate the separation of application code from presentation, I don’t really want output (echo) the post data directly onto the page. After playing with the loop process for a while, I finally got this sorted out. Here is how I did it:

<Step One> Include the wp-blog-header.php file.
require('blog/wp-blog-header.php');

<Step Two> Collect all post data as required.
query_posts('showposts=4'); //Show latest 4 posts
while (have_posts()) //checks if any posts collected
{
static $blog = 0;
the_post(); //prepare for the iteration of the loop
$title[$blog] = the_title(”,”,0); //the_title function has 3 parameters, including ’start’, ‘end’ and ‘output or not’
$url[$blog] = get_permalink(); //post link
$date[$blog] = the_date(”M d, Y”, ”, ”, 0); //the_date function has 4 parameters, including ‘date format’, ’start’, ‘end’, and ‘output or not’
$blog++;
}
$numberOfPosts = $blog; //$numberOfPosts will be assigned to the loop number in the smarty template file.

Note - I created 3 arrays to store the relevant post information from the blog, including $title, $url, and $date, and then I use smarty template to display all them onto my home page (Demo Page)

Have Fun! :)

Welcome to BizRoof

Welcome to BizRoof Blog who was literally born few seconds ago.

I’ve been using Google’s blogspot for quite a while, but finally decide to immigrate to the wordpress kingdom. Why? With thousands of developers and designers working around the clock to improve it, each of its update gets better and better. At this point, I find it much more than a blogging application. Now it becomes a platform on which a huge community of professionals are making all kinds of plug-ins and widgets. Please allow me to take this opportunity to express my thanks to everyone who contributes to this beautiful software.