Convert News to BlogPosts

David Henriquez asked on April 28, 2016 16:13

Hi, Every one, we are implementing the blogs module in our kentico project, and we need to convert all the News we have in our site to Blogposts. We would like to know if there is anyway to do that with some tool or maybe there is a store procedure that allows us to do that. Thank you very much for your help.

Recent Answers


Chetan Sharma answered on April 28, 2016 16:23 (last edited on April 28, 2016 16:25)

You can make use of Kentico import tool Kit which is a utility on your pc that gets installed when you install Kentico.

You can select your datasource as the table of your source Page type in Kentico and Target as BlogPost Page type and map the corresponding fields as the screen in tool progresses.

It is very simple to use. You can read coumentation here.

Intro of Import Toolkit

Real examples step by step

I have performed tons of ETL using this tool.

Cheers Chetan

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 28, 2016 16:33

If you're looking to follow the OOTB configuration for blog posts then it won't be as easy as Chetan suggest to import the news items into blog posts. Kentico out of the box blog posts have this structure:

  • Blog
    • Blog Month (Month - Year)
      • Blog post (Name of blog post)

So when you import your news items you have to specify a path to import them on. If you have a few it's not bad to just copy and paste, but if you have hundreds of them it will take you a while. You'll need to either manually go in and create the blog month object or run an import on the months first, then run a separate import for all posts under each month/year combination.

Example: First import, imports all the months.
/blog/april-2016
/blog/march-2016
/blog/february-2016

Second import imports all the posts under /blog/april-2016
/blog/april-2016/post-1
/blog/april-2016/post-2

Third import imports all the posts under /blog/march-2016
/blog/march-2016/post-1
/blog/march-2016/post-2
/blog/march-2016/post-3
/blog/march-2016/post-4

So as I mentioned it's not a simple import if you have a lot of posts and follow the structure in place by Kentico.

0 votesVote for this answer Mark as a Correct answer

David Henriquez answered on April 28, 2016 16:56

Hi, thank you very much for your answers Chetan and Brenden. We can leave all the posts in the same Blog Month (Month - Year), in that case, can we use the import tool Kit? or there is more work to do after that? Thank you very much for your attention.

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on April 28, 2016 17:00 (last edited on April 28, 2016 17:01)

Yes rightly said by Brenden. I missed that part. You need to manually create a blog month node on your tree before hand and allow it have children of type News below(Normal settings). Then you can create your news below it.

In the tool you can also have the facility to create nodes under a target parent node.

If you can discount this then you are all set.

Let me know if you need an extra help I can provide you with more.

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 29, 2016 00:33

Technically you can place them anywhere as long as they are allowed below those page types. What I had mentioned is OOTB functionality with Kentico and blog posts. You could simply import them under /blog if you want, its up to you.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.