{appName, select,
        feed {{
            parentType, select,
                group {{isShared, select,
                   1 {<profile>profile</profile>}
                   other {added an event in <profile>profile</profile>}
                }}
                page {{isShared, select,
                   1 {<profile>profile</profile>}
                   other {added an event in <profile>profile</profile>}
                }}
                other {added an event}
        }}

        other {{isShared, select,
            1 {{parentType, select,
                0 {added an event}
                other {<profile>profile</profile>}
            }}
            other {added an event}
        }}
    }