How to Embed a Slideshare Presentation in your Blog with Valid XHTML
Slideshare is a great service that allows you to upload powerpoint presentations and then embed them in your blog, but the default embed code is not valid XHTML and it also clutters your site with lots of extra links back to Slideshare.net. When your own presentation links with your keywords back to Slideshare, you will find that Slideshare ranks higher than you on Google for your own content. This presentation will teach you how to cleanly embed a Slideshare presentation on your blog while maintaining your own Search Engine Optimization (SEO) as much as possible.
Transcript
- How to Embed a Slideshare Presentation in your Blog with Valid XHTML
- Slideshare: YouTube for Slides. Slideshare.net is like YouTube for slide shows: You can upload PowerPoint presentations to Slideshare.net and share them by inserting some embed code in your web page. Unfortunately, if you use the Slideshare.net embed code “as is”, your web page will no longer be valid XHTML as determined by http://validator.w3.org. This presentation shows you how to modify the Slideshare embed code to produce valid XHTML as well as a cleaner presentation without the clutter of links back to Slideshare.net.
- Here is the embed code that Slideshare gives you
- Here is what it looks like with the default Slideshare embed code
- It also doesn’t validate at http://validator.w3.org
- W3 Shows you the errors in detail.
- Some of this code is unnecessary, cluttering your slideshow with extra links back to Slideshare
- Let’s remove the backlink code and see what happens
- The code sure looks cleaner
- It’s also cleaner on the screen without all those extra links
- But it still doesn’t validate
- The problem is with embed. embed tag is not not valid XHTML, but you can add more information to the object tag and you don’t need to use the embed tag at all
- Make these edits
- Here is what the new embed code looks like
- It looks the same on the screen
- And now you have valid XHTML
- And you can put this badge on your site if you want to
Great tutorial, thanks. It worked.
Cheers,
Richard
Comment by Richard Wettel — March 4, 2009 @ 4:25 am
[...] By the way. Slideshare doesn’t give you valid XHTML for embedding, but I found this tutorial that shows you how to embed valid slidecasts. [...]
Pingback by Andrew Wirtanen – Experience Is The Product — January 16, 2010 @ 8:57 am