Showing posts with label blogger. Show all posts
Showing posts with label blogger. Show all posts

Friday, August 21, 2009

Add a retweet counter on your website with ReTweet.com

Some time ago I wrote a popular post about how to integrate into your web pages a Tweetmeme button that shows the number of retweets received by a single post or page of your blog or website. In the past days a new service, similar to Tweetmeme, has been launched. This service is ReTweet.com that shows popular links being retweeted across Twitter and provides a simple widget that shows the number of retweets received by your posts.


You can quickly integrate into your site this widget, which shows a button with a counter, just in some seconds using two lines of JavaScript code. There are two versions of the button, big and small:

If you are a Blogger user find this code:

<b:includable id='post' var='post'>
<div class='post hentry'>

...and if you want to add the big button add immediately after the last row this code:

<script type="text/javascript">
url = '<data:post.url>';
</script>
<script type="text/javascript" src="http://www.retweet.com/static/retweets.js"></script>

If you prefer the smaller button use this code:

<script type="text/javascript">
url = '<data:post.url>';
size = 'small';
</script>
<script type="text/javascript" src="http://www.retweet.com/static/retweets.js"></script>

If you use another blogging platform and want to add a ReTweet.com button on your website the only thing you have to change from the previous code is the value of the var url. Take a look at the official page here.


Add a retweet counter on your posts with TweetmemeHow to install Disqus comments into BloggerImprove the default comment system with Google Friend ConnectAdd TwitThis on your Blogger templateAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd DZone button on Blogger templateAdd Design Float button on Blogger templateSome Blogger Tips you probably don't knowAdd Yahoo! Buzz button on Blogger Template

Wednesday, August 12, 2009

How to install Disqus comments into a highly customized Blogger template

In the past weeks I switched from Blogger comments system to Disqus. I like this service that provides (for free) a powerful and versatile comments platform, actually the best available for Blogger. In the past days some readers of my blog, that decided to pass to Disqus, wrote me saying to have encounter several problems during the integration process with their Blogger template.
In particular, comments didn't appear in their pages.
I had the same problem when I added Disqus to my template. I think the problem is due to the use of highly customized Blogger templates (for example like my template). In this case, if you encounter this problem, try to install Disqus choosing Generic code (not Blogger!) from the menu you find in Admin > Tools:




Follow all related instructions... the only thing you have to do is to add into your Blogger template some lines of code like these:

<div id="disqus_thread"></div>
<script type="text/javascript" src="http://disqus.com/forums/your_account/embed.js">
</script>

...

Now save all changes on your template and try to if it's all ok!


Add a retweet counter on your website with ReTweet.comAdd a retweet counter on your posts with TweetmemeImprove the default comment system with Google Friend ConnectAdd TwitThis on your Blogger templateAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd DZone button on Blogger templateAdd Design Float button on Blogger templateSome Blogger Tips you probably don't knowAdd Yahoo! Buzz button on Blogger Template

Sunday, March 22, 2009

Typoork | A clean, professional and free Blogger Template

Finally after some days I'm really happy to release for my readers this new blogger template: Typoork. Typoork is a clean and professional Blogger template totally free and highly customizable. It supports inline comments form, delicious and retweet counters in each post.

How I said, this template is totally free! The only thing I ask you is please don't remove the link to Woork in the footer. Take a look at this preview:





Disclaimer
PLEASE, READ THIS! This is an highly customized Blogger template which I suggest to use only if you have familiarity with HTML, CSS and Blogger. Before to make changes on your actual Blogger template, save a copy of your template on your local hard disk, so, if something go wrong with the update, you can restore it. Take a mind, if you use custom Widgets on your actual Blogger template, they will be removed using this template. I'm not responsible for eventual problems. Ok? :)

I provide HTML instead XML code because in this wat you can modify this template simpler if you use an wysiwyg like Dreamweaver.


Blog title
Find this code and change the content into the tag title with the title of your blog:

