Skip to main content

Blogger Magic - Detecting The Blog Feed

Ever see a magician take a pack of playing cards, shuffle the deck, wave his wand over the deck, and make the Ace of Spades rise into the air? Pretty mysterious.

How about I wave my wand over my blog, and make the blog feed URL rise into your browser? You've seen a BlogList wizard - you add a blog to your bloglist. Just type in the blog URL, and it pops up the feed. How did it do that?

The answer isn't hard to see, just look in the template header, for the live blog.

You can find the feed URL, by viewing the template header.

Use View - "Page Source" with the blog displayed in your browser, or use an HTTP text proxy, to examine the blog code. There, you will find the auto discovery feed URL.

Here's the header for this blog.

<head>

...

<link href='http://blogging.nitecruzr.net/' rel='canonical'/>
<link rel="alternate" type="application/atom+xml"
title="The Real Blogger Status - Atom"
href="http://blogging.nitecruzr.net/feeds/posts/default" />
<link rel="alternate" type="application/rss+xml"
title="The Real Blogger Status - RSS"
href="http://blogging.nitecruzr.net/feeds/posts/default?alt=rss" />
<link rel="service.post" type="application/atom+xml" title="The Real Blogger Status - Atom" href="http://www.blogger.com/feeds/24069595/posts/default" />

...

</style>

There it is

http://blogging.nitecruzr.net/feeds/posts/default

You won't see anything from the template source, in "Page Elements" - "Edit HTML". You have to look at the live, rendered HTML.

Here's what you may see, in "Edit HTML".

<head>
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>
<meta content='width=1100' name='viewport'/>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>

Not all third party templates will include the crucial code snippet:

<b:include data='blog' name='all-head-content'/>

If your template is missing that line of code, no magic for you.

Enable the blog feeds from the dashboard Settings page.

To enable the newsfeeds, use the dashboard Settings - Other - "Site feed" wizard. The choice of setting for "Allow Blog Feed" affects the use of dynamic templates, and successful search engine indexing of the blog.

Now, consider possible additional details which some blogs have. Both a custom domain redirect, and a custom feed (ala FeedBurner) redirect, may provide more challenge.

You can't change the native feed URL, without a feed redirector.

Also note that the URL shown in the header displays the native URL of the feed - and reflects the value of the internal feed URL variable. If you change this header record, that won't change the internal variable. To change the URL, you need to setup a redirected feed (such as a FeedBurner feed) - then use the Post Feed Redirect setting, to point to the redirected feed.


Set the "Post Feed Redirect URL", to point to the redirected feed.



You do know, I hope, that if your blog is private, it will not publish a feed. And finally, be aware that not all online services accept a redirected feed.

Any blog with a standard header will provide the feed URL, as auto discovery.

But once you understand the details, you can Follow any blog which has the auto discovery feed URLs, defined in the blog header. Just use the "Add" wizard in "Reading list", in your dashboard - and provide the URL of the blog.

Comments

Thank you for your tip... That is very useful!!!

But I know that for some blogs Blogger generate all this link-type records and for some it did not generate them.

Yes, that's a very good idea just add these link type records by yourself in template, but more interesting question is What I need to add to template to make Blogger generate these links for me?

Best regards!
Svetlana
Just found an answer on my previous question. To make Blogger to generate all these if we use <b:include data='blog' name='all-head-content'/> in head-part.

Regards,
Svetlana
Dudel said…
Yeah I have friends with this problem on a LOT of their stuff. I think I'm going to link them to this page so they can fix it.
Anonymous said…
I tried everything but my rss feed is still invalid. Could be please help me and tell me wich code I need to implement to my template? It already has this code but somehow it doesn't work. Maybe you have an idea what the problem is. Thanks
Nitecruzr said…
Hi Tam,

Thanks for the question!

Diagnosing blog feed problems involves some dialogue, back and forth. That's a lot easier to do, using a forum conversation, than using blog comments. Forum discussions can be formatted much better too.

Why not post in Blogger Help Forum: Get Help with an Issue, so I can help you a lot easier?

Popular posts from this blog

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.