From 37c0529c520ed91f816c22780dc85d682a76ea7b Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 27 Jun 2012 12:11:49 +0100 Subject: [PATCH] Add extra Layar properties to POIs --- app/helpers/posts_helper.rb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/app/helpers/posts_helper.rb b/app/helpers/posts_helper.rb index 9a03298..25b6eb7 100644 --- a/app/helpers/posts_helper.rb +++ b/app/helpers/posts_helper.rb @@ -10,7 +10,20 @@ module PostsHelper :alt => 0 } }, - :title => post.title + :text => { + :title => post.title, + :description => post.summary, + :footnote => "From #{post.feed.title}" + }, + :actions => [ + { + :label => "Read more...", + :uri => post.url, + :contentType => "text/html", + :method => "GET", + :activityType => 1 + } + ] } end end