Monday, March 26, 2012

Refresh Blogger/Blogspot/website Automatically

1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Scroll down to where you see <head> tag .

3.Copy below code and paste it just after the <head> tag.

<meta HTTP-EQUIV='refresh' content='15;URL=http://yoursite.com'/>

Note: Replace http://yoursite.com with your blog or website URL.

15 is the time period between 2 page refresh.Change it as your choice.

4.Now save your template and you are done.
Share:

Blogger Post and Country-Specific Domains

How to Prevent your Blogger blog from redirecting the country-specific URL.

Google, as most would know, redirects Blogger blogs to country-specific domains. For instance, if you open onedirection.blogspot.com in your browser, you might be redirected to onedirection.blogspot.in if you are located in India or to onedirection.blogspot.com.au if you access the same blog from Australia.

Prevent Blogger from Redirecting to Country-Specific Domains

Go to your blog inside the Blogger Dashboard and choose Template. Then click the �Edit HTML� button followed by �Proceed.� Next, copy-paste the following code into the template after the <head> tag. thanks to labnol for this code

<script type="text/javascript">
var blog = document.location.hostname;
var slug = document.location.pathname;
var ctld = blog.substr(blog.lastIndexOf("."));
if (ctld != ".com") {
var ncr = "http://" + blog.substr(0, blog.indexOf("."));
ncr += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>

Click the Save Template button and now your Blogger Blog will always serve with the blogspot.com URL.

This simple script parses the domain name (document.location.hostname) of your blog page and if it includes a country-specific URL (like blogspot.in), it will force-redirect the visitor to the blogspot.com address using the /ncr switch.
Share:

Mies van der Rohe's 126th Birthday Google Homepage

Google Homepage today Commemorates 126th Birthday of German architect Mies van der Rohe. Building Google Doodle.

Mies developed a design approach based on advanced structural techniques and Prussian Classicism. He also developed a sympathy for the aesthetic credos of both Russian Constructivism and the Dutch De Stijl group. He borrowed from the post and lintel construction of Karl Friedrich Schinkel for his designs in steel and glass.

Mies worked with the magazine G which started in July 1923. He made major contributions to the architectural philosophies of the late 1920s and 1930s as artistic director of the Werkbund-sponsored Weissenhof project and as Director of the Bauhaus.

Mies van der Rohe's 126th Birthday Google Homepage, mies van der rohes 126th birthday google doodle.jpg
Share: