Write a Twitter Bot in 5 Minutes – Thnxz to @labnol – Amit Agarwal

Meet @DearAssistant, a Twitter bot that is like a mini version of Siri. You can tweet your questions in plan English and the bot will reply with an answer.

The Twitter bot is internally using Wolfram Alpha so there’s a whole range of questions that it can answer. Here are some questions that people have asked @DearAssistant so far:

  • How many calories are in Diet Coke? (link)
  • When was Mahatama Gandhi born? (link)
  • What is the distance between city A and city B (link)
  • Who directed the film M (link)
  • What is the price of Kindle Paperwhite (link)

Twitter Bot

You can also ask the bot for word meanings, weather conditions, language translation, to convert between time zones, date calculations (how many days until Christmas) and more.

Writing a Twitter Bot – The Basic Ingredients

Writing a Twitter bot is surprisingly simple and you can get one up and running in 5 minutes. It helps if you know little bit of coding (simple JavaScript) but that’s certainly not a requirement for writing a basic Twitter bot.

A bot is essentially a program that is always running in the background and whenever it encounters a command (tweets in this), it processes it (based on the text of the tweeet) and sends a reply to the tweeter in another tweet.

Earlier, you would need a web server to run the bot while the bot itself would be written in languages like PHP, Perl or Python. That’s complicated so we will use Google Scripts to write the Twitter bot and host it on our Google Drive.

How to Write a Twitter Bot – Step by Step
Full article? H e r e 🙂

SEO: URL estáticos y URL dinámicos | by Cristina Rojas


by Cristina Rojas


Inicialmente, el World Wide Web constaba en forma predominante de sitios Web estáticos. Cada URL dentro de un sitio Web apuntaba a un archivo físico actual y situado en un sistema de archivo del servidor Web. Un spider (rastreador de sitios web) de buscadores tenía poco de que preocuparse, buscaría por el sitio web e indexaría cada URL de un modo relativamente fácil. No existían problemas del tipo contenido duplicado ni trampas para el spider.

Actualmente, los sitios web dinámicos dominan el WWW (World Wide Web). Desafortunadamente, si observamos el URL desde el punto de búsqueda, a veces puede presentar problemas; especialmente cuando se trata de spidering. Un ejemplo de esto es que muchos sitios Web dinámicos emplean parámetros de cadena de búsqueda que generen diferentes URL y que alojen contenido muy similar o idéntico. Los buscadores lo interpretan como contenido duplicado, y penalizan las páginas. A continuación explicare: los URL estáticos y dinámicos.

URL estáticos …  Seguir leyendo “SEO: URL estáticos y URL dinámicos | by Cristina Rojas”

PHP in the Enterprise [Infographic]


PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data. This infographic is an attempt to readdress the balance and show how PHP is used in the enterprise.


5 excellent Open Source Content Management Systems start website.

Inbound Blog

by Every day, more and more people are building their own websites and leading their own communities. They are built to take care of all the backend programming and database maintenance, allowing you to focus on creating the website that you want. These are 5 essential or day to day most widely used CMS you can prefer to create your own website without any prior knowledge.

1. WordPress
It’s impossible to talk about CMS’s without mentioning WordPress. WordPress started off as a simple blog publishing product back in 2003, it has since evolved into something much more that they are used by each and everyone who is familiar with it. Since it has user friendly UI a layman can understand in one go. That the power of WordPress. More over WordPress is powered by PHP and MySQL.

2. Joomla
This is the next best Open Source Content Management System which is widely used by designers. They have lots of option in terms of designing. Your website can be as lightweight or as heavyweight as you need it to be. There are hundreds of extensions available that will help you mold your website into doing exactly what you wish. Joomla is powered by PHP and MySQL.

3. Drupal Seguir leyendo “5 excellent Open Source Content Management Systems start website.”

How to design the best website user experience


Greetings & Salutations

My name is Wilson Revehl, Co-founder, CTO, and Vice-President of Go Media. When William Beachy and I founded the firm in 2003, merging our respective freelance businesses, I would not have imagined we’d become a publisher. And lord knows I haven’t done much to advance that cause. Jeff Finley, our first principle partner, deserves most of the credit for advancing our readership. The last time I wrote a Zine article was in 2007, about Flash, which has since become irrelevant.

I built my first website in 1996 on Yahoo’s GeoCities wysiwyg. I’ve been immersed in the world of syntaxcurly braces and for loops ever since. Today, I can read and write in all the major web programming languages, but still prefer PHP & Javascript. My skill-sets are perpetually in high demand. That’s great, except maybe I’ve been using it as an excuse to put article writing on the back burner. I’m hoping to change all of that. I want to contribute more knowledge to the design community moving forward.

Usability fundamentals of modern website design

Months after we launched a brand-new site design for our client, they returned. They wanted a new homepage. They were a market-savvy bunch who had tracked visitor click-through and retention. The idea was to alter the layout to rev up visitor engagement. I wholeheartedly endorsed the endeavor.

An organization who has the means and is willing to test differing user experiences will find that it offers constructive insight into their marketplace. However, most small businesses don’t have the budget to refresh their website design or layout whenever they want. That is why it’s crucial to design a thoughtful website user experience the first time.

Here, we’ll cover some usability basics for modern websites. The goal is to show you pragmatic dos & don’ts to ensure you’re taking advantage of best practices and conventions.

The Navigation System

No, we’re not talking about your GPS. But you might glean some perspective from the consumer products all around you. Long before the internet (or GPS) was mainstream, industrial designers had been honing and advancing user interfaces for manual operation. Whether it was the car stereo or the VCR, they recognized that comprehensive controls were pivotal in making their products viable. Things are starting to come full circle (who knew?!) with the advent of touchscreen and the desire to develop & design responsive websites for displays of various device types. The new norm will soon be conforming your site for display on car stereos! Until then, let’s focus on what you need to consider today to create a compelling website navigation system.

Use conventional placement

Why? Humans are creatures of habit. There is a reason you see top-of-the-screen navigation on the majority of websites. It is functional because people read from the top down. It is effective because it communicates a lot across a wide piece of real estate without hogging it up. Logically, you can’t go wrong with a menu at the screen’s top because people are looking for it up there by default.

No design works unless it embodies ideas that are held common by the people for whom the object is intended.

– Adrian Forty

Top Navigation… Seguir leyendo “How to design the best website user experience”

Giveaway: 5 SliderWall jQuery Image Slider Licenses

Via Scoop.ithuman being in – perfección

5 winners to win a single-domain commercial license to SliderWall jQuery slider. This giveaway is between March 13-March 20, 2012.

Giveaway Details
This giveaway ends on Tuesday, March 20, 2012, after which the comments section on this post will be closed and you will no longer be able to leave a comment. Please leave a valid email address when filling out the comment form so that we can contact you if you’ve won. Please only comment once. The winners will be randomly selected using a similar method as previous Six Revisions giveaways. Seguir leyendo “Giveaway: 5 SliderWall jQuery Image Slider Licenses”

Desarrollador PHP (que resida en ARGENTINA) con ganas de trabajar, que la rompa!

Busco Desarrollador Semi-senior con experiencia en PHP (al menos de 6 años), MySQLApacheSQL ServerAJAX,HTML y Javascript para trabajar freelance. Los postulantes serán evaluados personalmente.

Enviame tu CV a:  gabrielcatalano@gmail.com

Busco Desarrollador PHP (que resida en ARGENTINA)

Busco Desarrollador Semi-senior con experiencia en PHP (al menos de 6 años), MySQL, Apache, SQL Server, AJAX, HTML y Javascript para trabajar freelance. Los postulantes serán evaluados personalmente. Enviame tu CV a gabrielcatalano@gmail.com

How to Get Your Twitter Follower Number in Plain Text

by Michael Martin

Twitter Follower Count in Plain Text

It’s easy to use a service like TwitterCounter.com to get a little chicklet button of your Twitter follower number. If you have that number in plain text though, then you can style and integrate it into your site much more attractively. In this post, I’ll show you how to get it.

You can see the end result in the top right of Tiny Buddha, a site I recently coded using Chameleon (Though this will work on any WordPress theme!)

And you can download the completed code here.

Quick Overview

To do this, we will create 3 functions, to:

  1. Get the follower count from Twitter, and save it to your database.
  2. Retrieve that count whenever you need it.
  3. Update the count automatically every hour.

We add in the extra steps of saving to your database and updating because on a busy site, Twitter will cut you off for pestering their servers too much. Seguir leyendo “How to Get Your Twitter Follower Number in Plain Text”

10 Basic Tips for Improving WordPress Themes

by Julius Kuhn-Regnier


10 Tips for Improving WordPress ThemesA lot of people use WordPress as their blogging platform. After installing WordPress, newly christened WordPress users will usually try to find and download WordPress themes that they can use so that their site looks different from the default theme. Whether a WordPress theme is free or premium, there are plenty of ways to improve them. The following WordPress theme tips cover basic customization, styling and optimization.


1. Reduce the Size of Theme Images

Images are an important part of every WordPress theme, yet WordPress theme developers sometimes forget about optimizing them. Images in a WordPress theme include CSS background images, template logos, default stock images, icons, and so on.

Optimizing images can save you in bandwidth consumption and can improve page response times for your blog readers.

Photoshop, for example, offers a Save for Web feature that optimizes images for the web. What I usually do is lower the quality settings of the image until I start to see changes in color or quality.

Furthermore, you can use a lossless image optimization tool like Smush.it that will squeeze out excess file size without loss in image quality. You can find more image optimization tools here.

Reduce the Size of Theme ImagesYahoo! Smush.it is a lossless compression tool.

Learn all about web image optimization via this guide to saving images for the web. Seguir leyendo “10 Basic Tips for Improving WordPress Themes”

Important Features All Blogs Should Really Have

by Jake Rocheleau |http://sixrevisions.com/user-interface/important-features-all-blogs-should-really-have/


Important Features All Blogs Should Really Have

Blogging is more commonplace now than ever before. It’s estimated that there are at least 147 million blogs[1] covering topics from technology to Japanese theme restaurants.

But regardless of the vastness of the blogosphere and the diversity of blog topics, there are a handful of site features that you’ll likely find in most of them. In addition, readers have come to expect these site features to be available to them when they visit their favorite blogs.

This article covers the standard features that all blogs should have. These features are meant to improve the user experience by enhancing community engagement, content sharing, findability of posts, and more.

Blog Post Archive

Typically, when site visitors first land on a blog’s homepage, they’re greeted with the latest blog posts sorted from newest on top to oldest at the bottom. This is what blog readers expect to see, but that’s not to say it’s all they want to see.

Many visitors will enjoy going through your older posts once they decide that they like what you have to say. Having a post archive — a web page or section in your blog that lists previous blog posts, customarily sorted in a logical fashion such as by date or by category — is an excellent way to draw in more page views and improves the ability of readers to discover content on your site.

A post archive can serve as a way to increase the conversion of first-time visitors to steadfast readers because it shows them what to expect if they choose to follow your blog. For existing readers, a post archive gives quick access to posts they want to revisit.

It’s not difficult to construct an archive of past blog posts either; most blogging platforms and good content management systems have the capability to display and list your posts. Take for example, WordPress. WordPress has core functions, a core template, and API hooks specifically for dealing with archives (e.g., wp_get_archives and archives.php).

Viget InspireAt Viget Inspire, a company blog, posts are listed and categorized per month in their archive page. Seguir leyendo “Important Features All Blogs Should Really Have”

http://readwriteweb.com | Te lo compilo 8 OCT

Developer Discussion: What Do You Use For AJAX in PHP?

jquery_ajax_1010.jpgA quick question with a potentially longer discussion. What do you use for AJAX in PHP, and why?

XAJAX is a simple way to do it, and this is the approach I’ve been using for some time. In very simple terms, you write PHP methods that can be called from JavaScript by prefixing the method name with xajax_.

IT Workers Still Looking to Jump Ship, Even In Rough Job Market

A Computerworld survey confirms what a Harris Interactive survey found in July: about 36% of IT workers are looking for a new job. Harris found 37%. Approximately 25% of IT workers polled by Computerworld are making less than they were two years ago. However, unemployment figures released today are grim. Will workers actually be able to find new jobs to jump to?

Yahoo let the cat out of the bag earlier this week, when one of its executives told Reuters that it would begin offering video chat via Yahoo Messenger to both the iPhone and Android smartphones.

The move would bring Yahoo, which already has 81 million Yahoo Messenger users, again to the forefront of chat services and posing a serious challenge to Apple’s own FaceTime.

Real-Time News Curation – The Complete Guide Part 5: The Curator Attributes And Skills

What skills do I need to have if I want to be an effective real-time news curator? Can I just pick the best headlines and links on my topic of interest or do I need to do know / do more? What makes a great news curator stand out from those who do automatic aggregation or from bloggers who create simple news stories lists?

Photo credit: thesuperph

In the previous parts of this Guide to Real-Time News Curation I have looked at what are the key problems giving way to the emergence of real-time news curation, at the differences between automatic aggregation and filtering and human-powered manual curation. I have also spent some time illustrating some real-world examples of both automated aggregation and human curated news content. Seguir leyendo “Real-Time News Curation – The Complete Guide Part 5: The Curator Attributes And Skills”

WordPress Plugins

WordPress Plugins 101

WordPress Plugins 101

A plugin is a small program, or combination of programs, that sits on top of your WordPress installation and increases the functionality of your website in some way. In other words – plugins allow your blog to have more features and to do more than it could when you first installed it. Most plugins are written in the PHP scripting language and add an additional feature or function to your website.

Plugins integrate seamlessly with WordPress so there’s no messing with your WordPress code. That’s another great thing about plugins. They don’t actually affect your original WordPress install. They reside separately and just interact with WordPress. Visit the WordPress Plugin Directory

Why did plugins come about? Essentially, the development of plugins came about by programmers who wanted to increase the function of WordPress without having to alter the code within WordPress itself. Basically, programmers said “I wish WordPress could do this extra thing” – and then created plugins to make it happen. Of course other developers got excited by this and it spread. More and more developers jumped on board and created these small add-ons to the WordPress code and now WordPress can do more than the original creators ever dreamed it could simply due to these little plugins.

The majority of plugins are free and therefore it is important to understand that they do not come with technical support. When choosing a plugin, it is wise to evaluate the following:

  • How long it has been since that plugin was updated
  • Whether the plug-in homepage still exists
  • If people seeking support on the plugin have received answers to their questions
  • The overall tone of the discussions on the plugin download page Seguir leyendo “WordPress Plugins”