Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70933

Open Graph URL Previews

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • 3.10.1, 3.11, 4.0
    • Resource

    Description

      Hi all, This is my first patch I'm submitting for my team.

      This patch adds support for Open Graph URL preview on mod_url. This feature was requested by our instructional design team and was well received. We hope the Moodle community will feel the same.

      This patch replaces the workaround behavior of mod_url with an improved open graph enabled display with a preview image and description. It also adds a display option called "Preview" which shows this page.

      Here's the patch on master and 3.11.

       

      master

      https://github.com/jgreen01su/moodle/tree/MDL-70933-master-url_og_preview

       

      3.11

      https://github.com/jgreen01su/moodle/tree/MDL-70933-311-url_og_preview

       

      See also preview tools:

      https://developers.facebook.com/tools/debug/

      https://medium.com/slack-developer-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254

      https://embed.ly/docs/explore/extract?url=https%3A%2F%2Ftracker.moodle.org%2Fbrowse%2FMDL-70933

       

       

      Attachments

        1. lib_classes_local_url_unfurl.patch
          5 kB
        2. lib_db_caches.patch
          0.5 kB
        3. mod_url_lang_en_url.patch
          1 kB
        4. mod_url_lib.patch
          0.6 kB
        5. mod_url_locallib.patch
          5 kB
        6. mod_url_settings.patch
          1 kB

        Issue Links

          Activity

            People

              brendanheywood Brendan Heywood
              jgreen01 Jon Green
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.