<b:if cond='data:blog.pageType != "item"'>
<title>Typoork | A clean, professional and free Blogger Template</title>



Customize the header
Find this code and change the comment "Your logo here" with some line of HTML code for example adding a logo, adding some links a background image, etc:

<div id="typoork-header">
<!-- Your logo here -->
</div>



About me
"About me" is the section where you can add a short description about you, your blog and add some links to your main social identities (in this case I addedd Facebook and Twitter by default).



Find this code to customize your social identity links:

<a href='#'>Facebook</a> | <a href='#'>Twitter</a>

...and change '#' with your Facebook and Twitter profile link.

Then, find the following code and add a picture of you and a short description about your blog.

<!-- ABOUT ME -->
<div class="sidebar-section" style="background:#EFEFEF; padding:8px;">
<img src="#" class="profileImage"/>
Add a short description of you here
<div class="spacer"></div>

You can also add your picture in the section above comments:




Find this code and replace "#" with the link to your image:


<img src="#" style="padding:4px; background:#FFFFFF;"/>



Feed RSS links
Find this code and change '#' with the link to your Feed RSS file:




<!-- FEED RSS -->
<h3>
<span class="feed-small-right">
<a href='#'>Subscribe now!</a>
</span>
Feeds RSS</h3>
<div class="section-links">
<a href='#'>Subscribe to my RSS Feeds</a>
</div>

I suggest you to use Feedburner to manage your feeds RSS. It's perfectly integrated with Blogger and simple to use.


Latest posts
You may active a Feedburner account to display your latest post list. In your FeedBurner account login, click on "Publicize" tab and select "BuzzBoost" service. Follow instructions on the page and substitute BuzzBoost code into the section highlighted in bold:

<!-- Latest Post -->
<h3>Latest posts</h3>
<div class="section-links">
<div class="spacer"></div>
<ul style="margin:0; padding:0; border:0;">
<li><a href="#">Your link 1 here</a></li>
<li><a href="#">Your link 2 here</a></li>
<li>
<a href="#">Your link 3 here</a></li>
<li>
<a href="#">Your link 4 here</a></li>
</ul>
</div>


...Feedburner code it's something like this:

<script src="http://feeds2.feedburner.com/Woork?format=sigpro" type="text/javascript" ></script>


Add new section in the sidebar
In the sidebar you can add new sections like the following (Hot links) simply adding this code:

<!--Hot links -->
<h3>Hot links</h3>
<div class="section-links">
<div class="spacer"></div>
<ul style="margin:0; padding:0; border:0;">
<li><a href="#">Your link 1 here</a></li>
<li><a href="#">Your link 2 here</a></li>
<li>
<a href="#">Your link 3 here</a></li>
<li>
<a href="#">Your link 4 here</a></li>
</ul>
</div>


You can customize sections how you prefer, adding link, images and external widget (MyBlogLog, Google FriendConnect, etc)

That's all! For your feedback about this template, please leave a comment! Thanks :)

Friday, March 20, 2009

Add a retweet counter on your posts with Tweetmeme

Twitter is the best service I use daily to drive constantly a big amount of traffic on my blog. Retweets from my followers help me every time I write a new post to become popular on delicious and reach easily delicious home page.
Tweetmeme is a service which help you promote your blog by using the tweetmeme button, a simple and easy way you can integrate twitter into your blog and websites.
The result is a button like this:



If you want to add the tweetmeme button on your blogger template use this simple code:

<script type="text/javascript">
tweetmeme_url = '<data:post.url/>';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>

The only thing you have to change from the original code provides by Tweetmeme is set the var tweetmeme_url = <data:post/url>.
That's all! If you have some problem or suggestion please leave a comment. Thanks!


Add a retweet counter on your website with ReTweet.comHow to install Disqus comments into BloggerImprove the default comment system with Google Friend ConnectAdd TwitThis on your Blogger templateAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd DZone button on Blogger templateAdd Design Float button on Blogger templateSome Blogger Tips you probably don't knowAdd Yahoo! Buzz button on Blogger Template

Sunday, January 11, 2009

Add TwitThis on your Blogger template and drive more traffic on your website

TwitThis is an easy way for people to send Twitter messages about your blog post or website. This tutorial illustrates a simple way to add a TwitThis link on each post of your Blogger template. I suggest you to try it because it's very useful and drive a lot of traffic on your website if you have a good Twitter network.

To add TwitThis on your Blogger template you can using the code you can find here. That code uses JavaScript. If you want use a simpler way to add it use this alternative.

HTML code
Sign-in in your Blogger dashboard and click on Layout Tab > Modify HTML. Select expand widgets option and copy the following code where you want in the posts section (for example below the post title).

<a expr:href='"http://twitthis.com/twit?url=" + data:post.url + "&amp;title=" + data:post.title'>Twit This!</a>

Copy and paste the code exactly how it is in the box above! Don't remove spaces!

CSS code
If you like my TwitThis link (), add this class in your CSS file and use it in the previous link:

.share-twitthis{
background:url(http://tinyurl.com/ay2jsc) 10px top no-repeat;
padding-left:42px;
font-size:11px;
line-height:18px;
}

That's all!

Add a retweet counter on your website with ReTweet.comAdd a retweet counter on your posts with TweetmemeHow to install Disqus comments into BloggerImprove the default comment system with Google Friend ConnectAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd DZone button on Blogger templateAdd Design Float button on Blogger templateSome Blogger Tips you probably don't knowAdd Yahoo! Buzz button on Blogger Template

Monday, January 5, 2009

Super Blogger hack to improve the default comments system with Google Friend Connect!

If you are a Blogger user your know very well the limits of Blogger comments system. Although some improvements (inline comments), comment system remaining a small weakness of this fantastic blogging platform. But now a solution came directly form Google and the Friend Connect Wall Widget!


What can you do with this widget? In a nutshell you can add a Wall (Facebook-like) in your pages, so your readers can add comments or reply to a previous message posted by an other reader. The result is something like this:



I suggest you don't disable Blogger standard comment system... but use both, letting to your readers the choice about what comment system to use. Set up the Wall Widget it's simple and requires only one minute!

Step 1: In Google Friend Connect home page click on Social gadgets and select Wall gadget.


In the next page, in option section, select Page from Scope menu. In this way all comments associated with a specific page will be displayed only on that page:



Step 2: Set all remaining options how you prefer, customizing the width, height and colors of your widget. Now clik on Generate code button and copy the code, then sign-in on your Blogger account and click on the tab Layout > Edit HTML. Rember to save your template before to make the following changes!

Step 3: Now copy this code after "post" section in any point. For example, find this line of code:

<b:includable id='comments' var='post'>

...and paste the previous code below. If it's all ok you'll see the Wall below your posts how you can see in my site! Try it!

Related content
Set up Google Friend Connect on Blogger

Set up Google Friend Connect on Blogger

This tutorial illustrates how to install Google Friend Connect on a Blogger template. Blogger doesn't require to install external files rcp_relay.html and canvas.html as it seems during the set up process. Set up is simple and requires only a few of seconds!

Step 1: In Google Friend Connect page click on Set up a new site option. In the next page add informations about your website, site name and home URL, then click on "Continue":

Step 2: The next page ask you to add two files to your site:

1. rcp_relay.html
2. canvas.html

...but using Blogger isn't necessary copy them (the description on Set up process isn't not so clear if you are a Blogger user!). Ignore them and click simply on "Continue":

Step 3: now format your widget selecting colors, width, height and generate your code. Sign-in on your Blogger account and click on the tab Layout > Edit HTML. Then paste the code, in a section of your Blogger Template and save it!

Related content
Super Blogger hack to improve the default comment system with Google Friend Connect!

Thursday, October 2, 2008

Daily Inspired: free professional Blogger Template

