Copied to clipboard

Flag this post as spam?

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


  • ukda 17 posts 20 karma points
    Apr 01, 2009 @ 13:55
    ukda
    0

    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

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 01, 2009 @ 14:12
    Ismail Mayat
    0

    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

    Apr 01, 2009 @ 16:14

    @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.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 01, 2009 @ 16:48
    Ismail Mayat
    0

    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

  • ukda 17 posts 20 karma points
    Apr 02, 2009 @ 11:00
    ukda
    0

    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

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Apr 02, 2009 @ 11:18
    Ismail Mayat
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft