Desinerd : Dipankar's Blog

Going from WordPress multisite to regular wordpress

Published: (Updated: ) in Uncategorized, , , , by . Leave a Comment on Going from WordPress multisite to regular wordpress.

We had a wordpress multi-site installation that was working just fine! However custom domain and SSL pose a clear problem, along with any specific changes one might have to make to the installation. NO CODE! NO SQL! So I decided to move back to regular wordpress. Now we are using the popular exponent theme, the […]

GD Library Error: Imagecreatetruecolor Does Not Exist

Published: in Technical, , , , , , by . 1 Comment on GD Library Error: Imagecreatetruecolor Does Not Exist.

Well the simplest way of solving this is to run sudo apt-get install php5-gd That will install the necessary libraries that you need to keep continuing. If you are in windows then you need to go ┬áto your php.ini and uncomment the following lines ;extension=php_gd.dll ;extension=php_gd2.dll [just remove the ; to uncomment them] Hope that […]

Listing all your blogposts

Published: in Technical, , , , , , , by . Leave a Comment on Listing all your blogposts.

So here is a quick snapshot at how to get all your wordpress blogposts using python [or wordpresslib to be specific] — #!/usr/bin/env python import wordpresslib import tinyurl wordpress = raw_input(‘Wordpress URL:’) user = raw_input(‘Username:’) password = raw_input(‘Password:’) # prepare client object wp = wordpresslib.WordPressClient(wordpress, user, password) # select blog id wp.selectBlog(0) posts = wp.getRecentPosts(100) […]

Pimp your blog up in an hour

Published: in Creations, , , , , , , , , , , , by . Leave a Comment on Pimp your blog up in an hour.

Today, after a long time I decided that my blog needed a revamp. Hope you guys like what I have tried with it. The goals at the start of this exercise were as follows: Neat looking template reflecting my minimalist style Good quality SEO, and clean permanent URLs (same as before) Move from the last […]

Kwippy feed for wordpress

Published: in Technical, , , , , , , , , by . Leave a Comment on Kwippy feed for wordpress.

If you notice i now have a RSS feed for kwippy on the sidebar. That is done by using RSS widget functionality within the wordpress theme section. The image below outline the complete setup which i use for my blog. Its really simple to set this up :).Enjoy.

First wordpress plugin : Kwippy poster 1.0

Published: in Technical, , , , , , , by . 4 Comments on First wordpress plugin : Kwippy poster 1.0.

Just created my first wordpress plugin, from concept to implementation in 3 hours :D. This plugin basically posts an update on kwippy when you publish a new blog post. This can be a good tutorial for someone trying to build their own plugins actually. Enjoy. Updated: Official WordPress plugin page : http://snipper.in/86

PHP + nice URLS + nginx

Published: in Technical, , , , , , , , by . Leave a Comment on PHP + nice URLS + nginx.

Easiest way to get php with good looking urls running on your site . Works for drupal, wordpress and joomla. server { listen 80; server_name www.domain.com; index index.html index.htm index.php; root /path/to/domain/files; location / { error_page 404 = //e/index.php?q=$uri; } location ~ .php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /path/to/domain/files$fastcgi_script_name; } access_log […]