Finally, after a lot of requests I released the "Daily Inspired" template for all Blogger users for free. This post explains how to customize it. If you have some problems or suggests please add a comment. In the next days I'll update this section with news and new tips about this template.

You can download this template (an html file you can customize quickly using, for example, Dreamweaver) at the following link but, first to use it on your blog, read carefully the disclaimer.

Download this Blogger Template




Disclaimer


PLEASE, READ THIS!
This is an highly customized Blogger template which I suggest to use only if you have familiarity with HTML, CSS and Blogger. Before to make changes on your actual Blogger template, save a copy of your template on your local hard disk, so, if something go wrong with the update, you can restore it. Take a mind, if you use custom Widgets on your actual Blogger template, they will be removed using this template. I'm not responsible for eventual problems. Ok?

Customize Template


Add Blog Logo
To add your logo on this template find this code:

<td height="100" align="center">Your logo here</td>

... and add a logo image within <td> element instead of "Your logo here".


Add tab on the navigation bar
If you want to add a new tab on the navigation bar find this comment:

<!-- NAVIGATION BAR LINKS -->

...and add this code:

<a href="POST_URL" class="tabbed-bar"><div>Your Page</div></a>

Then, create a new post on blogger (= a new page...), add some content, publish it and copy the URL of this new post instead of POST_URL within the previous code. In this way your post will be a not a simple "post" but a page (for example take a look at my Tutorials page).


Search field
In order to use custom search on this template find this code:

<!-- SEARCH FIELD -->
<div id="search-bar">
<form action="http://YOUR_SITE.blogspot.com/search" method="get">

...and change YOUR_SITE.blogspot.com/search with the URL of your blog. For example on this site is woork.blogspot.com/search


Customized Home Page
You can customize you Blogger home page adding a special section which will appear only on your home page. For example, on my Blog I added this section:



How to do it? Find this code:

<!-- START[Home Page Section]-->

... and add some HTML code which will be displayed only on home page.


Your name below each post title
To customize the name below each post title find this code:

<!-- ABOUT YOU, POST-->
<i>by <a href="#">Your Name</a></i>

...and change Your Name with your real name or an alias, and change the link to a page with some information about you.


Add sections on the sidebar
If you want to create new sections on the sidebar use this code:

<h3><div>Section Title</div></h3>
<div class="section-w">
<!-- HTML Code here -->
</div>


About me section
To add your personal information find this code:

<!-- ABOUT ME SECTION -->

...and customize this section adding an image and a short description of you.

Recent Post
You may active a Feedburner account to enable Recent Post and Recent Comments list. I used FeedBurner BuzzBoost service to add a section with recent entries and recent comments. If you have a FeedBurner account login, clik on "Publicize" tab and select "BuzzBoost" service:



Follow instructions on the page and copy and paste BuzzBoost code on this template, within the section Recent Post.

Take a look at this post for other tips about blogger:
7 Tips to design professional blog layout using Blogger


Categories on the sidebar
Take a look at my categories section on the sidebar:


In order to display categories on two columns I didn't use automatic Blogger categories list but I created manually each category using this code:

<li><a href="http://YOUR_BLOG.com/search/label/LABEL?max-results=10">Label</a></li>

You can use the previous code to add new categories on categories section. If you know an alternative way to display categories (automatically) splitted on two column please add a comment!


Download
Download this Blogger Template


Related content
More articles about tips and tricks on Blogger and how to design professional Blogger template:

Some Blogger Tips you probably don't know
7 Tips to design professional blog layout using Blogger
Blogger Hack: add social buttons to increase your traffic

Friday, September 5, 2008

7 Tips to design professional blog layout using Blogger

Blogger it's a very powerful platform to publish your blog. It's free and with some features which you can customize how you prefer, without limits.

In this post I want to illustrate some tips which can help you to improve your Blogger template to design a professional layout for your blog.


