Mobile app version of vmapp.org
Login or Join
Sarah324

: Will Search Engines crawl my Github gists? I have been using Alex Gorbatchev's Syntax Highlighter in my blog for the past couple of years. It serves the purpose, but it is a pain to add the

@Sarah324

Posted in: #Github #Seo

I have been using Alex Gorbatchev's Syntax Highlighter in my blog for the past couple of years. It serves the purpose, but it is a pain to add the code while blogging (I need to use a HTML Encoder and manually add this piece wrapped around a <pre> tag. But, the positive thing is, I know for sure the search engine will crawl the code I have written.

Recently I stumbled upon Github Gist and it was really easy to just copy paste, selected the language and embed in my website. However, the question I have here is, will the Search Engine crawl the code inside my gist making sure that it lands on my page?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sarah324

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sherry384

From what I can see, gist.github.com uses javascript to embed gists such as:

<script src="https://gist.github.com/1234.js"> </script>


And although Google parses some javascript but I doubt 3rd party widgets would get parsed (see update below)

but this exact issue was discussed by Simon Bingham here. He suggests you use the "SEO Friendly Gists" tool which essentially grabs the embed code but ALSO generates a <noscript> version of the gist (that WILL be indexed by google)

Update:

Google Does some Javascript Parsing, and the only official resource I can find on this came from Best approach to have Google index content primarily generated by Javascript where they offer up:
developers.google.com/webmasters/ajax-crawling/
Which explains how to have ajax pages indexed.

I've haven't read anything about 3rd party widgets being parsed (nor have I seen any of them own my own sites get parsed) - I think google is focusing on building it's database not improving how your page renders.

If you find some official literature on this, please comment!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme