The simple approach with parseFunc_RTE does not work, because we need to act on the attribut. So, this code is tested with css_styled_content TYPO3 6.1. So, just use the tags function:
# we parse the HTML, but we only focus on tag *area*
# i created an COA, because IMHO it is easier to maintain.
# i guess, it would be possible in a few lines only, but i did not tested that
tt_content.html.parseFunc.tags.area = COA
tt_content.html.parseFunc.tags.area {
wrap = <area |/>
20 = TEXT
# all attributs are loaded into parameters array
20.data = parameters:shape
20.noTrimWrap = | shape="|" |
30 = TEXT
30.typolink.parameter.data = parameters:href
# we only need the URL, not the full link
30.typolink.returnLast = url
30.noTrimWrap = | href="|" |
40 = TEXT
40.data = parameters:coords
40.noTrimWrap = | coords="|" |
50 = TEXT
50.data = parameters:alt
50.noTrimWrap = | alt="|" |
}
# for testcase, create TS-Template with css_styled_content included
# and create html-record on that page in column 0
page = PAGE
page.10 < styles.content.get