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

Improve internal API

Added by Andriy Lesyuk almost 10 years ago. Updated almost 10 years ago.

Status:
Open
Priority:
Normal
Assignee:
Target version:
-
Start date:
09 Jun 2014
Due date:
% Done:

0%

External issue:

Description

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:

<%= 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, topic, :only_path => false)
    end %>

History

#1 Updated by Andriy Lesyuk almost 10 years ago

  • Description updated (diff)

#2 Updated by Andriy Lesyuk almost 10 years ago

  • Description updated (diff)

Also available in: Atom PDF

Terms of use | Privacy policy