Showing posts with label sitemap. Show all posts
Showing posts with label sitemap. Show all posts

Friday, December 19, 2014

Ghost Blog Platform - Automatic sitemap.xml File Creation

There seems to be some mis-communication making the rounds about the new node.js-based Ghost blogging platform's ability to automatically generate a sitemap.xml.

As of August of this year (2014), automatic sitemap.xml file generation is a core feature, not a plugin. The new documentation on Ghost's development roadmap on Trello makes this clear:

Ghost blog, Josh Wieder, Trello, sitemap, sitemap.xml

But, if your like me and usually check on this sort of thing by browsing through the forums, its easy to get the idea that sitemaps will be handled in some nebulous, future plugin:

Ghost blog, Josh Wieder, Trello, sitemap, sitemap.xml

I'm fairly new to working with node, and my forrays with Ghost are partly an excuse to learn a bit more. So far, I like what I see. Its true Ghost isnt as mature as say, Wordpress, but it also doesnt have the same target painted on its back (ever go through your server logs for bad requests for wp-admin.php?), and a lot of what is not there or not built well I can re-do myself.

Anyone else jumping on the node.js blogger bandwagon, either with Ghost or something else? Whats your experience been like so far?

Saturday, October 6, 2012

Bing Webmaster Tools and Blogger Sitemaps - "The Feed is Empty" Error Fixed

Blogging tips aren't really the focus of my website. However, I recently signed up for Bing's Webmaster Tools and encountered some difficulty in submitting the sitemap for my Blogger website, joshwieder.blogspot.com. It took me a bit of head banging before I figured out how to resolve it, thanks in no small part to the amount of guides on this issue that are just wrong on their face. So, for regular blog readers, this isn't as advanced as a lot of the articles here are, but it turned out to be such a nuisance and so ill-documented that I felt something had to be done.

This guide will assume that you have already added your site to Bing Webmaster Tools and verified domain ownership, both of which work as advertised.

At the time of this writing, Blogger primarily uses Atom 1.0 to publish site feeds - Blogger also relies on Atom for a dynamically generated sitemap. For Google's webmaster tools, I registered the following link, which populates an XML file that contains the first 500 pages of data on my site:

/atom.xml?redirect=false&start-index=1&max-results=500

This worked just fine with Google, so I assumed there would be little issue with Bing. Wrong! No matter what I did, every Blogger sitemap URL that I could find in the documentation and guides ended up throwing an error after Bing crawled it - usually the error I received was, "The Sitemap is Empty". Before the big reveal, I am going to do a quick rundown of disinformation I have received on the internet  on how to add Blogger sitemaps:

-Submit a sitemap through a URL like this: http://www.bing.com/webmaster/ping.aspx?siteMap=http%3A%2F%2Fjoshwieder.blogspot.com%2Fatom.xml%3Fredirect%3Dfalse%26start-index%3D1%26max-results%3D500
-Create a custom robots.txt file with a site map flag for /atom.xml?redirect=false&start-index=1&max-results=500
-Use feeds/posts/default instead of /atom.xml. This gets bonus points for at least conceivably being able to work and not just a different way of configuring exactly the same setting. It still didn't work for me, if I remember correctly this produced an "Unsupported File Format" error as opposed to "The Sitemap is Empty"

While different themes might lead to different conflicts, I am still amazed by how many different guides I found and how wrong all of them were. I am confident this fix will work across multiple themes (at least unless Blogger makes a change).

Time for the big reveal. Login to Bing Webmaster Tools. Assuming again that your site has been added and domain ownership verified, it should look a bit like this:


Click the Add a Sitemap link in the bottom right hand corner. Or, from the left hand side menu under Dashboard, expand Configure my Site and click Sitemaps.

The syntax that worked for me is http://yourblogurlhere.ext/sitemap.xml. So for joshwieder.blogspot.com, I put http://joshwieder.blogspot.com/sitemap.xml

You will notice that adding the sitemap does nothing immediately. If you are in a hurry, like I tend to be, use the Bing URL Submission Tool to have the sitemap verified right away. Although Bing will still take its time to compile statistics and spider your site, this will at least show you whether the sitemap is valid or not right away.

Here is what the URL Submission Tool looks like:

Using the link above should allow you to add a Blogger sitemap to Bing without errors as of this writing. Should anything change, or if you use Blogger and this still does not work for you, please leave a comment or send me an email as I would be interested in finding out why. I still don't understand why this was such a hassle - for the conspiratorial readers: Is Google using some sort of secret Atom formatting to make other search engine submission tools look broken and awful? Is Bing secretly on the lookout for Google-sponsored hosting sites and giving them a hard time to make Google hosting look broken and awful? Or is this functionality just broken and awful, with no conspiracy behind it? You decide!

NSA Leak Bust Points to State Surveillance Deal with Printing Firms

Earlier this week a young government contractor named Reality Winner was accused by police of leaking an internal NSA document to news outle...