I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Feature #2303

Updated by Andriy Lesyuk almost 10 years ago

Developers of third-party plugins should be able to add Open Graph and Twitter Cards to their pages +easily*. For this the code for generating Open Grapth and Twitter data should be moved to a nice API like:

<pre><code class="rhtml">
<%= Meta.open_grapth(:article) do
title topic.board.name: topic.subject
description meta_description
author topic.author
images meta_images
published_time topic.created_on
modified_time topic.updated_on
url board_message_path(topic.board, url_for(:controller => 'messages', :action => 'show', :board_id => topic.board, :id => topic, :only_path => false)
end %>
</code></pre>

Back

Terms of use | Privacy policy