Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
collective.fbshare
Provide some additional Open Graph meta tag in your Plone site, so share items on Facebook will be simpler
Readme
Add new meta tags to you Plone site, for better controlling how your items are shared on Facebook.
.. contents:: Table of contents
Are you commonly sharing contents from your Plone site or a site page to a Facebook
__ account?
When you use the nice Facebook sharing interface, you have a simple way to customize additional data for the item
that will be published (mainly: choose a proper image from the remote page).
However when trying to do this automatically (e.g: you are publishing the link in a Twitter
__ account that also
feed a Facebook page) Facebook is choosing an image for you... and often this is not the image you want.
How can you solve this? In general you can provide some additional meta
tag information using
Open Graph standard
__, customizing many aspect of the way of sharing contents on Facebook.
__ http://developers.facebook.com/docs/opengraph/
Installing collective.fbshare product and add some additional meta
tags in the head section of your site.
When sharing the site root, you'll get:
og:type
Always website
og:url
The URL to the site
og:image
See next section
og:title
The name of the site
og:description
The description of the site
When sharing site content's you'll get:
og:type
Always article
og:url
The URL to the content
og:site_name
The name of the Plone site
og:image
See next section
og:title
The title of the content
og:description
The description of the content
article:published_time
The publication date of the content (when present)
article:expiration_time
The expiration date of the content (when present)
article:author
A link to the creator's page. This will be used only when you choose to display
the about info of site user's
article:tag
List of content tags
In the site control panel you can access a new configuration panel named "Open Graph sharing settings". From there you can:
provide a custom image content to be used as og:image
choose to use the site's logo as og:image
enable support for content images, this mean that content types with image field will be able to
provide that image instead of a global ones.
Also supported collective.contentleadimage
__
Another very common plugin that add meta
tag in Plone Pages is sc.social.like
__.
As adding duplicate meta tag is reported as an error by Facebook verification, collective.fbshare will hide some of the sc.social.like HTML elements when both products are installed.
__ http://plone.org/products/sc.social.like
Tested on:
On Plone 3.3 you need to configure properly plone.app.registry
__ dependencies and upgrade
the default version used of plone.z3cform
__.
__ http://pypi.python.org/pypi/plone.app.registry __ http://pypi.python.org/pypi/plone.z3cform
There's another Plone package that will give you Open Graph support: collective.opengraph
__
__ http://plone.org/products/collective.opengraph
Developed with the support of:
S. Anna Hospital, Ferrara
__
.. image:: http://www.ospfe.it/ospfe-logo.jpg :alt: S. Anna Hospital logo
Regione Emilia Romagna
__
All of them supports the PloneGov initiative
__.
__ http://www.ospfe.it/ __ http://www.regione.emilia-romagna.it/ __ http://www.plonegov.it/
This product was developed by RedTurtle Technology team.
.. image:: http://www.redturtle.it/redturtle_banner.png :alt: RedTurtle Technology Site :target: http://www.redturtle.it/
#7
__
[keul]__ https://github.com/RedTurtle/collective.fbshare/issues/7
article:tag
as array [keul]When visiting a folderish content refers to folder URL, not default
page URL (close #2
__) [jnachtigall]
og:image
was broken
[keul]FAQs
Provide some additional Open Graph meta tag in your Plone site, so share items on Facebook will be simpler
We found that collective.fbshare demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.