Archives for: December 2009
12/31/09
Making your blog display more mobile friendly
After adding the twitterlution plugin to my blog, I thought it would be a good idea to make the blog a little more mobile friendly. So after doing some research, I came across Mike Industries' post about making your site mobile friendly and Lightweight Device-Detection in PHP post.
After some creative combining, I have updated this blog to display in a different format if you access the blog from a mobile device. I know that the site is much more lightweight now, but the format needs tweaked to be more usable. That being said, here is what I did.
12/22/09
Adding URL shortner to B2evo twitterlution plugin
I finally got around to adding the twitterlution plugin from Lee Turner and it works great. One thing I noticed was the long URLs from my blog being sent to twitter. Other than that, I am extremely happy with the plugin.
I wondered how hard it would be to add a URL shortener (bit.ly in this case) to the plugin. It turned out to be fairly straight forward.
First I went and got a userid and apikey to bit.ly
Then I searched for an example of making a call to bit.ly from php and I found this example by James Cridland
Then I added the Services_JSON module to my web server
Scripts
This is somewhere I can post interesting snippets as I come across them. Hopefully some folks out there will find this helpful.
Search
Follow Me:
Categories
- All
- Web Technologies (2)
- PHP (1)
- Windows Scripting (37)
- Batch Scripts (13)
- Wsh Scripts (23)
Archives
- December 2009 (2)
- March 2009 (2)
- February 2009 (3)
- January 2009 (2)
- December 2008 (4)
- November 2008 (1)
- October 2008 (1)
- February 2008 (1)
- December 2007 (3)
- July 2007 (1)
- April 2007 (1)
- February 2007 (2)
- More...
Misc
Who's Online?
- Guest Users: 8




