Enabling this setting will add social media meta tags (Facebook OpenGraph and Twitter) to pages, so that when you share a Plone webpage on services like Facebook and Twitter, links and images will be better formatted.
Note
This does not add any “sharing buttons”, nor will it connect to the social media networks (often unacceptable in corporate or intranet settings). There is a variety of add-ons that provide this functionality.
Social Media metadataΒΆ
*** Settings *** Resource plone/app/robotframework/server.robot Resource plone/app/robotframework/keywords.robot Resource Selenium2Screenshots/keywords.robot Library OperatingSystem Suite Setup Run keywords Suite Setup Test Setup Suite Teardown Run keywords Test teardown Suite Teardown *** Variables *** ${FIXTURE} plone.app.robotframework.PLONE_ROBOT_TESTING @{DIMENSIONS} 1024 768 @{APPLY_PROFILES} plone.app.contenttypes:plone-content *** Keywords *** Suite Setup Run keyword if not sys.argv[0].startswith('bin/robot') ... Setup Plone site ${FIXTURE} Run keyword if sys.argv[0].startswith('bin/robot') ... Open test browser Run keyword and ignore error Set window size @{DIMENSIONS} Test Setup Import library Remote ${PLONE_URL}/RobotRemote Run keyword if sys.argv[0].startswith('bin/robot') ... Remote ZODB SetUp ${FIXTURE} ${language} = Get environment variable LANGUAGE 'en' Set default language ${language} Enable autologin as Manager ${user_id} = Translate user_id ... default=jane-doe ${user_fullname} = Translate user_fullname ... default=Jane Doe Create user ${user_id} Member fullname=${user_fullname} Set autologin username ${user_id} Test Teardown Run keyword if sys.argv[0].startswith('bin/robot') ... Remote ZODB TearDown ${FIXTURE} Suite Teardown Run keyword if not sys.argv[0].startswith('bin/robot') ... Teardown Plone Site Run keyword if sys.argv[0].startswith('bin/robot') ... Close all browsers*** Test Cases *** Show socialmedia setup screen Go to ${PLONE_URL}/@@social-controlpanel Capture and crop page screenshot ... ${CURDIR}/../../_robot/social-setup.png ... css=#contentEnabling this setting will add social media meta tags (Facebook OpenGraph and Twitter) to pages, so that when you share a Plone webpage on services like Facebook and Twitter, links and images will be better formatted.
Note
This does not add any “sharing buttons”, nor will it connect to the social media networks (often unacceptable in corporate or intranet settings). There is a variety of add-ons that provide this functionality.