Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Open Graph metadata for Quotes (#170) #176

Merged
merged 1 commit into from
Jul 29, 2016

Conversation

rexim
Copy link
Member

@rexim rexim commented Jul 29, 2016

Supported fields:

  • og:title
  • og:type (with custom loglist:quote type)
  • og:image
  • og:description
  • og:url

Close #170

Supported fields:
- og:title
- og:type (with custom loglist:quote type)
- og:image
- og:description
- og:url
@ForNeVeR
Copy link
Member

Thanks, looks good to me. Will deploy.

@ForNeVeR ForNeVeR merged commit d7360f5 into master Jul 29, 2016

@entity(s"Log List ⚙ Цитата #${quote.id}",
"loglist:quote",
routes.Assets.at("images/gear_400x400.png").absoluteURL(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we provide two images—the original in SVG and a fallback in PNG?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah, too much of an effort. Let's create a separate issue for that and implement it if it's really needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll create a PR for that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant I'll research and not create a PR for that because of reasons.

@ForNeVeR ForNeVeR deleted the feature/social-metadata-170 branch July 29, 2016 14:03
@@ -0,0 +1,7 @@
@(quote: models.data.Quote)(implicit requestHeader: play.api.mvc.RequestHeader)

@entity(s"Log List ⚙ Цитата #${quote.id}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use “№” in RSS but “#” here and on the web. Shouldn't it be consistent?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I'll create a separate PR for this later. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants