Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Make easy to add your plone site to google news
Python
Tag: 1.0rc3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
collective
docs
.gitignore
.travis.yml
MANIFEST.in
README.rst
bootstrap.py
buildout.cfg
setup.cfg
setup.py
test-4.0.x.cfg
test-4.1.x.cfg
test-4.2.x.cfg
travis.cfg

README.rst

collective.googlenews

Introduction

Google News is compiled solely by a computer algorithm that scans all the sites included in their system. In order for your content to be included in Google News, the layout and format of your site must be easy for their crawler to read and decipher. Additionally, they have certain restrictions in place to make sure their crawler only includes links to URLs that are actually news articles.

Google asks that you to review all of their guidelines before submitting your site for inclusion in Google News. Making sure your site conforms to all their technical requirements now will help prevent any issues with your site in the future.

This package helps you make your Plone site comply with these technical requirements.

Article URLs

URL need to display a three-digit number. This add-on override the url normalizer to add a unique id.

SiteMap

This add-on add a @@googlenews-sitemap.xml view for topic content type. This view add some checks before loading items:

  • no more than 1000 items returned
  • items must have been published in the last two days
  • items are ordered on the effective date (reversed)

So you don't need to add criteria for these, but types should be set to News Item to be sure you are publishing news.

How to publish my website into Google News ?

You need to have a topic instance in your website. By default in Plone /news/aggregator is the one. In the process you can provide the sitemap to help google to get the last news by providing the url example.com/news/aggregator/@@googlenews-sitemap.xml

Something went wrong with that request. Please try again.