1. Start creating a custom template
A nice template is important for the success of your blog in terms of visits and return of money using AdSense. Before to start your custom template, writing code from zero, I suggest you to download a simple basic Blogger template, for example "Minima": so, copy and past on your preferred HTML editor HTML source (remeber to check "expand widget models" option) and remove everything is contained within b:skin tag. This is the only code which have to remain:

<b:skin> /*</b:skin>

...and, below the previous line, add this code into the <head> tag to create your custom CSS style. I suggest you to use the following CSS structure:

<style type="text/css">
/* -- 1. Standard HTML elements reset --*/
/* -- 2. Custom Page Elements --*/
/* -- 3. Redefine blogger standard elements --*/
/* -- 4. Other custom classes --*/
</style>


In this way CSS code will be simpler to manage and update. This is a screenshot of a part of CSS code I used to design my blog:



At this point you can start writing HTML code, adding layer, sections and other elements to your template. When your template is ready, copy the code and paste it on Blogger Layout editor and save it. If you need more info about Blogger customization, I suggest you to take a look at BloggerBuster a "Blogger-dedicated" site mantained for my friend Amanda which provides useful templates, tips and tricks for Blogger users.


2. Create single custom pages on Blogger
Using Blogger you can create single custom pages like on WordPress. How do you do it? Simply creating a post which you will use like a web page for example adding links or in general contents organized for category. On my blog I created some pages (Tutorials, Showcases, Freebies) and, for each page, I added a link on navigation bar:



...and each page contains links organized for topic (take a look at the page Tutorials). When you have to modify the content of the pages you have simply modify the related post directly from Blogger Post editor.


3. Display some HTML elements only on home page
Sometimes it's usefult to display some page elements only on home page and not on each single post. To do it, you have to use Blogger <b:if> statement, adding the following code on your Blogger template:

<b:if cond='data:blog.pageType != "item"'>
<!-- ... HTML code if you want to display only on home page here... -->
</b:if&gt


In this way, if the current page isn't an "item" page (but for example it's your home page) , will be displayed all code within <b:if> tag.


5. Page title and meta tag description
For a better indexing of your blog on Google I suggest you to make these simple changes on your template. Change this line (blog title):

<title><data:blog.pageTitle/></title>

...with the following code:

<b:if cond='data:blog.pageType != "item"'>
<title>My site | This is a short description</title>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>


...and add Meta tag description below the previous <b:if> statement.

<b:if cond='data:blog.pageType != "item"'>
<meta name="Description" content="Add here a short description of your site" />
</b:if>

For example on my template I added: "Woork is a popular tech blog mantained by from Antonio Lupetti. Topics focus on web design, tutorials, resources and inspiration", so when someone looking for my blog on Google, search results display the following description:





4. Design custom categories section
By default, categories on Blogger are displayed on one column. If you want to modify the default layout showing labels on two columns instead one column, you have manage manually your labels using this simple trick: adding on your template, for each labels, a link like this:

<a href="http://yoursite.blogspot.com/search/label/Category Name?max-results=max numbers of posts to display">Category Name</a>

For example, to design my categories section I used this code:

<a href="http://woork.blogspot.com/search/label/ajax?max-results=2">Ajax</a>
<a href="http://woork.blogspot.com/search/label/blogger?max-results=2">Blogger</a>
<a href="http://woork.blogspot.com/search/label/coldfusion?max-results=2">Coldfusion</a>
...

...and how you can see on my sidebar the result is:



I know, the process is not automatic and each time you add new categories, you have to udate your template manually... but this solutions renders more flexible template design.


5. Republish Feed RSS to manage recent entries and comments
Personally I don't like Blogger default archive widget. So, on my template I used FeedBurner BuzzBoost service to add a section with recent entries and recent comments. If you have a FeedBurner account login, clik on "Publicize" tab and select "BuzzBoost" service:




Follow instructions on the page and copy and paste BuzzBoost code on your Blogger template, within a new layer with class property = "recentPost" (you can insert this layer, for example, within sidebar):

