Importing Wordpress data into Sitefinity
Has anyone successfully imported existing wordpress content into Sitefinity? We are currently working on feasibility on making the transition from wordpress to sitefinity.
Hello,
I haven`t migrated wordpress site to Sitefinity, but the process of migration is to move the design related files of wordpress to Sitefinity as master pages and themes as in this documentation.
The automated way to get content from mysql database and publish it as Sitefinity content is using Sitefinity API.
We have managed to import the data into Sitefinity from Wordpress, but the issues we still face are importing the corresponding Tags and Categories. Is there a way we can do this?
Hello,
To add a tag to a blog post:
var taxManager = TaxonomyManager.GetManager();
var taxon = taxManager.GetTaxa<FlatTaxon>().Where(t => t.Name ==
"Book"
).Single();
BlogsManager blogsManager = BlogsManager.GetManager();
var myPost = blogsManager.GetBlogPosts().Where(d => d.Title ==
"Post1"
);
foreach
(var doc
in
myPost)
doc.Organizer.AddTaxa(
"Tags"
, taxon.Id);
blogsManager.SaveChanges();
Anthony - how were you able to important your Wordpress data in? Did you find a tool that worked?
Is anyone still interested in this?
If so, I'm working on a tool to do this and will release it on GitHub when it's a little closer to complete. Currently, this is the planned feature set.
This thread has a pretty high number of views so...figured I'd leave a reply in it to let folks know. :)
I'm definitely interested. Will likely be needing to do this in a couple of weeks.
Okie dokie. Work in progress but...here's the repo if you guys wanna check it out or contribute.
Initially, we have also started out using a similar approach as described above when working with smaller client sites. We quickly arrived at the situation where we had to adapt the code every time as every client's site was different. As more content types entered the picture, dependency management also became trickier.
This ultimately led us to developing a solution which handles export file variations, allows recreating the original page hierarchy, taxonomies, dependencies, supports very large blog post exports and provides a framework for optional WordPress plugins and custom fields among other features. In the end we were able to import entire sites in just one click, provided we had a fitting structure and a good template.
We can now say that we have a field-tested solution, validated under many different client sites and configurations.
We're offering the solution as a stand-alone Sitefinity module or as a service to companies who prefer outsourcing the work.
You can read more about it here.