1. A computer-implemented method for processing posts in activity streams, comprising: receiving, with one or more computing devices, a client type specifying a type of a client device; receiving, with the one or more computing devices, activity information from an activity source; receiving, with the one or more computing devices, an activity type; creating, with the one or more computing devices, a first protocol buffer using the activity type and the activity information; selecting, with the one or more computing devices, embedded code from a library of embedded code based in part upon the client type and the activity type; adding, with the one or more computing devices, the embedded code to the first protocol buffer to create a second protocol buffer; and sending, with the one or more computing devices, the second protocol buffer for rendering of the activity information.
1. A computer-implemented method for processing posts in activity streams, comprising: receiving, with one or more computing devices, a client type specifying a type of a client device; receiving, with the one or more computing devices, activity information from an activity source; receiving, with the one or more computing devices, an activity type; creating, with the one or more computing devices, a first protocol buffer using the activity type and the activity information; selecting, with the one or more computing devices, embedded code from a library of embedded code based in part upon the client type and the activity type; adding, with the one or more computing devices, the embedded code to the first protocol buffer to create a second protocol buffer; and sending, with the one or more computing devices, the second protocol buffer for rendering of the activity information. 3. The method of claim 1 wherein creating the first protocol buffer also uses the client type to determine the first protocol buffer.