Thursday, June 16, 2016

Quick Tip: Add Favicons Quickly and Easily to Your HTML

Favicons add that extra bit of polish to your website, helping to separate your site from the rest. These icons are increasingly more crucial as desktop clients, operating systems, and mobile devices let users pin useful sites for quick access. It's important to get these favicons right so that regardless of where your site is pinned, your users will always get the best looking icon.

Favicons generally aren't easy to manage. Because of the fragmentation of both mobile and desktop operating systems and browsers, catering to every device to ensure the best icon is used becomes a slow and tedious process. Sometimes you may have to manage 30+ resources for this task depending on how much support you want to provide.

However, thankfully there's the Real Favicon Generator web service. This website takes you through a step by step process to quickly and easily generate all the favicons and web resources you'll need.

Real Favicon Generator site

The Generation Process

Real Favicon Generator makes the whole process painless. You start by selecting your favicon and uploading it to the generator. When the page loads, you'll see different screens for the different device targets.

Several of these sections offer similar options, such as being able to supply a dedicated picture to target the device, adding margins around the icon and applying background colors. Below are the main screens you can adjust, one for iOS, one for Android and one for others (Windows / Safari) respectively.

Favicon for iOS Screen

Favicon for Android Screen

Favicon for Other Screen

Continue reading %Quick Tip: Add Favicons Quickly and Easily to Your HTML%


by Simon Codrington via SitePoint

Pauline Brood

Baked with love.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

Pastaria

A website dedicated to promoting a new line of pasta products from PIK Croatia


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

WebConstructors.org, Internet Tools

