$for entry in entries:
$ e = entry["resource"]
$ type = discover_post_type(e)
$if type == "note":
$e["content"]
$elif type == "like": $ like = e["like-of"][0]Liked $like["name"]
$elif type == "bookmark": $ bookmark = e["bookmark-of"][0]Bookmarked $bookmark["name"]
$elif type == "identification": $ identification = e["identification-of"][0]Identified $identification["name"]
$elif type == "follow": $ follow = e["follow-of"][0]Followed $follow["name"]
$elif type == "rsvp": $ event = e["in-reply-to"][0]RSVP'd $e["rsvp"]