Tidy Question

Hi there… we are currently trying to get a standalone script written that recursively scans our current web content, and forces a clean (amost other things) and converts to xhtml output…


I currently have these options set for tidy, but what I would like to know what others should I include so that the script does not fall over on frontpage created pages…



Basically I want to force it to clean the content and overwrite the current files… so that when we cut and past into matric, some of the crap has already been eliminated…



Any additional parameters would be apprecaited.



Cheers


    output-xhtml: yes
    force-output: yes
    word-2000: yes
    indent: auto
    newline: LF
    clean: yes
    drop-font-tags: yes
    drop-proprietary-attributes: yes
    fix-backslash: yes
    fix-uri: yes
    write-back: yes
    indent-spaces: 2
    wrap: 72
    markup: yes
    output-xml: no
    input-xml: no
    show-warnings: yes
    numeric-entities: yes
    quote-marks: yes
    quote-nbsp: yes
    quote-ampersand: yes
    break-before-br: no
    uppercase-tags: no
    uppercase-attributes: no
    char-encoding: latin1
    new-inline-tags: cfif, cfelse, math, mroot,
      mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover,
      munder, mover, mmultiscripts, msup, msub, mtext,
      mprescripts, mtable, mtr, mtd, mth
    new-blocklevel-tags: cfoutput, cfquery
    new-empty-tags: cfelse

Hi,


maybe I don't really understand what you want to do, but isn't 'system_integrity_run_tidy.php' doing what you want to acheive?

coolvik: He plans on running Tidy on content before its migrated to Matrix.


Mystik: Can you be around tomorrow morning? I'll show you the absolutely cool Structured HTML Import tool. I think it may do what you want already.

[quote]coolvik: He plans on running Tidy on content before its migrated to Matrix.


Mystik: Can you be around tomorrow morning? I’ll show you the absolutely cool Structured HTML Import tool. I think it may do what you want already.

[right][post=“10200”]<{POST_SNAPBACK}>[/post][/right][/quote]



Avi,



Sorry been busy this am only just into the office, so I guess that I will miss the cool import tool

[quote]Sorry been busy this am only just into the office, so I guess that I will miss the cool import tool
[right][post=“10201”]<{POST_SNAPBACK}>[/post][/right][/quote]



No, we’re doing it tomorrow (Friday) morning. :slight_smile:

[quote]No, we’re doing it tomorrow (Friday) morning. :slight_smile:
[right][post=“10202”]<{POST_SNAPBACK}>[/post][/right][/quote]



Ok have a couple of things on tomorrow morning, but might send the Project Manager instead as he would be the one really interested, and of course the one who has the say on the money. :smiley: