Hi I am new to this community and I am a Drupal user for 2 years now. I know very little PHP but know a lot about HTML.
I am not a programmer, so need some help from this community.
My friend asked me to help importing a static HTML dictionary for one of the aboriginal languages of Australia. I used importHTML for that, but it took off the character/font styles. Could importHTML keep them somehow or could someone write a pache that would do that?
Really appreciate your help and knowledge on this. My friend is doing a very good work for preserving the language and culture of the aboriginals and I like to help them.

Comments

spflanze’s picture

This issue was discussed here:
http://drupal.org/node/1115014
See post #2.

In the file import_html/coders_php_library/bin/xhtml_tidy.conf make these config settings as shown:

; strip font definitions and crap
clean: no
drop-font-tags: no
dman’s picture

Status: Active » Closed (works as designed)

Good answer.

From the README (walkthrough.html)

Hey, where's my formatting?

Did you check the "Input Format" in the settings page? If it's
"Filtered HTML" then chances are a bunch of legacy tags aren't making it
to the screen. They are still there though! Recommended setting for
imports is 'Unfiltered HTML'.

No really, where's my formatting?

We've left behind a lot of the old formatting info. HTMLTidy has been
run agressively on the sources, to remove inline styles, and any CSS
includes that used to be in the headers were not brought forward. That's
sorta the point of this process. We've now got a squeaky-clean set of content
that you can apply new Drupal themes to.