umbraco 4.0 - Importing .aspx pages directly into umbraco
Hi
After checking few posts and tools on forums, I have seen some add on dll's and tools to do the import from existing aspx, xslt, css etc files.
[b]In order to start move my existing site to Umbraco 4.0 I like to directly import .aspx pages from my existing site instead of manually copy/pasting the page content.
[/b]
I like to check if any added functionality exist in umbraco 4.0 to directly import .aspx pages into umbraco and publish?
@ismail, richards tool works with both content and members, paid version will add some extra functionality , like scheduled import and saving of import settings.
@ukda there is no tool to import aspx pages into umbraco. You could create some kind of site crawler that will import all pages of a website.
Thanks for that i though it only handled members. Ukda I have in the used htmlagility kit as part of a crawler to extract content may prove useful to xpath out content and meta data that you could then using umbraco document webservice upload content.
It can parse html pages and make them behave like xml documents so you can xpath into them. So in your website if you have
c:\inetpub\wwwroot
\folder1
\folder2
in each folder bunch of aspx pages. You could write file crawler app to loop through each dir / sub dir and open the aspx page. Then you could load it into html agility doc, then xpath out meta data / page title, then use an xpath to get to main content area not sure what your pages look like but lets say you have
main page contet here
you could then xpath into the doc /body/div and get the content then using the umbraco api / webservices create document and save. Very simple example probably missing quite a few steps but just trying to give you an idea of how you could import your stuff into umbraco.
umbraco 4.0 - Importing .aspx pages directly into umbraco
Hi
After checking few posts and tools on forums, I have seen some add on dll's and tools to do the import from existing aspx, xslt, css etc files.
[b]In order to start move my existing site to Umbraco 4.0 I like to directly import .aspx pages from my existing site instead of manually copy/pasting the page content.
[/b]
I like to check if any added functionality exist in umbraco 4.0 to directly import .aspx pages into umbraco and publish?
your insight and help is appreciated.
Regards
ukda,
take look at richards import tool currently works with members paid version will when its released work with content.
Regards
Ismail
Comment author was deleted
@ismail, richards tool works with both content and members, paid version will add some extra functionality , like scheduled import and saving of import settings.
@ukda there is no tool to import aspx pages into umbraco. You could create some kind of site crawler that will import all pages of a website.
Tim,
Thanks for that i though it only handled members. Ukda I have in the used htmlagility kit as part of a crawler to extract content may prove useful to xpath out content and meta data that you could then using umbraco document webservice upload content.
Regards
Ismail
Ismail
Thank you. can you make it clear please. After checking htmlagility kit on codeplex i like to know what exactly it does and more information.
your insight is appreciated.
Regards
ukda,
It can parse html pages and make them behave like xml documents so you can xpath into them. So in your website if you have
c:\inetpub\wwwroot
\folder1
\folder2
in each folder bunch of aspx pages. You could write file crawler app to loop through each dir / sub dir and open the aspx page. Then you could load it into html agility doc, then xpath out meta data / page title, then use an xpath to get to main content area not sure what your pages look like but lets say you have
main page contet here
you could then xpath into the doc /body/div and get the content then using the umbraco api / webservices create document and save. Very simple example probably missing quite a few steps but just trying to give you an idea of how you could import your stuff into umbraco.
Regards
Ismial
is working on a reply...