lib/fluent/plugin/out_rackspace_cloud_feeds.rb
def atomic_wrapper(content, time)
    # date format
    now = DateTime.strptime(time.to_s, '%s').strftime("%FT%T.%LZ")

    <<EOF
<entry xmlns="http://www.w3.org/2005/Atom">
    <id>#{SecureRandom.uuid.to_s}</id>
    <title type="text">User Access Event</title>
    <author><name>Repose</name></author>
    <updated>#{now}</updated>
    <content type="text">#{content}</content>
</entry>
EOF
  end
##
# putting content into an atom entry document
putting content into an atom entry document
putting content into an atom entry document
def atomic_wrapper(content, time)
    now = DateTime.strptime(time.to_s, '%s').strftime("%FT%T.%LZ")
    <<EOF
<entry xmlns="http://www.w3.org/2005/Atom">
    <id>#{SecureRandom.uuid.to_s}</id>
    <title type="text">User Access Event</title>
    <author><name>Repose</name></author>
    <updated>#{now}</updated>
    <content type="text">#{content}</content>
</entry>
EOF
  end
def atomic_wrapper ( content , time ) now = DateTime . strptime ( time . to_s , '%s' ) . strftime ( "%FT%T.%LZ" ) <<EOF 
<entry xmlns="http://www.w3.org/2005/Atom">
    <id> #{ SecureRandom . uuid . to_s } </id>
    <title type="text">User Access Event</title>
    <author><name>Repose</name></author>
    <updated> #{ now } </updated>
    <content type="text"> #{ content } </content>
</entry>
 EOF end
putting content into an atom entry document
putting content into an atom entry document
# date format
content
time