[TYPO3-rte] RTE transformation upon saving using TCEmain

Stanislas Rolland typo3 at sjbr.ca
Wed Dec 1 20:32:51 CET 2010


Hi François,
>
> I'm importing data from some external source into TYPO3 records. One
> particular field is supposed to use the RTE. The external data that goes
> into this field is HTML.
>
> The external data is stored using TCEmain. When I look at my imported
> data, it seems like the HTML was stored as is, no transformation took
> place. For example, all <p> tags were still there. If I edit an imported
> record and save it again, the <p> tags are gone, as expected. What
> "option" do I need to pass in my TCEmain command, so that the HTML is
> cleaned up upon import? Is it some RTE configuration? TCA?
>
TCEmain looks for the data to be transformed in incoming field 
"_TRANSFORM_fieldname". The transformed content is stored in field 
"fieldname".

I don't know if this helps. Alternatively, you could invoke the RTE 
transformation directly before invoking TCEmain.

Regards,
Stan






More information about the TYPO3-project-rte mailing list