Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • tesuji 95 posts 139 karma points
    Mar 03, 2010 @ 16:01
    tesuji
    0

    Bulk import HTML pages into Umbraco

    I have hundreds of existing HTML pages I want to import into Umbraco. What's the easiest way to do this?

  • Richard Soeteman 4054 posts 12927 karma points MVP 3x
    Mar 03, 2010 @ 16:10
    Richard Soeteman
    2

    You could use the HTMLAgility pack to extract content from the HTML then use the API to import the content, or create a custom dataprovider for CMSImport to import the data, also based on HTMLAgility pack.

     

  • Isaac Levin 22 posts 42 karma points
    Apr 29, 2010 @ 15:50
    Isaac Levin
    0

    Richard,

     

    Can you give me a little more detail on doing this? I am very new to Umbraco and could use all the help I can get. Thanks

  • Seth Niemuth 275 posts 397 karma points
    Apr 29, 2010 @ 17:08
    Seth Niemuth
    0

    Isaac, it may be more helpful if you give the specific place where you are getting stuck. Have you been able to use HTML Agility to extract the content from your html pages (the content will be the section of body text)? After you do that, you will have to use the CMS Import package (http://our.umbraco.org/projects/cmsimport to import it, but you will need to create a custom data provider for it, or you can use the api to create the content in the code.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies