This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Introduction

This package customize main_template and plone.path_bar, plone.global_sections, plone.header viewlets to insert Schema.org attributes (itemscope, itemtype and itemprop).

Warning! Installing this package the main_template and plone.path_bar, plone.global_sections, plone.header viewlets will be customized, to insert Schema.org attributes. The customizations of these resources in other Themes and Skins could be disabled.

If you don’t want to install the collective.perseoschema package, but you still want Schema.org attributes, the following are the customizations you can do in your theme.

Customizations of plone.path_bar viewlet at these points:

  • Line 2 of path_bar.pt, added itemprop attribute, itemprop=”breadcrumb”:

    <div id="portal-breadcrumbs"
             itemprop="breadcrumb"
    ...
    

Customizations of plone.global_sections viewlet at these points:

  • Line 1 of section.pt, added itemscope and itemtype attributes in tag nav, itemtype=”http://schema.org/SiteNavigationElement”:

    <nav itemscope="itemscope"
             itemtype="http://schema.org/SiteNavigationElement">
             ...
    </nav>
    

Customizations of plone.header viewlet at these points:

  • Line 2 of portal_header.pt, added itemscope and itemtype attributes, itemtype=”http://schema.org/WPHeader”:

    <div id="portal-header"
             itemscope="itemscope"
         itemtype="http://schema.org/WPHeader">
         ...
    

Customizations of sunburst_templates / main_template at these points:

  • Line 18, Taken value of “Add itemscope and itemtype attributes to body tag” field, from Plone SEO Configuration, and value of “itemtype attribute” field from SEO tab:

    ...
    <html xmlns="http://www.w3.org/1999/xhtml"
        tal:define="
            ...
            perseo_context nocall: context/@@perseo-context;
                    itemscope_itemtype python:perseo_context.perseo_itemscope_itemtype();
                    itemtype python:perseo_context.perseo_itemtype()"
    ...
    
  • Line 61, Added itemscope and itemtype attributes (according to previous values):

    ...
    <body ...
        tal:attributes="...
                        itemscope python:itemscope_itemtype and 'itemscope' or None;
                        itemtype python:itemscope_itemtype and itemtype or None">
    ...
    
  • Line 94, Added itemprop attribute, itemprop=”mainContentOfPage”:

    ...
    <div id="content" itemprop="mainContentOfPage">
    ...
    
  • Line 149, Added itemscope and itemtype attributes, itemtype=”http://schema.org/WPSideBar”:

    ...
    <div id="portal-column-one"
            itemscope="itemscope"
            itemtype="http://schema.org/WPSideBar"
    ...
    
  • Line 161, Added itemscope and itemtype attributes, itemtype=”http://schema.org/WPSideBar”:

    ...
    <div id="portal-column-two"
            itemscope="itemscope"
            itemtype="http://schema.org/WPSideBar"
    ...
    
  • Line 176, Added itemscope and itemtype attributes, itemtype=”http://schema.org/WPFooter”:

    ...
    <div itemscope="itemscope" itemtype="http://schema.org/WPFooter">
            <div tal:replace="structure provider:plone.portalfooter" />
    </div>
    ...
    

Credits

Developed with the support of Andrea Pernici. collective.perseo is loosely based on quintagroup.seoptimizer.

Authors

This product was developed by RedTurtle Technology team.

Changelog

0.1.1 (2011-12-14)

  • Fixed layout of fields in seo tab [fdelia]

0.1.0 (2011-10-19)

  • Initial release
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.perseoschema-0.1.1.tar.gz (19.7 kB) Copy SHA256 Checksum SHA256 Source Dec 14, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting