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

OGP / Twitter card #236

Open
jinjor opened this issue Jun 4, 2017 · 2 comments · May be fixed by #284
Open

OGP / Twitter card #236

jinjor opened this issue Jun 4, 2017 · 2 comments · May be fixed by #284
Labels

Comments

@jinjor
Copy link
Contributor

jinjor commented Jun 4, 2017

I shared my package on Twitter but it was not appealing so much.

I suggest adding some OGP information like this:

  <meta property="og:type" content="website">
  <meta property="og:site_name" content="Elm Packages">
  <meta property="og:title" content="elm-xml-parser">
  <meta property="og:url" content="http://package.elm-lang.org/packages/jinjor/elm-xml-parser/latest/">
  <meta property="og:image" content="/assets/elm_logo.svg">
  <meta property="og:description" content="XML Parser for Elm">
@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz
Copy link
Member

evancz commented Jul 11, 2017

Thanks for the suggestion! I did not know about this, but this definitely will make things nicer!

@evancz evancz added the request label Jul 11, 2017
iiska added a commit to iiska/package.elm-lang.org that referenced this issue Oct 17, 2018
Renders OGP metadata for package documentation pages which could be used
to enable prettier rendering of Elm package links when shared at social
sites, chat rooms and forums.

For example `elm/http` would have following metadata section:

```html
<meta property="og:site_name" content="Elm Packages">
<meta property="og:title" content="http 1.0.0">
<meta property="og:image" content="https://package.elm-lang.org/assets/elm_logo.svg">
<meta property="og:description" content="Make HTTP requests">
```

Could resolve elm#236.
@iiska iiska linked a pull request Oct 17, 2018 that will close this issue
iiska added a commit to iiska/package.elm-lang.org that referenced this issue Nov 8, 2018
Renders OGP metadata for package documentation pages which could be used
to enable prettier rendering of Elm package links when shared at social
sites, chat rooms and forums.

For example `elm/http` would have following metadata section:

```html
<meta property="og:site_name" content="Elm Packages">
<meta property="og:title" content="elm/http 1.0.0">
<meta property="og:image" content="https://package.elm-lang.org/assets/elm_logo.svg">
<meta property="og:description" content="Make HTTP requests">
```

Could resolve elm#236.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants