Showing posts with label How to do. Show all posts
Showing posts with label How to do. Show all posts

Why don’t spacecraft burn up or veer off course during reentry from space?

They’re the correct shape, they’re coming in at just the right angle, and they’re covered in an appropriate skin…  
Space may be the final frontier, but coming back to Earth after a visit to a planetary neighbor, or even a high orbit, can be perilous. As anyone who’s seen the movies The Right Stuff and Apollo 13 knows, a spacecraft must reenter Earth’s atmosphere at a fairly precise angle to avoid burning up or skipping back out into space. That no American astronaut has suffered this fate is testament to the brains and courage of the people involved in the space program.

Can we control machines using only our thoughts?

Yes, we can—and someday, the technology that is already driving some video and board games will be put to broader uses…
“Sure,” says Edward Boyden, Benesse Career Development Professor at the MIT Media Lab. “The brain is an electrical device. Electricity is a common language. This is what allows us to interface the brain to electronic devices.”

Can seawalls prevent beaches from eroding?

The short answer is maybe—but only if they’re part of a bigger strategic plan.
Living next to the ocean is both romantic (salt air, sunsets, beach walks) and complicated (hurricanes, oil spills, beach traffic). One of the most challenging aspects of beach living is the changeable nature of shorelines. Ocean and land interact in complex and often-counterintuitive ways to erode, extend, and reshape the contours of terra firma, sometimes with disastrous consequences for waterfront homes and communities.

Does a golf ball really change its shape when struck by the club?

Thanks to Doc Edgerton, Tiger Woods can really see what Bobby Jones couldn’t even imagine…

Are Santa’s reindeer used for propulsion or navigation?

Both. They work as a team—and Santa is an incredible pilot…

How could biotechnology affect sports in the future?

Engineering “enhancements” are already generating debate in the world of sports. There are only going to be more…

Why hasn’t commercial air travel gotten any faster since the 1960s?

In an era when everything else is accelerating, airplanes are actually flying at slower speeds than they used to…

How long does it take oil from an underwater spill to reach the surface?

It depends on the composition of the oil—and on how we are attempting to clean it up…

What’s the difference between fuel efficiency and fuel economy?

What we really ought to be thinking about is fuel consumption, measured in gallons per mile—not the customary miles per gallon…

Can portable electronic devices (like my phone) be recharged wirelessly?

Yes, but those little devices use a lot more power than you might think…
Everything from calculators to keyboards to mice are easily recharged these days using solar power.

How can harmful substances be removed from waste water?

There are options. Choosing the right one depends how clean you need the water to be…
It’s not a pretty sight: Water discharged by home toilets, restaurant dishwashers, agricultural runoff,
Today I will teach you "How To Add Facebook Like with Share Button Below Post Title" let's start this tutorials.


1. Login to your Blogger Account.


2. Go to DESIGN > EDIT HTML > then hit Expand Widget Templates.


3. Make sure you back up your templates.


4. Press CTRL + F and search this code <data:post.body>


5. Then add the code below before <data:post.body>.


3



<div style='float:left;padding:5px;'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<script src='http://mackie.wapsite.me/file/javascript/share/like_tweet_button.js'>
</script>
</b:if>
</div>

6. Save it and see the result.



Wordpress Theme for Blogger - Part 3 (Final)

by 
The last steps in building the Wordpress theme are mostly minor tweaks. There will be some template CSS changes, but, these will be some simple steps. What you see at the left is my completed Tw***yTe* theme for Blogger. If you click on the picture you'll see the template in action!

One thing to note - I cannot give this template away since Simple is copyrighted by Blogger and the artist who created it. You'll have to do the modifications yourself as noted in Part 1 and Part 2. If you're in the market to create Blogger templates then don't use an existing copyrighted one to sell online. You'll have to start from scratch or buy a template. However, you can always try to contact a template owner to see if they'll allow you to customize and resell an existing one.

Adding the Blogger Tab Menu

Ok, the next step is to enable the Blogger tabs just under the banner we added. The good news is that these will automatically be enabled in the right position for the Wordpress theme look-and-feel.

Go back into the Blogger main menu and choose 'Pages' to turn on the page tabs on the site. Just pick the dropdown called 'Show pages as' to select 'Top tabs' like this:

Blogger page tabs
This will turn on the Pages tabs at the bottom of the banner image. Let's add another page to make sure the tab menu works well. Choose the 'New page' dropdown and select 'Blank page':


Adding a new page to Blogger

Once selected you'll see the new page dialog box - simply enter a title at the top ('About' in this case) and some random page text. Press 'Publish' to add the new page:

Publish a page in Blogger

Be sure to save the new pages by pressing the 'Save arrangement' button on the upper right:

Save Blogger page arrangement


On the template now you should see the visible tabs with both the 'Home' and 'About' tabs like this:


With the tabs now visible the next step is to modify the fonts and colors to match our theme. Go back into the Blogger Template Designer as we did before to modify some of the Advanced settings.

Choose 'Advanced' / 'Tabs Text' to change the tab menu font to 'Arial' and size to '13px'. Be sure to set the font 'Text Color' to '#999999' and 'Selected Color' to '#ffffff':

Setting the tabs text

Don't save just yet. Go ahead and change the 'Tabs Background' as well so that the 'Background Color' is '#000000' and the 'Selected Color' is '#333333':

Setting the tabs background

If you noticed there's still a white border around the tabs - this change is located in the 'Accents' section. Change the 'Tabs Border Color' to '#000000':


Now we'll make a few tweaks to the CSS code to fix a couple of small things that can't be configured from the menus. If you've noticed there's still a small, white line between the tabs. Also, there's a dotted line at the bottom of the template just above the footer.  Finally, I noticed that I had made a mistake in Part 1 of this series on setting the Blog post title link colors to black. Its seems that for this template all link colors followed the same pattern making even links within posts the color black.

So, let's fix all three things in the 'Add CSS' section. WAIT!! The other CSS code we added earlier is missing! I've seen this before in Blogger and think it is a bug of some sort. (Note, though, the CSS code we added in the earlier parts is still in the template - just not visible. You might find it different - your CSS code may show up). Given that, just add the following code to your template anyway to set the .footer-outer, .tabs-inner and h3 settings (h3 tags the Post titles):


Now to fix the link colors for the entire template we'll have to go back undo what we did in Part 1. Let's change the link colors back to a standard blue and purple. Go to 'Advanced' / 'Links' and set the 'Link Color' to '#3333ee', the 'Visited Color' to '#8800aa' and the 'Hover Color' to '#ee3333':


After all of that work be sure to apply your changes now:


Completing the Theme Sidebar

At last, we're at the last steps! The final things to do are to add the Search box and alter the Archives look. First, just go to the Blogger main menu and select the 'Layout' to press the 'Edit' link on the 'Blog Archive' side bar like this:

Edit the Blogger layout

The archives dialog box should appear. Let's configure a few settings to make it more like the Wordpress Theme. Set the 'Title' to 'Archives', the 'Style' to 'Flat List', and the 'Date Format' to month / year. Once done go ahead and press the 'Save' button:

That's it for the Archives section. Now stay in the 'Layout' menu - just above the Archives sidebar item you should see 'Add a Gadget' link. Click on that to open the Gadget list. Scroll through the list to find the 'Search Box' gadget  and press the '+' button as shown to add the Search box:


You should now see it in your layout sidebar just about the Archives. Go ahead and click on the 'Edit' link within the layout to open the Search Box configuration. If you noticed on the theme, there is no title for the search. In Blogger you have to have a title - however, you can enter the HTML equivalent of a space '&nbsp;' in the 'Title' box. Uncheck 'The Web' search setting and scroll down to press the 'Save' button (you can't see it in the picture -- follow the arrow down):


Guess what!!?!  You are done! The Wordpress theme is ready to go!

I hope you learned how to modify your templates enough to continue to extend or create your own in the future. Here's the final result:

Add MP3 Files to Blogger - Part 2

by
NEWS NOTE: September 1st - MP3 player fix! A few months ago Google removed their shared media player! There were many Bloggers and Webmasters on the Google forums complaining. For whatever reason - the Google player is now back and working as you can see here. However, I have found other solutions to the free MP3 player issue - in Part 3 if you want a different option!
 In Part 1 I talked about creating a Google Site to host your MP3 files. The next step is to get you media files ready and uploaded so you can use an embedded player to use in a widget or within a post.

Uploading MP3 Files to Google Sites

If you've left your Google Site since the last tutorial, go back and log into Sites again. You should see the default Sites screen with the new 'mediafiles' site ready from Part 1:

Media files for Google Sites


Go ahead the click on the 'mediafiles' site to get to the pages within--you will open a new window defaulting to the Home page like so:

mp3 files section for Blogger

Your custom file uploading page (called mp3 here) is ready for your files. Go ahead and select the mp3 page title in the left menu above to get the to files page where you can start the uploads. The small 'Add files' button is located near the middle of the page as circled below. This is where you can select the files you want to upload:



Add mp3 files to Google Sites


When you select the files you should see the upload dialog box:
Upload mp3 files to Sites for Blogger
Continue repeating this step to upload all of the files you need. Take care, however. Google does have a storage limit on Sites of only 100MB per site and only 20MB per file. So, if you're uploading music, that limits you to about 25 songs. For podcasts take care to reduce your audio bit rate to get more efficiency in storage. I'm sure you could create more sites to raise that limit but I haven't tried it personally.
Here's what your mp3 site page should look like now:
Blogger media files
The mp3 file I added was from a Royalty Free music website. However, in order to use the file I have to give the artist create like this:
  • Future Gladiator Kevin MacLeod (incompetech.com) Licensed under Creative Commons "Attribution 3.0" http://creativecommons.org/licenses/by/3.0/
Since the Google Sites page is public, you might want to consider what type of license is needed for the mp3 files you are uploading. Be sure to give the artist or podcast credit both on your Blogger site as well as your Google site if required by the license. I added the very same credit in the comments of the Google site too.

Embedding an Audio Player in Blogger


The final step in this entire process is to find an audio player that you can utilize to actually stream the MP3 data to your users. Typically this is done using an Adobe Flash/Shockwave player. The player just needs to be embedded as code in an HTML widget or directly in a Blogger blog post.

Fixed as of Sept 2012 - At one time Google provided a Flash audio player directly from their Google Reader site. As of June 2012 - this was removed much to the dismay of many bloggers. They may or may not add this back. I'm going to leave this section within this post for now in case Google decides to add their player back. The best guess out there right now is that Google is migrating much of their Reader functionality to Google Play - their new multi-media site.

Luck has it that Google has just the code you need! As part of the Google Reader application, there is a player widget you can reference directly from other Google tools. Important note, however: I haven't found any specific wording that Google sanctions this from Blogger. But, many people do it and I doubt that Google would pull the plug on the widget for its use in Reader.

Given that, here is the widget code you need to copy and paste:

<embed
flashvars="audioUrl=your-google-sites-link-here"
height="27"
pluginspage="http://www.macromedia.com/go/getflashplayer"
quality="best"
src="http://www.google.com/reader/ui/3523697345-audio-player.swf" type="application/x-shockwave-flash"
width="400"
wmode="transparent">
</embed>

Note that the part that says 'your-google-sites-link-here' needs to be the full URL of your Google Site MP3 file. The easiest way to get to this is to right-click on the small, down-arrow located next to the file on the far bottom right of your file page:

Download streaming link for Blogger

Once you right-click on it, you should see a menu item that says 'Copy Link Location'. Go ahead and choose that to paste into your copied code above like so:

<embed
flashvars="audioUrl=http://sites.google.com/a/bloggertipspro.com/mediafiles/mp3/Future%20Gladiator.mp3"
height="27"
pluginspage="http://www.macromedia.com/go/getflashplayer"
quality="best"
src="http://www.google.com/reader/ui/3523697345-audio-player.swf" type="application/x-shockwave-flash"
width="400"
wmode="transparent">
</embed>

If you take a close look at my URL you'll see that I removed the 's' from the https in the link. Google Sites uses a secure http connection by default. However, since we made the page public you can alter the 'https' to 'http'. I also removed the extended attributes on the link '?attredirects=0&d=1' although this doesn't really matter--it play either way.

And finally, here is the actual example embedded into this post! The file is fairly large so you might get a few second delay before it plays. Enjoy!!!

Add MP3 Files to Blogger - Part 1

by
NEWS NOTE: September 1st - MP3 player fix! A few months ago Google removed their shared media player! There were many Bloggers and Webmasters on the Google forums complaining. For whatever reason - the Google player is now back and working. However, I have found other solutions to the free MP3 player issue - in Part 3 if you want a different option!

One nagging theme that consistently bothers Blogger users is the lack of storage available for file types other than images and videos when attempting to expand your blog. I don't know how many times I've seen users asking for upload storage for PowerPoint slides, PDF files, databases, etc. Probably the single most popular request is "how can I upload a MP3 file to Blogger and embed it in a flash player?" without some odd widget or custom call-out.

The reason why the MP3 request is called out so often is mainly due to the desire to have either music or podcasts directly embedded in your posts.

What many Blogger users don't realize is that by registering as a Google user, you have many of their tools at your disposal--including the not so obvious ability to utilize free Google storage (which translates directly to the ability to upload MP3 files).

Now, uploading a MP3 file to Blogger is not a direct upload through the Blogger interface but is very easy with just a few steps to get you there quickly. So, let's get started!!

Creating a Google Site for MP3 Storage


So, just what is a Google Site? Sites is a free website building tool that Google picked up as an acquisition some years back. It is not overly popular but does have some interesting capabilities. You can use it as a standalone tools to build full, mostly static websites without any hosting fees. In our case we're only using it as a background placeholder.


The first thing you're going to want to look for is the Google Sites menu item. It is a bit hidden under the More menu selection as shown here:

Google Sites for Blogger
Simply go ahead and choose 'Sites' to get started. You're really not going to use the site builder to build a full website at this point (though you could if wanted), just utilizing some of the storage functionality that Google provides with this tool.

Select the menu button 'CREATE' to make a background site for your Blogger blog:

Create a Google Sites page

This will lead you to the next page that will allow you to name your site and associated themes if you want. The key at this point is to just use the default 'Blank Template' that is preselected. I like to use the name 'media' or 'mediafiles' if my goal is to have Blogger use MP3 music or podcasts:

Naming a Google Sites website for Blogger mp3 files
Go ahead and press 'CREATE' to have Sites kick off the website build. In a second or two you should see something like this which is the left pane of the newly created website:

Google Sites default site

You now have the website shell ready to land your MP3 files. But, the default pages are only static ones at this point without any ability to upload or store files. For the last phase of this Part 1 you need to create a certain type of webpage called a 'File Cabinet'.

Creating the Blogger MP3 File Cabinet


The next step is adding a web page to your site. Go up to the far right menu item in Sites and select the 'New page (c)' icon button:

Blogger mp3 file cabinet

You'll be prompted with a page setup dialog that will need to 'Name your page:' and set the page type like so - be sure to use the numbered order to setup the page correctly. I prefer to create a File Cabinet page called mp3 to set the file types. You can call it whatever makes sense to you:

Creating a mp3 file cabinet

Go ahead and press 'CREATE' to build the new webpage. Your site should return looking something like this:

Default site for Blogger mp3 files


You've now created the needed shell to get your MP3 files to some free storage from Blogger. Before you start working with this site, however, you need to follow one last step - setting the visibility of the webpages to be Public.

In this upper right menu choose the 'More' dropdown button to select the 'Sharing and Permissions' option:

Set sites permissions


Once you've selected it, you'll be in the Manage Site section. You'll want to select the visibility permission to allow these pages to be fully 'Public on the web' like so:



Done!! You're now ready to start using Google Sites for your Blogger MP3 files! Since this is only Part 1 please note this is not the final step of the process. You're going to need to do a couple of tricks in Blogger to start using this site. Don't worry -- it is an easy process. Take some time to learn Google Sites (Mary Fran's Getting Started with Google Sites is a good tutorial) some more so you're comfortable with navigating through it.

Next up - Creating and Uploading your MP3 files to Google Sites for use on Blogger.