I'm sure this question has been asked before but here we go again is there a way for me to use any HTML file in drupal 6 for instance I need to create new content but the content is an HTML file present on my server I see no option for importing or linking to this file in my page content

can someone point me in the right direction

thank you
mike

Comments

Ravish’s picture

You can use file attachments to attach the HTML file with the node.

netbabu’s picture

Importing and linking are two different processes.

If you install FCKeditor module:

http://drupal.org/project/fckeditor

You will find it easy to copy and paste HTML from various sources. You may call this process as "importing".

Or for easy linking without copying code - you may just use iframe tags.

-Babu
Promote Drupal with Tshirts/merchandise: http://paramprojects.com/drupalstore
Drupal Projects showcase: http://paramprojects.com/website/drupal-servicesprojects

anna123-dupe’s picture

We are working on a website that currently resides on a server that is not our main server. We were wondering how we could migrate the entire website from the existing server to our main server.

mok000’s picture

You can use a snippet of PHP to import your HTML file into a page or blog entry or whatever. For example:

print file_get_contents("/home/static/file.html"); 

That function can also fetch the file from another server (i.e. an URL) if your PHP installation is set up for it.