Beispiel #1
0
func AddToManager(manager *extension.Manager) {
	manager.AddElementExtension("entry", _inreplyto, newInReplyToElement, xmlutils.UniqueValidator(atom.AttributeDuplicated))
	manager.AddElementExtension("entry", _total, newTotalElement, xmlutils.UniqueValidator(atom.AttributeDuplicated))
	manager.AddAttrExtension("link", _count, newCountAttr, atom.AttributeDuplicated)
	manager.AddAttrExtension("link", _updated, newUpdatedAttr, atom.AttributeDuplicated)

}
Beispiel #2
0
func AddToManager(manager *extension.Manager) {
	manager.AddElementExtension("item", CREATOR, NewCreatorElement, xmlutils.UniqueValidator(rss.AttributeDuplicated))

}