Welcome to MSDN Blogs Sign in | Join | Help

dwinter's [MSFT] WebLog

SharePoint Program Manager
Migrating Wiki Pages Remotely – Part 10

Note, this series starts at http://blogs.msdn.com/dwinter/archive/2008/06/28/migrating-wiki-pages-remotely-part-01.aspx

Here is the full project from this effort:
     http://www.codeplex.com/WikiMigrator

Posted: Saturday, June 28, 2008 12:55 AM by dwinter

Comments

Mirrored Blogs said:

Wiki Migrating Wiki Pages Remotely – Part 10 Migrating Wiki Pages Remotely – Part 09 Migrating Wiki Pages

# July 1, 2008 2:54 AM

Parthiban said:

Hi Winter,

Thank you very much for this post! I am myself involved in the migration of wiki pages and hence your post helped me validated my approach.

I have a question:

I am trying to migrate wiki pages from a Confluence Server to a Sharepoint Server. I am able to move the content over successfully. However, I have a problem moving over the formatting information that is kept as part of CSS files on the confluence server.

Since we have access only to the WikiField property of the target wiki page on the Sharepoint server, how do we link to an external CSS file?

The one alternative that I could think of is to replace CSS class occurrences with the actual style information. Is this the only choice we have?

Thank you once again for the post,

SP

# July 2, 2008 11:30 AM

dwinter said:

Not knowing more about Confluence, I'd have to say--that is likely.  I can't give you a factual answer due to my lack of experience with that product.  However, parsing the HTML for CSS references and inserting a new one should not be too hard to do if you manipulate the <IMG SRC=" processing that I showed how to do while fixing up the links.  Simply look for the CSS references instead, and if you know of some specific storage nomenclature that Confluence is using, you could easily look for that pattern, create a document library on the destination to store the CSS, and alter the inline reference to point to the new one or add your own.  I hope this makes sense--given what you have told me, that is the approach I would take (and one of the reasons I was so detailed about the various things I did in my code).

# July 5, 2008 6:13 AM
Anonymous comments are disabled
Page view tracker