Hi,
damit Google bestimmten Inhalt besser semantisch erfassen kann, wollte ich für den RTE eigene Tags zulassen > Rich snippets. Leider schmeißt mir der Parser diese immer wieder raus. iframe/object funktioniert hingegen einwandfrei.
Hat jemand eine Idee, woran das liegen könnte, dass z.B.
<div itemprop="test"> wieder auf <div> zurückgesetzt wird?
RTE.default.proc {
# Allow embed (Youtube) HTML tags in the RTE
allowTags := addToList(object,param,embed,iframe,itemprop)
allowTagsOutside := addToList(object,embed,iframe,itemprop)
entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
entryHTMLparser_db.tags {
p.fixAttrib.align.unset >
p.allowedAttribs = class,style,align,itemprop,itemtype
div.fixAttrib.align.unset >
div.allowedAttribs = class,style,align,itemprop,itemtype
}
}
# Allow embed (Youtube) HTML tags in the RTE
lib.parseFunc_RTE.allowTags := addToList(object,param,embed,iframe,itemprop)
Danke!
TC