I want to import static html reports generated for source code by code analysis tools like doxygen, understand. Is there any module that can import the html reports generated by these tools directly into drupal? I tried import html without any success. Any tried and tested procedure to achieve this feature ?
You can do it with the built-in text filter named "PHP Code". To get access to this, you need to first enable the core PHP Filter module (in core, but disabled by default). Then navigate to Home » Administration » Configuration » Content authoring » Text formats and allow the Administrator to use the filter named "PHP code".
Now the Administrator can create nodes that use the PHP include statement to embed static HTML pages in Drupal nodes. For example, to import a static HTML page located in the Drupal root named
static.html, create a Basic page node with this contents:
<?php include $_SERVER['DOCUMENT_ROOT'] . '/static.html'; ?>
and set its text format to "PHP Filter".
Note that the "PHP code" text filter allows arbitary PHP to be embedded into nodes, so make sure that only highly trusted users have access to this filter.