documentElement); $this->assertFalse(empty($act)); $this->assertEquals($act->time, 1243860840); $this->assertEquals($act->verb, ActivityVerb::POST); } } $_example1 = << tag:versioncentral.example.org,2009:/commit/1643245 2009-06-01T12:54:00Z Geraldine committed a change to yate Geraldine just committed a change to yate on VersionCentral http://activitystrea.ms/schema/1.0/post http://versioncentral.example.org/activity/commit http://versioncentral.example.org/activity/changeset tag:versioncentral.example.org,2009:/change/1643245 Punctuation Changeset Fixing punctuation because it makes it more readable. EXAMPLE1; $_example2 = << tag:photopanic.example.com,2008:activity01 Geraldine posted a Photo on PhotoPanic 2008-11-02T15:29:00Z http://activitystrea.ms/schema/1.0/post tag:photopanic.example.com,2008:photo01 My Cat 2008-11-02T15:29:00Z tag:atomactivity.example.com,2008:photo Geraldine's Photos <p>Geraldine posted a Photo on PhotoPanic</p> <img src="/geraldine/photo1.jpg"> EXAMPLE2;