معرفی شرکت ها


collective.opengraph-1.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Plone opengraph integration
ویژگی مقدار
سیستم عامل -
نام فایل collective.opengraph-1.0.1
نام collective.opengraph
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Giorgio Borelli
ایمیل نویسنده giorgio@giorgioborelli.it
آدرس صفحه اصلی http://plone.org/products/collective.opengraph
آدرس اینترنتی https://pypi.org/project/collective.opengraph/
مجوز GPL
collective.opengraph ==================== This package is a part of the Plone's collective.fg bundle. It adds the opengraph metadata to your HTML head section. Supported metadata: * og:site_name name of the site * og:url url of the webpage * og:title title of the webpage * og:description description of the webpage * og:image your webpage image (either 'image' field of your context or collective.contentleadimage one) from the control panel you can manage following settings: - the default og:type - which content types should be opengraph metadata aware Customization ------------- One of the goals of this package is to allow developers extend the default metadata definition. It's availabe threw IOpengrapMetatags adapter:: from collective.opengraph.interfaces IOpengraphMetatags from collective.opengraph.viewlets import ATMetatags class MyATMetatags(ATMetatags): implements(IOpengrapMetatags) @property def metatags(self): tags = super(MyATMetatags, self).metatags tags.update({'og:newtype': 'custom value'}) return tags You can also customize existing og values:: from collective.opengraph.interfaces IOpengraphMetatags from collective.opengraph.viewlets import ATMetatags class AnotherMetatags(ATMetatags): implements(IOpengrapMetatags) @property def title(self): return '%s - Lorem ipsum' % self.context.Title() Changelog ========= 1.0.1 (2012-10-16) ------------------ - Docs update and fixed manifest file [amleczko] 1.0 (2012-10-15) ---------------- - refactored and release during PloneConf2012 sprint [amleczko] 0.1dev (unreleased) ------------------- - added action to (un)mark 'IOpengraphable' content types - added translations - registered viewlet for 'IOpengraphable' content types - added og:type meta tag - added default configurations in IRegistry - first release


نحوه نصب


نصب پکیج whl collective.opengraph-1.0.1:

    pip install collective.opengraph-1.0.1.whl


نصب پکیج tar.gz collective.opengraph-1.0.1:

    pip install collective.opengraph-1.0.1.tar.gz