Skip to content. | Skip to navigation


Encryptec Limited Online

 Last updated Wednesday, 27 Aug 2008 12:02
Sections
Document Actions

Installing PloneRSS

This How-to applies to: Any version.

How to install PloneRSS on an existing Plone installation

Prerequisites

You will need the following in order for PloneRSS to work properly.

  • Plone 2.1.1 or Plone 2.1.2.
  • ZMySQLDA and access to a MySQL database

If anyone finds any other specific dependancies they think should be listed, please let us know by emailing support@encryptec.net.

Installing the Package

Download the latest version of PloneRSS by clicking here.

Move to the Products folder on your server and type;

tar xvfj <path_to_downloaded_file>
chown <zope_user>:<zope_group> PloneRSS

Substitute in the names of the file you downloaded and the Unix user/group id's the server runs as.

Setting up the Database

Change to your new PloneRSS directory and type;

cat PloneRSS.sql < mysql -h <host> -u <user> -p

Assuming you are using MySQL, substitute a valid host name (for example 'localhost') and user name, then enter the matching password when propmpted. If you are using another database (such as postgres) , substitute a command appropriate for your software.

This should create a database called plonerss with one table called feeds. You may think that using a MySQL DB is a bit of a pain, please see the design document for the logic behind the decision.

Configuring Plone

Now you will need to restart your Zope server for the new software to be recognised. When you've done this, go to your home page and log in as a user with Manager privileges. Click on Site Setup, then Add/Remove software. You should see "PloneRSS" as a package available on the left of the screen. Tick the box next to PloneRSS, then click the install button at the foot of the page.

Creating the SQL Connector

Again I'm going to use MySQL as an example, but other Databases should work so long as you have an appropriate connector, and I'm guessing the new ODBC connector should also work.

  • Move to your 'custom' folder in your Plone instance in the Zope ZMI.
  • Add a new Z MySQL Database Connection and call it PloneRSS_SQL_connection.
    (please note that the name IS critical)
  • Add parameters appropriate to your database, for example;
    plonerss@<hostname> <user> <password>
  • Make sure the connection opens, don't bother going any further until you have this working!

You should now be ready to start RSS feeds to the system, don't forget to add an RSS portlet or you're not going to see too much. Goto the ZMI, click on your Plone Instance, then click properties and insert;

here/portlet_plonerss/macros/portlet

You can see an example of the feeds in action by clicking here.

See the user documentation with regards to adding news feeds, then have a look at the System Administration documentation about how to make your feeds update automatically using CRON.

printer ink
Printer ink for sale. Epson, HP, Lexmark, Dell, Canon, Brother, Minolta… The list goes on. We have a massive range at a great price.
Web Page Design
With our novel approach to web page design, you can alter the contents of your website. Click here to use our extraordinary service!
IT SUPPORT LONDON
Professional, flexible and highly skilled IT support - On call and on site. Go to Connect.co.uk.
Stock Control Software
Enjoy massively improved stock control software available from Equinox. Fulfil customer service commitments and keep cost low!
Ink Jet Cartridges
Prink stock over 50,000 ink jet cartridges. Free UK delivery on compatible ink jet cartridges.
Dedicated Servers
For servers that are fast and reliable, click on the link above.
hp printer
For unmatched quality and rich, vivid colour, get a HP printer. Shopping.com will get you the best price.
Online Data Backup
Check out this unique services that works well for businesses...