Hi, I am Zelimir and I am the owner of webconstructors.org. The website`s design is cartoon with GSAP animations, CMS is WordPress. Being that we are a small web design agency, we wanted to crete a new design to appear a bit less formal…


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

How to Monetize Your Website with Google AdSense

Google AdSense is one of the most popular methods for monetizing websites. In order to get the best results, it’s important to try different advertisement strategies. In this article, I will give you an introduction to AdSense and show you how to get the most out of this ad service.

[author_more]

These recommendations are based on my own experience with multiple websites.

About Google AdSense

The AdSense concept is based on the idea of showing advertisements which fit the content of your website as much as possible. For example, if your website is about shoes, you are likely to see shoe-related ads. The AdSense service examines your page content to find out which ads fit the interest of your readers best. The better your site and advertisements match, the better the results will be.

Ad Formats

AdSense offers multiple ad formats from which website publishers can choose. There is a large range of widely used ad formats, such as skyscrapers, leaderboards and rectangles. These banner formats feature both text ads and graphical ads. You can adjust the font and colors of text ads so they match your website design or to make them stand out more. Graphical ads can be static images, Flash animated banners or modern HTML5 animated banners.

Of course you can select mobile banners too. This banner type is designed for display on smaller screens of mobile devices, such as smartphones. If you have a responsive website and would like to make your banners responsive as well, you can choose responsive ads. AdSense will look at the available space within your website layout and automatically display the best banner size. Other than that, AdSense gives you the option to use link units. This banner type is based on text links and its font and colors can be adjusted as well.

[caption id="attachment_133351" align="aligncenter" width="300"]Example of a Google AdSense text banner (300x250) Example of a Google AdSense text banner (300x250)[/caption]

Applying for Google AdSense

In order to display Google AdSense banners on your website, you need to apply for the AdSense program first, which can be done through the AdSense website. The review process takes a couple of days. Google will evaluate your website to see whether it complies with the program policies and whether they will allow you as a new AdSense publisher. Please consult the Google AdSense website to learn more about the rules and the registration procedure.

Let’s Get Started

As soon as you are enrolled in the program, you can start publishing AdSense ads on your website(s). Using the AdSense administration panel, you can create a new ad. First, enter a name, for example your site name and the ad size (a good idea if you publish multiple sites so it’s easier to identify your ads). Then select the ad size, the ad type (text and/or graphical ads) and adjust the font and color scheme if applicable. For analytics purposes, you can create channels and assign ads to them.

You can also determine what you want AdSense to do in case no banners are available, for example showing a blank space, a solid color or a custom backup ad. For almost any website Google has a lot of ads available, so in most cases you won’t see these banner placeholders. After that step the HTML code you need to run ads on your website is displayed. Copy the code and paste it in the appropriate place within your website template.

Ad Statistics

Google AdSense offers extensive statistics on the usage of the advertisements on your website. You can see the number of ad views and ad clicks, for example. Depending on the type of ad, AdSense pays you for either ad impressions (CPI) or ad clicks (CPC). In the next part of this article I will provide you with tips on how to optimize the number of impressions and clicks.

How to Get the Most out of AdSense

One of the most important things when publishing AdSense ads is to use an acceptable number of ads. Google allows up to three banners and three link units on each page. In my opinion, the number of banners you should publish depends on the amount of content on your page. For example, if your webpage includes a lot of content (comparable to a page from a printed newspaper) it’s no problem to display the maximum amount of banners, especially when they are integrated well into the page content. After all, you don’t want to lose visitors due to aggressive ad placements - for example, if the user has to scroll past a couple of banners to reach the ‘real’ content of the webpage.

While it may be tempting to maximize your ad performance, it’s important to consider the user experience too. Users visit your website because they are interested in your content, but at the same time you would like to receive the most revenue from those visits. The key to success is to place ads on places where users spend the most time during their visit: next to or within your main content and near the navigation parts. Important locations are for example the main menu and the spot at the end of your page content. By doing so you can give your visitors what they want while also getting what you want.

Banner placement shouldn’t be an afterthought. I recommend thinking about banner placement when designing your website layout. In general, these are the best performing ad formats, sorted by proportion:

Banner type Banner size(s)
Leaderboards 728x90 and 970x90
Rectangle banners 250x250, 300x250 and 336x280
Skyscrapers 120x600, 160x600 and 300x600
Horizontal link units 728x15 and 468x15
Vertical link units 160x90, 180x90 and 200x90

Example of Ads On a Typical Content Page

A typical content site consists of a header featuring a logo, a main navigation menu, a content article, and a page footer. In the image below you can see a couple of ad placements that I would suggest in such cases. Which banner size you choose depends on the available space within your website layout.

[caption id="attachment_133352" align="aligncenter" width="750"]Example of ad placement on a typical content page Example of ad placements (don't use all of these on one page!)[/caption]

Don’t display a banner as the first element on your webpage. It’s better to display your site header first, for example a logo, a search box and the main menu. If you display a banner as the first element, users will ignore that banner and scroll down automatically.

Because the main menu is a very important way to interact with your site, your visitors will use it frequently. As that part of your site receives so much attention, it’s a good idea to display an AdSense banner next to it, for example below the main menu to keep your website header neat and tidy.

On some websites it’s profitable to display a horizontal AdSense link unit below the main menu. Link units consist of text links that fit the look and feel of your main menu, which is frequently a horizontal link list as well. You will receive the best results by adjusting the colors of the link unit so they match your site layout.

[caption id="attachment_133353" align="aligncenter" width="494"]Example of a horizontal AdSense link unit beneath the main menu Example of a horizontal AdSense link unit beneath the main menu[/caption]

The space below your horizontal main menu is also a great spot to display a leaderboard banner. This banner will be viewed above the main content of your webpage, so in most cases it will be visible without scrolling (visible above the fold). The user will notice the banner when he scans the webpage to see where the main content starts. When he starts to look at the main content, the leaderboard banner will be within eyesight.

[caption id="attachment_133354" align="aligncenter" width="508"]Example of a leaderboard banner between the site header and content area Example of a leaderboard banner between the site header and content area[/caption]

Continue reading %How to Monetize Your Website with Google AdSense%


by Jorrit Diepstraten via SitePoint

Create a Chat App with Rails 5, ActionCable, and Devise

Rails 5 has introduced a bunch of new great features, but one of the most anticipated ones is of course ActionCable. ActionCable seamlessly integrates WebSockets into your application and offers both client-side JS and server-side Ruby frameworks. This way, you can write real-time features in the same styles as the rest your application, which is really cool.

Some months ago I wrote a series of articles describing how to build mini-chat with Rails using AJAX, WebSockets powered by Faye and Server-sent events. Those articles garnered some attention, so I decided to pen a new part of this series instructing how to use ActionCable to achieve the same goal.

This time, however, we will face a bit more complicated task and discuss the following topics:

  • Preparing application and integrating Devise
  • Introducing chat rooms
  • Setting up ActionCable
  • Coding client-side
  • Coding server-side with the help of background jobs
  • Introducing basic authorization for ActionCable
  • Preparing application to be deployed to Heroku

Continue reading %Create a Chat App with Rails 5, ActionCable, and Devise%


by Ilya Bodrov-Krukowski via SitePoint

Neso

opl-small

'Neso' is a minimal One Page WordPress theme perfect to create a stunning online portfolio. It can even be used to build a solid marketing landing page of products or even a beautiful gallery of curated images. The mobile-friendly design has option for fixed or full width where you can choose between a 2, 3 or 4 column grid layout. Other features include unlimited images per project, customizable call-to-action button, 23 SVG social network icons and tons of typography options with Google Font library integration.

by Rob Hope via One Page Love