|
|
@ -158,11 +158,12 @@ module AtomBuilderHelper
|
|
|
|
|
|
|
|
|
|
|
|
if stream_entry.targeted?
|
|
|
|
if stream_entry.targeted?
|
|
|
|
target(xml) do
|
|
|
|
target(xml) do
|
|
|
|
|
|
|
|
simple_id xml, TagManager.instance.uri_for(stream_entry.target)
|
|
|
|
|
|
|
|
|
|
|
|
if stream_entry.target.object_type == :person
|
|
|
|
if stream_entry.target.object_type == :person
|
|
|
|
include_author xml, stream_entry.target
|
|
|
|
include_author xml, stream_entry.target
|
|
|
|
else
|
|
|
|
else
|
|
|
|
object_type xml, stream_entry.target.object_type
|
|
|
|
object_type xml, stream_entry.target.object_type
|
|
|
|
simple_id xml, TagManager.instance.uri_for(stream_entry.target)
|
|
|
|
|
|
|
|
title xml, stream_entry.target.title
|
|
|
|
title xml, stream_entry.target.title
|
|
|
|
link_alternate xml, TagManager.instance.url_for(stream_entry.target)
|
|
|
|
link_alternate xml, TagManager.instance.url_for(stream_entry.target)
|
|
|
|
end
|
|
|
|
end
|
|
|
|