JavaScript, webdev

What Car Should I Buy? (Leveraging Hunch API and High Gear Media API)

Last weekend, when the kids were sleeping, I had a bit of time to try out Hunch API. I must say, it’s very cool/powerful API with good documentation. It goes without saying, that I wanted to check what will be a good use-case to our High Gear Media API. After checking around general stuff, I came up with this simple mobile app (ya – it’s work great on iPhone, Android, BB and even Palm). The application is asking you to type your twitter account and base on this account it gives you personalized, recommendations for cars that fit you best. It combine the power of Hunch with the vast automotive content of High Gear Media.

For best results, you should sign in to hunch with your twitter account and answer some questions. Then, once hunch built your taste graph this application will show your very ‘accurate’ results.

If you have an Adriod phone – you can install this application from this link: http://www.appsgeyser.com/getwidget/Cars+For+Me

You might want to try some other famous twitter accounts and see what is their best cars.

Drive safely and stay thirsty.

Standard
Business, webdev

The All New TheCarConnection (Looks Great On iPad2)

We’ve  launched TheCarConnection.com today (after 3 weeks of beta testing for selective users). It was after few months of thinking, listening, designing and building a completely new set of make-model pages that we believe bring you the best automotive experience you can find on the web.We made sure it will be optimize to tablets (e.g. iPad or if you like the iPad2) and all the leading browsers.

Unlike all the other ‘car sites’ – we are bring you all the information from around the web into one place. This way, it’s not only our editors opinion that you get (and might like or not) – but also a wide range of other leading sources/editors and opinions. It is a great tool to get all the best information on each car in one (very nice) place. Your savvy editors not only driving the cars but doing the extra mile and doing the ‘leg work’ for you by bring you the ‘bottom line’ review with all the thoughts about this specific car.

For example, if you are into the new F-150, you can get our ‘Ford F150 2011 executive summary review‘ or read more deeply on all the different aspects of this new model. Want to check out what Edmund/Kbb/Cars are thinking? no worries – just go to our ‘web buzz’ and get all the reviews (more then 300), Q&A (more then 2000!) and tweets.

Here are some examples of the new car reviews:

If you want to know what is the a good price or even great price for the new Volt. You have it in our very cool graphs.

It’s a great tool to use and come prepare for your visit in the dealership 😉

For all the ones that want to buy a used car – we have more then 4,500,000 used car listings, so you could find something in the right area,color,look and feel.

Last but not least, if you got a question or you want to share your knowledge. Check out the new ‘stack-overflow’ for cars. As always, comments are most welcome! Feel free to use our official TCC twitter.

Standard
Business, webdev

Google is changing its algorithem for better?

Today we saw that google changed its algo to ‘remove’ content farms like demand media and others. After reading their post I must say that I’m 100% with them on: “…We can’t make a major improvement without affecting rankings for many sites. It has to be that some sites will go up and some will go down. Google depends on the high-quality content created by wonderful websites around the world, and we do have a responsibility to encourage a healthy web ecosystem. Therefore, it is important for high-quality sites to be rewarded, and that’s exactly what this change does.”

Is great as long as it won’t kill start ups (like ours!) that trying to bring the web a new quality content. I’m sure that the last change did great to brands and big companies but as we know, in the web, you want to encourage the ‘David’ and not (only) the ‘Goliath’.

We’ll see…

Standard
JavaScript, webdev

Create Your Own Chrome Extension To Any Web Page

It’s now very clear that Chrome Browser got huge adoption (I guess the current numbers of active users is around 100M). In case you didn’t know, Google got now an App store to chrome. They basically, take what Apple showed the world in terms of building an Eco system (apps that you, as developer, can monetize on their platform) and trying to do the same with chrome as platform. It’s very smart idea and soon when we will see the chrome OS on tablets – this will be the way to manage your apps. The main APIs that you might want to use are: Browser actions and Page actions.

Browser Actions – you should use browser actions to put icons in the main Google Chrome toolbar. It’s for actions you wish to add to the browser (not specific page). Here are the main tips in order to use it right:

  • Do use browser actions for features that make sense on most pages.
  • Do use big, colorful icons that make the most of the 19×19-pixel space. Browser action icons should seem a little bigger and heavier than page action icons.
  • Do use alpha transparency to add soft edges to your icon. Because many people use themes, your icon should look nice on a variety of background colors.
  • Don’t use browser actions for features that make sense for only a few pages. Use page actions instead.

Page Actions – Page actions represent actions that can be taken on the current page, but that aren’t applicable to all pages. For example: translate content on the page, create something from photos in the page etc’. Here are some samples for both type of extensions.

Now, if you are on a site that you think will make sense to put in an extension (due to it’s nice features)… it’s very easy to do it.
All you need are two main files:

  1. manifest.json – this file is the description of the extension. Some meta info…
  2. Create a simple deals.html page (in our case it’s all about good deals for cars) that will include the web page you wish to have as an iframe.

Here are the 2 files that show you how to take HGM mobile app and put it in chrome:

manifest.json

{
"name": "Great Deals on New Cars",
"version": "0.2",
"description": "Great the best prices on your new car",
"icons": { "128": "app_icon.png" },
"browser_action": {
"default_title": "Great Deals on New Cars",
"default_icon": "deals.png",
"popup": "deals.html"
},
"permissions": [   "http://www.thecarconnection.com/*" ]
}

deals.html


<!DOCTYPE html>
<html>
<head>
<title>Deals</title>
<meta name="author" content="Ido Green">
</head>
<body>
<iframe src="http://beta.thecarconnection.com/conduit/deals" width="510px" height="700px" border="0px" scrolling="no">
</body>
</html>

After you saved these 2 files in one directory, just go to Chrome and click on ‘Windows’ -> ‘Extensions’. In that page you click on ‘Load unpack extension…’ and point to your directory.
Done.
You should get now a new button and if you click on it you should get something like this:

another easy option is to go and download this extension.

Happy Friday/coding.

Standard
Business, life, webdev

The Three Keys to Facebook’s Success (?)

keys to successI must tell you it sounds logic now…

But like anything else in life – you can find explanations in retrospective easily. Why MySpace is ‘gone’ and facebook is the hottest place?

Lots of reasons that lots of ‘smart’ people will give you long explanations. I guess there is amount of randomness that drove things but people (specially, when they are lucky) doesn’t want to attribute it to the random nature of things. After all, there are so brilliant that it must be something they did. On the other hand, if you fail, then it’s randomness/luck or anything else that take the blame from them.
After thing long intro, here you go for 3min on the three things that were ‘keys’ to Facebook success:

As you can tell, I don’t buy it.

Standard
Design, webdev

A List Of Great Free (Developers) Books

Let me start with MindView Inc – Bruce wrote, may be, the best books you can find on Java and C++ and they are free on the web.

Meta-List

Language Agnostic:

Android:

Bash

C/C++

Django

Git

HTML

Java

JavaScript

Linux

Maven

Mercurial

NoSQL

Objective-C

Perl

PHP

PostgreSQL

Python

Ruby

Scala

Subversion

SQL (Implementation agnostic)

Standard
JavaScript, webdev

New Features In High Gear Media API

Here is some improvements we have put in our API to make it (even) better to developers.
After How To Work With High Gear Media RSS Feed In (less then) 4 Minutes
and How To Deal With High Gear Media API Using XPath

Here are some new parameters that will make your (=the developer) life happier and healthier.
We have a new ways to output the data or in other words more control on the output format.

Format

the feed format, can be JSON or XML.

Examples:
1. http://feeds.highgearmedia.com/?format=xml is the same as http://feeds.highgearmedia.com , because xml is the default value.
2. http://feeds.highgearmedia.com/?format=json <– This is the better way to work with our feeds, specially, if you are hacking some new cool web2.0 mash up.

Other API parameters

Sites

You have full control on the sites that you wish to fetch information from. Here is a list of all the sites.

Examples
1. http://feeds.highgearmedia.com <– All HighGearMedia content
2. http://feeds.highgearmedia.com/?sites=thecarconnection <– get feeds from thecarconnection.com
2. http://feeds.highgearmedia.com/?sites=familycarguide,motorauthority

tags

Comma separated list of tag names to filter the content by.

Examples
http://feeds.highgearmedia.com/?tags=los-angeles-auto-show
http://feeds.highgearmedia.com/?tags=good

image-size

Size code for images in the feed (t/s/m/l/h)

  • t – thumbnail (default). Unless you are building some new iPad app, this is the best way to have it.
  • s – small
  • m – medium – on iPad or Chrome you might want to use this size or even ‘large’.
  • l – large
  • h – huge

Examples
1. http://feeds.highgearmedia.com/?image-size=t is the same as http://feeds.highgearmedia.com, because ‘t’ is the default value
2. http://feeds.highgearmedia.com/?image-size=m

Car

name of the car :_(optional)_(optional)

Examples
1. http://feeds.highgearmedia.com/?car=Honda_Civic_2003 (__)
2. http://feeds.highgearmedia.com/?car=Honda_Civic (_)
3. http://feeds.highgearmedia.com/?car=Honda ()

How NOT to do it:
http://feeds.highgearmedia.com/?car=Honda_2003 _

Type

type of content items, can be reviews/blog/all (default is ‘all’).

Examples
1. http://feeds.highgearmedia.com/?type=reviews
2. http://feeds.highgearmedia.com/?type=blog
3. http://feeds.highgearmedia.com/?type=all is the same as http://feeds.highgearmedia.com, because ‘all’ is the default value.

Please let me know if you wish to see more/other options.

Happy new 2011

Happy new year!!

Standard
JavaScript, webdev

Massive CSS/jQuery Mistakes

I’ve found these two good and short videos (last week – by mistake) and wanted to share them with other friends/developers. The theme for both of them is ‘common mistakes’ most of us are doing. Both presenters are the top of the top in the area of CSS (Nicole Sullivan) and  jQuery (The one: @jdsharp ). Good stuff…

The Top 5 Mistakes of Massive CSS

jQuery mistakes you’re probably making in your project

Core Concepts Starts at 5:20 Actual “5 Mistakes” content starts at 12:00.

Last but not least, here is a little (very) useful bookmarklet that let you have jQuery fun inside firebug.

Standard
JavaScript, webdev

25 Good (to Great) jQuery plugin to keep in mind

Here are few good (and some great) jQuery plug-ins that can boost your next proejct.

Cookie

Source:  http://plugins.jquery.com/project/cookie

Set and get cookies with jQuery.

Slideshows

There are lots of them, but this one is good in terms of the set of features.

http://jquery.malsup.com/cycle/ Slideshow plugin that supports many different types of transition effects.

Another option (simpler) is jCarousel:

http://sorgalla.com/jcarousel/ Control a list of items in horizontal or vertical order.

Date Range Picker

http://www.filamentgroup.com/lab/date_range_picker_using_jquery_ui_16_and_jquery_ui_css_framework/

Built on jQuery UI. You might want to use it only if the ‘default’ jQuery UI widget is not enough for you.

Flip

Simple & cool animation: http://lab.smashup.it/flip/

Flip your elements in four directions.

Flot: Charting

Source: http://code.google.com/p/flot/

A pure Javascript plotting library for jQuery. It produces graphical plots of arbitrary datasets on-the-fly client-side.

Form

Source: http://jquery.malsup.com/form/

Allows you to easily and unobtrusively upgrade HTML forms to use AJAX.

Hotkeys: Keyboard Bindings

http://code.google.com/p/js-hotkeys/ if you want your web app to be ‘reachable’ using keyboard – this is your plugin: Add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.

Masked Input

Selection: http://digitalbush.com/projects/masked-input-plugin/

Allows a user to more easily enter fixed width input where you would like them to enter the data in a certain format (dates,phone numbers, etc).

Jcrop

Source: http://deepliquid.com/content/Jcrop.html

A quick and easy way to add image cropping functionality to your web application

jGrowl: Messaging System

Source: http://stanlemon.net/projects/jgrowl.html

Unobtrusive messages within the browser, similar to the way that OS X’s Growl Framework works

jqGrid

Source: http://www.trirand.com/jqgridwiki/doku.php

Represent and manipulate tabular data on the web.

JSON: Utility

Source: http://code.google.com/p/jquery-json/

Serializes a javascript object, number, string, or array into JSON (and a few other utilities).

JS Tree

Source: http://www.jstree.com/

jsTree is a javascript based, cross browser tree component.

UI Layout

Source: http://layout.jquery-dev.net/

Create any UI look you want – from simple headers or sidebars, to a complex application with toolbars, menus, help-panels, status bars, sub-forms, etc.

MarkItUp

Source: http://markitup.jaysalvat.com/home/

Allows you to turn any textarea into a markup editor.

Meta Data

Source: http://plugins.jquery.com/project/metadata

Extract metadata from classes, random attributes, child elements and HTML5 data-* attributes.

Popeye: Inline Gallery

Source: http://dev.herr-schuessler.de/jquery/popeye/

An advanced image gallery used to save space when displaying a collection of images and offer your users a nice and elegant way to show a big version of your images without leaving the page flow.

Quicksand: Animated Filtering

Source: http://razorjack.net/quicksand/

Reorder and filter items with a nice shuffling animation.

scrollTo

Source: http://flesler.blogspot.com/2007/10/jqueryscrollto.html

A small, customizable plugin for scrolling elements, or the window itself.

Spell Check

Source: http://github.com/brandonaaron/jquery-spellcheck

Adds spellcheck support to inputs. It uses Google’s spell checking API and requires a server to handle the communication with the API. An example php implementation is provided.

Star Rating

Source: http://www.fyneworks.com/jquery/star-rating/

Creates a non-obstrusive star rating control based on a set of radio input boxes.

Table Sorter

Source: http://tablesorter.com/docs/

Turn standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes.

Uniform

Source: http://pixelmatrixdesign.com/uniform/

Uniform masks your standard form controls with custom themed controls.

Validate

Source: http://bassistance.de/jquery-plugins/jquery-plugin-validation/

Add client-side validation to your forms.

Standard
Business, webdev

Mobile Is (going to be) The Biggest Platform

What can we learn from the creators of Angry Birds? Rovio (the company that created this game) reports an average of 65 million minutes of game-play per day.

It’s hard to believe. Few good points to take out form this 5min video:

  • Simplicity win (again). Easy to jump in and hard to jump out.
  • Keep thinking on users (retention). Offer, free upgrades and keep your users happy.
  • Build for all the platforms: iPhone, Andriod, WebOS etc’.
Standard