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, 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.
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?
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.
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
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.
is working on a reply...
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.