#1229 ✓resolved

Feature request: add og: support to meta tags

Reported by dleffler | October 20th, 2014 @ 01:15 PM | in 2.3.5 (closed)

We should support the open graphics meta tag for our pages, esp. w/ posts. e.g., facebook tends to locate the first image on the pasted link page with an 'alt' tag...we should somewhat force the process with an og:image meta markup with either the first post attached image or allow the user to attach a specific image on the SEO tab.

Comments and changes to this ticket

  • dleffler

    dleffler October 21st, 2014 @ 12:03 AM

    • Title changed from “Feature request: add of:image support to meta tags” to “Feature request: add og:image support to meta tags”
  • dleffler

    dleffler June 4th, 2015 @ 07:28 PM

    • Title changed from “Feature request: add og:image support to meta tags” to “Feature request: add og: support to meta tags”
    • Tag changed from seo-sef to facebook, seo-sef
    • Assigned user set to “dleffler”

    Probably best to begin with blog posts (article?) Adding

    • title (88 chars?)
    • type (article, blog, product, audio, video
    • description (200 chars or less?)
    • image (1200x630, 600x315, > 200x200)
    • url (canonical)
    • site_name (optional?)
    • fb:app_id and/or fb:admins ???

    Would also be picked up by Twitter and Pinterest

    Add as module option, then show seo-like item edit tab which default fills like seo tab.

    Also might add to products, news, and filedownloads

  • expNinja

    expNinja June 6th, 2015 @ 04:13 PM

    • State changed from “new” to “resolved”
    • Milestone set to 2.3.5

    (from [3758ed39825de2bc73c4899c91f851eb30c49315]) Adds og: meta tags (facebook) to store products, blogs, news, & filedownloads (can be disabled within the blog, news, & filedownload module or by the expTheme::head() 'meta' config); cleans up 'canonical links to use reverse router_maps & also fixes some canonical links; updates expString::parseAndTrim to be recursive for multi-level arrays [#1229 milestone:2.3.5 responsible:dleffler state:resolved][#1129 milestone:2.3.5 responsible:dleffler state:resolved] https://github.com/exponentcms/exponent-cms/commit/3758ed39825de2bc...

  • expNinja

    expNinja June 7th, 2015 @ 01:12 AM

    (from [c2c4d981c0cbdd2637238b04f0f35454e5097eaf]) Implement a more efficient facebook meta approach using new expController->meta_fb() method; also ensure og:title/og:description lengths are acceptable even for tweets [#1229] https://github.com/exponentcms/exponent-cms/commit/c2c4d981c0cbdd26...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Referenced by