how to import an existing website into mojoportal?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/15/2008 2:47:46 PM
Gravatar
Total Posts 6

how to import an existing website into mojoportal?

Hi,

I'm very new to mojoportal and I want to ask how to import an existing Website into mojoPortal?
The website consists mainly of more or less static HTML pages and a few ASPX sites to search for specific agents!
Can it be done by first creating a mojoportal site, let's say 'makler' and then copying the website's html under the makler site?

Thanks for every advice,

kind regards, Walter

9/16/2008 7:45:10 AM
Gravatar
Total Posts 18439

Re: how to import an existing website into mojoportal?

Hi Walter,

No, there is no automatic way to import content from static html files. You would have to re-create those pages in mojoportal and you could copy and paste content from the existing pages. I would use the Paste as Text toolbar item in the editor to remove all html m,arkup from the pasted content and then reformat it using the editor.

You should watch some of the training videos from here to get up to speed on using mojoPortal first:

http://www.mojoportal.com/trainingvideos.aspx

There is also a Html include module in mojoPortal that may be useful for you. You can add an instance of this module to a mojoPortal page and then point the module at an html file. The files must be located in a specific folder /Data/Sites/[SiteID]/htmlfragments

Note that you would need to modify the html files to remove the outer html tags, ie remove html, head, and body tags and leave only the content that was inside the body tag. Hence the name Html fragment. mojoPortal already provides the html, head, and body tags and they are not allowed to be duplicated, so your html fragment files can't have those tags in them.

There is also no easy answer I can give you about integrating your existing ASPX pages, you will need to get up to speed with the developer documentation in order to come up with yur own integration strategy.

Hope it helps,

Joe

9/16/2008 8:07:20 AM
Gravatar
Total Posts 6

Re: how to import an existing website into mojoportal?

Hi Joe,

thank you for your answer. I'll try it out and tell here afterwards!

Kind regards, Walter

You must sign in to post in the forums. This thread is closed to new posts.