Welcome to MSDN Blogs Sign in | Join | Help

Other Silverlight SEO Techniques

The technique described in my previous post will work for Silverlight solutions that generate XAML on the server side as well as solutions that have multiple static XAML files that are composited at runtime:

<div id="SLHost">

    <asp:Xml ID="XHTML" runat="server" DocumentSource="seo.xaml" TransformSource="XAML2XHTML.xslt" EnableViewState="False"/>

<!-- XAML that is generated by the server: -->

    <asp:Xml ID="XHTML" runat="server" DocumentSource="Xaml.aspx?id=page1" TransformSource="XAML2XHTML.xslt" EnableViewState="False"/>

<!-- XAML that is in many parts but composited at runtime: -->

    <asp:Xml ID="XHTML" runat="server" DocumentSource="details.xaml" TransformSource="XAML2XHTML.xslt" EnableViewState="False"/>

    <asp:Xml ID="XHTML" runat="server" DocumentSource="about.xaml" TransformSource="XAML2XHTML.xslt" EnableViewState="False"/>

    <script type="text/javascript">

        createSilverlight();

    </script>

</div>

But there are circumstance where you would want to have a SEO-friendly HTML that is more specific to your Silverlight application.  My colleague Nikhil Kolthari, wrote in his blog about other techniques for SEO in Silverlight where the application server would write out an alternative HTML version that is specific to his slide show application.

Published Wednesday, October 03, 2007 4:20 PM by Michael S. Scherotter

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Techy News Blog &raquo; Other Silverlight SEO Techniques

Wednesday, October 03, 2007 7:33 PM by Techy News Blog » Other Silverlight SEO Techniques

# re: Other Silverlight SEO Techniques

Hello Michael - As a search specialist, I am very pleased by this solution. I am missing the actual silverlight application on the page though. Is there supposed to be some rich media presentation. I am curious to see how this technique would work to expose content  and make available for indexing and retrieval that is actually contained in the application.

Friday, October 26, 2007 1:41 PM by msweeny

# re: Other Silverlight SEO Techniques

msweeny,

If you have Silverlight installed, you will see some text and an image with a blue background.  That is actually a very simple Silverlight application - no interaction and no rich media.  If you look at the page source, you will see the text exposed as XHTML.

Please contact me via email and we can continue this conversation: http://blogs.msdn.com/synergist/contact.aspx

Michael

Friday, October 26, 2007 8:30 PM by Michael S. Scherotter

# Expression Studio 2 Ships and How to do SEO with Silverlight Pages

by Don Burnett Well it's been a bit since I posted I had been working really hard and somehow I ended up getting pneumonia. So I have been taking a break, but several exciting things happened that I figure I should tell you about. Expression Studio Version

Tuesday, May 06, 2008 11:50 PM by TrackBack

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker