Skip to main content

Make easy to add your Plone site to Google News.

Project description

Introduction

Google News service has some technical requirements. This add-on solve the only issues Plone have regarding these constraints. Let’s Plone be Google News ready.

Technical requirements can be found at http://www.google.com/support/news_pub/bin/topic.py?hl=en&topic=11665

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

Installation

To enable this product in a buildout-based installation:

  1. Edit your buildout.cfg and add collective.googlenews to the list of eggs to install

    [buildout]
    ...
    eggs =
        collective.googlenews

After updating the configuration you need to run ‘’bin/buildout’’, which will take care of updating your system.

Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.

Check the box next to collective.googlenews and click the ‘Activate’ button.

Note: You may have to empty your browser cache and save your resource registries in order to see the effects of the product installation.

Contributors

  • Jean-Michel FRANCOIS

  • Héctor Velarde

  • Gonzalo Almeida

Changelog

1.0rc1 (2012-05-11)

  • Tested Plone 4.2 compatibility. [hvelarde]

  • Added support for Dexterity content types (fixes #2). [flecox]

  • Added Spanish and Brazilian Portuguese translations. [hvelarde]

  • Added some real tests to fix some stuff. [hvelarde]

  • Updated package distribution files. [hvelarde]

1.0b2 (2011-04-11)

  • Check random digit doesn’t starts with 199 or 200.

1.0b1 (2011-04-08)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.googlenews-1.0rc1.tar.gz (21.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page