Playing with OpenXML: Let’s Convert docx to Simple html5

Date: 25 Jan 2010 Comments: 1

I decided to play little with the application from the Introduction to Open XML SDK 2.0 Post and I decided to read text in more details, ex. to iterate through all document paragraphs and for each paragraph to iterate through each of its Runs (Run is a region of text with a common set of [...]

Optimize Title Tags in WordPress Posts

Date: 24 Jan 2010 Comments:0

While I was searching something in google I saw in the results link to my site: It’s awful, there’s Blog Title, Blog Archive and part of the title. It doesn’t give any information to the user. So, he/she will never click on my blog link. So, I decided to optimize my WordPress Blog’s title tag. [...]

How to Install Microsoft IIS Server on Windows 7?

Date: 23 Jan 2010 Comments:0

After I upgraded to Windows 7 I wanted to test my asp.net applications under Windows 7 IIS. By default, after install Windows 7 IIS is not installed, but it can be installed very easy: 1. Open ‘Control Panel’ > ‘Programs and Features’ 2. In the left panel, click on ‘Turn Windows features on or off’ [...]

HTML5 Video Tag Support

Date: 22 Jan 2010 Comments:0

In my opinion, one of the most impressive new tags in html5 is the video tag, that allows you to include video in your web page as easy as including images, ex: <video src=”your-movie.ogg” controls=”controls”> your browser does not support the video tag </video> That was the good news, the bad news is that the [...]

How to Integrate PayPal Donate Button into ASP.NET Page

Date: 21 Jan 2010 Comments: 6 so far

I’ve recently decided to add PayPal Donate Button in the current site. The generated code for the donate button was: <form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”> <input type=”hidden” name=”cmd” value=”_s-xclick” /> <input type=”hidden” name=”hosted_button_id” value=”11271506″ /> <input type=”image” src=”https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif” border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!” /> <img alt=”” border=”0″ src=”https://www.paypal.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″ /> [...]

Where to Search for Similar Images

Date: 20 Jan 2010 Comments:0

Recently, I had to find images for my client’s website. I found a dozen good images and I send them to my client. Unfortunately, after a week my client called me and told me he wants to know the images’ authors. I had found images and download them without saving information about their authors. I [...]

Things You Probably Didn’t Know About PHP – Part 2

Date: 19 Jan 2010 Comments: 11 so far

Here a new post about cool things in PHP that I found in my spare time. Here’s the list: 1. Use === and !== when you want to compare only variables with identical format, ex: $a = 1; $b = ’1′; $c = 1; $a == $b // true $a === $b // false $a [...]

What’s new in HTML5?

Date: 18 Jan 2010 Comments: 1

Here’s a brief article about what’s new in HTML 5: 1. New Multimedia Tags Nowadays, it’s hard to find website without some multimedia on them, that’s why it’s expected the multimedia tags to become a standard. Multimedia tags that are supported by HTML5 are video, audio and embed. The embed tag has been used by [...]

Do not use google_adtest in your ads

Date: 17 Jan 2010 Comments: 1

Very often I edit and test my website files locally. But when I open locally page with ads, it generates impressions. That’s not allowed by the Google Adsense TOS. You may search on the web about how to test ads without generating impressions and you’ll find that adding google_adtest=”on” in your ads will let you [...]

Server Side Comments in ASP.NET

Date: 16 Jan 2010 Comments: 3 so far

Sometimes when I develop my website there’s some code in the aspx pages that I want to comment for test purpose. Other situation is when I find some bug, ex. adding comments doesn’t work, I’d comment the ‘Add New Comment Control’ while I’m fixing the bug and then it will be uncomment again. In ASP.NET [...]