<div class="recentPost">
/* FeedBurner BuzzBoost Code*/
<script src="http://feeds.feedburner.com/your feed here?format=sigpro" type="text/javascript" ></script><noscript><p>Subscribe to RSS headline updates from: <a href="http://feeds.feedburner.com/Woork"></a><br/>Powered by FeedBurner</p> </noscript>
</div>

To customize recent entries section add a CSS class (recentPost) using, for example, the following code:

.recentPost li{background:url(arrow image URL) no-repeat left top;
padding-left:14px;}

Final result is something like this:



You can repeat the same process to add a new section which contains links to recent comments, simply changing the feed URL.


6. Add custom subtitle to your posts
If you want to add a subtitle to your Blogger post you can use a simple "trick" using CSS. On your Blogger template, create a custom class ".subtitle" (for example, I used this code for Woork's subtitles style):

.subtitle{
font-family:Georgia, "Times New Roman", Times, serif;
font-size:20px;
color:#555555;
line-height:28px;
}

Now, when you add a new post, to add a subtitle, add a div layer with class property = "subtitle" before the post content:

<div class="subtitle">This is a subtitle</div>

This is a screenshot of Blogger Post Editor:




So, add the rest of your post below the div layer and the result is:




7. Add social web buttons
Social web buttons are a extraordinary solution to share and make popular content you write on your blog. Delicious, StumbleUpon and Digg are my preferred social network which drive on my site a lot of traffic but also Mixx, Reddit, Yahoo Buzz!, DZone can help you to increase your visitors. For more info about how to add social buttons on your site take a look at this post for the full list.


Related content
Some Blogger Tips you probably don't know
Blogger Hack: add social buttons to increase your traffic

Tuesday, August 19, 2008

Add Yahoo! Buzz button on Blogger Template

Yahoo opened Buzz!, a Digg like site to share stories, to all publishers. Add Buzz! button on your Blogger template.

This is a short post which explains how to add Yahoo! Buzz buttons on your Blogger template. It's really very simple!



Take a look at this page to see what kind of buttons are available and choose the style you prefer. For example, if you choose Square button style:



...copy and past the following code in your blogger template (a good position is under post's title):

<script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype="square"><data:post.url/></script>


In any case, if you choose a different button, you have only to change the string ARTICLEURL in the code with <data:post.url/>.

It's all! For questions or update about this topic contact me or add a comment :)


Add a retweet counter on your website with ReTweet.comAdd a retweet counter on your posts with TweetmemeHow to install Disqus comments into BloggerImprove the default comment system with Google Friend ConnectAdd TwitThis on your Blogger templateAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd DZone button on Blogger templateAdd Design Float button on Blogger templateSome Blogger Tips you probably don't know

Monday, June 30, 2008

Blogger Tips: feeds RSS list menu

Some readers asked to me ho to add the feed RSS menu in my previous post in their Blogger template.

It's very simple and no complex following these simple instructions. (I added this menu on my template... click on the Feed Rss link on my navigation bar).


Step 1: CSS Code for your menu
I suggest you to use Dreamweaver or an external editor do modify your template (you can also use notepad). Copy and paste HTML code in the step 1 and add it where you want in the source code of your template. I changed CSS code of #rss-menu ID adding a position:absolute, and z-index=2 (to display above all other elements in the page)

/* -------------------------------- */
/* RSS MENU */
#rss-menu{
padding:10px;
padding-top:0px;
width:270px;
border:solid 1px #CCCCCC;
margin-top:10px;
font-size:11px;
position:absolute;
background:#FFFFFF;
margin-left: 446px; /* Change it with your custom distance from the left margin */
top: 82px; /* Change it with your custom distance from top */
z-index:2;
}


Step 2: images
If you want to use directly my images, change the css feed icons code with:

/* FEED ICONS */
.feed-yahoo{
background:url(http://lh5.ggpht.com/antonio.lupetti/
SGkbSeViXCI/AAAAAAAABq0/VKFk--P6rzg/s144/feed-yahoo.png) no-repeat
;
}
.feed-newsgator{
background:url(http://lh6.ggpht.com/antonio.lupetti/
SGkZt949soI/AAAAAAAABqk/0K_xT635iWc/s144/feed-newsgator.png) no-repeat
;
}
.feed-netvibes{
background:url(http://lh6.ggpht.com/antonio.lupetti/
SGkZsku-McI/AAAAAAAABqc/geaegB--2R0/s144/feed-netvibes.png) no-repeat
;
}
.feed-bloglines{
background:url(http://lh6.ggpht.com/antonio.lupetti/
SGkZlVYv_1I/AAAAAAAABqM/HSGE2JRVGA8/s144/feed-bloglines.png) no-repeat
;
}
.feed-xml{
background:url(http://lh4.ggpht.com/antonio.lupetti/
SGkZvPomXRI/AAAAAAAABqs/hXOtnqszlws/s144/feed-xml.png) no-repeat
;
}
.feed-google{
background:url(http://lh4.ggpht.com/antonio.lupetti/
SGkZrkp8XCI/AAAAAAAABqU/Yp-Rb_1L98k/s144/feed-google.png) no-repeat
;
}


You can also save these images in your Picasa web album which you can use to store all image to publish on your blog. If you need more infos about some blogger tips take a look at this my old post.

Step 3: Javascript to show/hide the menu
Add the javascript function in the step 3 in the <head> tag of your blogger template inside the <script> tag:



It's all! If you need for help, contact me :)

Download source code


Related Content
Nice CSS menu with feed reader icons list
Some Blogger Tips you probably don't know

Friday, March 21, 2008

Custom search engine on your Blogger template

Improve your Blogger template adding search form.


I found this code on http://blogger-templates.blogspot.com but I received some emails from other people who said me the original code it's their. I'll add other credits in the comments of this post.

Today I received many questions about how to add the same search engine form I added on my Blogger Template. You only have to add these lines of code on your template changing the form action URL with the URL of your site:

<form action='http://yoursite.blogspot.com/search' method='get'>
<input name='q' size='24' type='text'/>
<input name='submit' type='submit' value='search'/>
<input name='max-results' type='hidden' value='4'/>
</form>

The input hidden field "max results" set the number of results you want to display on your page after a search.

<input name='max-results' type='hidden' value='4'/>

I set it to 4 but you can change it how you prefer. I suggest don't use a number greater than 10 post for page otherwise the results page will be loaded slowly.


Related Content
Some Blogger Tips you probably don't know
Blogger Hack: add social buttons to increase your traffic

Saturday, March 8, 2008

Some Blogger Tips you probably don't know

Blogger or WordPress? Blogspot.com subdomain or custom .com domain? These are some recurrent questions which people do when they want to start a "professional" blog.

My personal opinion is: Blogger is the best choice to publish your web site for free and I want to dedicate this post to illustrate the real power of this platform to create professional and succesful web sites, taking advantage of all free Google services like Picasa Web Album and Google Pages.

How organize images on your Blogger site
I read in several articles about Blogger you can't manage images you load on your posts. This is not true! When you load an image from the Blogger Post Editor it is saved on your Google Picasa Web Album account. To have a full control on all graphic element you load on your site you have simply to access to Picasa Web Album. You can do it directly from Google Home Page selecting Photos from the menu:


All images of your Blog are saved in an Album and you can organize them how you prefer in a very simple way:


Use Picasa Web Album to mantain original image quality

When you load a picture directly from the Blogger Post Editor, you will notice the quality of image you loaded is worse then original picture. I think Blogger uses (correctly) an image "compressor" to avoid people load enormous size pictures which would render too much weighed the page loading. But how can you do if you want to reserve the original quality for your picture (for example because you need the better quality for your layout elements)? I found this problem when I uploaded the background image on my site header directly from the Blogger Post Editor. The result was very bad. So I tryied to load the image directly from my Picasa account and voilĂ ! Perfect quality.

Favicon Tips
I found several post about this topic very helpful but not completely exact. In fact all these articles suggest to upload your favicon with .ico extension on Google Page Creator. But if you use .ico extension for your file, fivicon will not be displayed correctly and it will sobstituded with GooglePages default icon. So, I suggest to use a .gif file instead of .ico. Anyway using a .gif file you can always upload your favicon directly on Google Picasa Web Album.

To display your favicon on web browser address bar you have to add this code into the <head> tag of your template:

<link rel="shortcut icon" href="http://yoursite.googlepages.com/favicon.gif"/>

Professional layout on Blogger

I also read some opinions about the difficulty to design a "professional" layout on Blogger compared to Wordpress. It's completely false. There are not any different. You have to modify lines of code on Wordpress like on Blogger. The only limit you have is your creativity.

I hope this post can help you to consider the real power of Blogger also creating complex and "professional" web site layout for your free, money-maker, succesful blog.

Tuesday, January 22, 2008

Add Design Float button on Blogger template

Design Float is a great resource - digg-like - to share stories about Web Design, CSS, Identity and Branding, Digital art and Illustration.

This tutorial explains how to add a Float it! button on each post on your Blogger template.



Edit your Blogger template and check "Expand Widget Models". Find this line of code:

<'post-footer-line post-footer-line-3'>

...and paste, below this line, this code

<script type="text/javascript">submit_url = '<data:post.url/>';</script>
<script type="text/javascript" src="http://www.designfloat.com/evb/button.php"></script>

The result looks like this

If you prefer a big button copy and paste this button instead of the first code:

<script type="text/javascript">submit_url ='<data:post.url/>';</script>
<script type="text/javascript" src="http://www.designfloat.com/evb2/button.php"></script>

The result is like this

Save your template and post your stories on Design Float!

Add a retweet counter on your website with ReTweet.comAdd a retweet counter on your posts with TweetmemeHow to install Disqus comments into BloggerImprove the default comment system with Google Friend ConnectAdd TwitThis on your Blogger templateAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd DZone button on Blogger templateSome Blogger Tips you probably don't knowAdd Yahoo! Buzz button on Blogger Template

Friday, January 18, 2008

Add DZone button on Blogger template

DZone.com is a popular digg-like portal to share interesting and useful links for developers.

It provides two type of buttons to vote a post directly from your site (like digg) with different size: tall and wide:


To add DZone buttons on your blogger template, in each post of your blog, select "modify html" and check "Expand Widget Models" (remember to save your template before!).

Better position to place the big button (tall) is beside the title of post. Find this line of code:

...<data:post.body/>...

Copy and paste the following code below the line above:

<script type="text/javascript">
var
dzone_url = '<data:post.url/>';
</script>

<script type="text/javascript">
var
dzone_title = '<data:post.title/>';
</script>

<script type="text/javascript">
var
dzone_style = '1';
</script>
<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"> </script>


In order to choose the small button (wide size) instead of big button change this line:

<script type="text/javascript">
var
dzone_style = '1';
</script>

...whit the following:

<script type="text/javascript">
var
dzone_style = '2';
</script>

I suggest to place wide size button to the end of post (for example below tags line). Past the code below this line of code in your blogger template:

<p class='post-footer-line post-footer-line-3'>

Save your template and try it!

Add a retweet counter on your website with ReTweet.comAdd a retweet counter on your posts with TweetmemeHow to install Disqus comments into BloggerImprove the default comment system with Google Friend ConnectAdd TwitThis on your Blogger templateAdd Digg vote button on Blogger Template (update)Add delicious button with counter in your blogger postsPlace Google AdSense below post's title on BloggerAdd StumbleUpon button in your Blogger postsAdd reddit button with counter in your Blogger template Add Technorati blog reaction on your Blogger templateAdd Mixx button on Blogger templateAdd Design Float button on Blogger templateSome Blogger Tips you probably don't knowAdd Yahoo! Buzz button on Blogger Template