Error message

  • Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in include_once() (line 1389 of /Library/Server/Web/Data/Sites/Documents/jonathansblog/includes/
  • Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 341 of /Library/Server/Web/Data/Sites/Documents/jonathansblog/includes/

Warning message

The service having id "facebook_widget" is missing, reactivate its module or save again the list of services.

Success! with Plone and Feedparser

Today (Friday) ended with the perfect start to the weekend. After weeks of misery, (well, okay, it wasn't that bad was it Richard?) together we solved the issue with Universal Feed Parser working as a module within Zope (Plone) using Python. Firstly, what is Feed Parser?

Feed Parser is a Python module that downloads and parses or processes RSS, Atom and CDF syndicated feeds. The Feed Parser module gives Zope (Plone) the ability to bring RSS feeds from external sources into its environment. So as we gear ourselves up for releasing the new Ultralab website, this is a significant step forward.

Our problems stemmed from an error message which Plone reported whenever we tried to access the Feed Parser module...

import of feedparser is unauthorized error message

This error only affects Mac OS X Server that has multiple versions / instances of Python installed. What we have discovered is that the Feed Parser module was installed using a version / instance of Python running on the server which was different to the version / instance that Zope and Plone use. A key learning moment is understanding that Zope modules must be installed using the same version of Python as the Zope environment is using.

Take a look at a sneak preview of the new website.


Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Enter the characters shown in the image.