Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.perseoschema

How to install collective.perseoschema

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.perseoschema
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.1 Available View build log
Windows (64-bit)
0.1.1 Available View build log
Mac OS X (10.5+)
0.1.1 Available View build log
Linux (32-bit)
0.1.1 Failed View build log
Linux (64-bit)
0.1.1 Available View build log
 
License
GPL
Lastest release
version 0.1.1 on Dec 15th, 2011

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":

    System Message: WARNING/2 (<string>, line 19)

    Literal block expected; none found.

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

Customizations of plone.global_sections viewlet at these points:

  • Line 1 of section.pt,

System Message: WARNING/2 (<string>, line 26)

Bullet list ends without a blank line; unexpected unindent.

added itemscope and itemtype attributes in tag nav, itemtype="http://schema.org/SiteNavigationElement":

<nav itemscope="itemscope"

System Message: ERROR/3 (<string>, line 29)

Inconsistent literal block quoting.

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

Customizations of plone.header viewlet at these points:

  • Line 2 of portal_header.pt,

System Message: WARNING/2 (<string>, line 36)

Bullet list ends without a blank line; unexpected unindent.

added itemscope and itemtype attributes, itemtype="http://schema.org/WPHeader":

<div id="portal-header"

System Message: ERROR/3 (<string>, line 39)

Inconsistent literal block quoting.

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,

System Message: WARNING/2 (<string>, line 46)

Bullet list ends without a blank line; unexpected unindent.

from Plone SEO Configuration, and value of "itemtype attribute" field from SEO tab:

...

System Message: ERROR/3 (<string>, line 49)

Inconsistent literal block quoting.

<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):

    System Message: WARNING/2 (<string>, line 59)

    Literal block expected; none found.

... <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":

    System Message: WARNING/2 (<string>, line 68)

    Literal block expected; none found.

... <div id="content" itemprop="mainContentOfPage"> ...

  • Line 149, Added itemscope and itemtype attributes, itemtype="http://schema.org/WPSideBar":

    System Message: WARNING/2 (<string>, line 74)

    Literal block expected; none found.

... <div id="portal-column-one" itemscope="itemscope" itemtype="http://schema.org/WPSideBar" ...

  • Line 161, Added itemscope and itemtype attributes, itemtype="http://schema.org/WPSideBar":

    System Message: WARNING/2 (<string>, line 82)

    Literal block expected; none found.

... <div id="portal-column-two" itemscope="itemscope" itemtype="http://schema.org/WPSideBar" ...

  • Line 176, Added itemscope and itemtype attributes, itemtype="http://schema.org/WPFooter":

    System Message: WARNING/2 (<string>, line 90)

    Literal block expected; none found.

... <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.

http://www.redturtle.it/redturtle_banner.png

System Message: WARNING/2 (<string>, line 108)

Explicit markup ends without a blank line; unexpected unindent.
alt:RedTurtle Technology Site
target:http://www.redturtle.it/

Changelog

0.1.1 (2011-12-14)
  • Fixed layout of fields in seo tab [fdelia]
0.1.0 (2011-10-19)
  • Initial release

Subscribe to package updates

Last updated Dec 15th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.