I want to convert my HTML pages into Drupal content, one by one. I don't need to migrate CSS, themes, or the layout. Just the way my existing pages appear as a result of their HTML. I read in another thread that using FCKEditor or Web Developer with Firefox makes this process easier but noone explains how. I'm missing the connection there. I mean it isn't possible to just insert HTML into a drupal page or story?

Comments

dman’s picture

If you want to cut & paste HTML from existing source, you may want to create an input format/filter that does nothing (not even line breaks)
in admin/filters/add
create a format called 'unfiltered HTML' with no filters on it.

Then when creating a new page, choose that from your 'input formats' before pasting code into the body of a node.

OR, if you have lots of existing content you are trying to migrate, have a look at import html - it's a bit complex, but designed for bulk imports.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

frjo’s picture

Just copy everything between, but not including, the tags <body> and </body> and paste into the body of a Drupal node.

Make sure you are using a input filter that allows the html tags you are using.

Corda’s picture

oh ok I had already created an 'unfiltered HTML' input option as suggested in another thread but forgot to actually select it when adding content.

I'm currently creating my new site in a subfolder, while keeping my existing site live. Will it be difficult to move the drupal site to the root directory or will my links be all messed up?