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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.googlenews-1.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 305b8b175f7e65b0f0aa507863e77ae33de77fa083cadcbd568d5d92579807a7 |
|
MD5 | d23ea52d7bf392675cd1898951951612 |
|
BLAKE2b-256 | 03d149433b51c89c98fc9cc05828eb36310159464a61daaead0546ac4cf8a013 |