Re: [Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-26 Thread Gabriel Genellina
At Wednesday 26/7/2006 18:57, KJZZ Webmaster wrote: And you were right! This is not seen as as a valid dictionary (nor is it seen as a string): stuff = container.externalmethod(feedurl=feedurl) test = same_type(stuff, {}) print test return printed returns "0" However, interestingly enough, if

Re: [Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-26 Thread Jonathan
I found a way to test if the "ExternalMethod" really returned a dict here: http://infrae.com/mailman_/pipermail/silva-dev/2004q2/001091.html And you were right! This is not seen as as a valid dictionary (nor is it seen as a string): stuff = container.externalmethod(feedurl=feedurl) test = same

Re: [Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-26 Thread KJZZ Webmaster
Dieter, Appreciate your help. I found a way to test if the "ExternalMethod" really returned a dict here: http://infrae.com/mailman_/pipermail/silva-dev/2004q2/001091.html And you were right! This is not seen as as a valid dictionary (nor is it seen as a string): stuff = container.externalmetho

Re: [Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-25 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2006-7-24 11:13 -0700: >I'm trying to move our sites from Zope 2.5.1 to Zope 2.8.1-final and I'm >receiving an error with this script: > >http://www.zope.org/Members/johntynan/feedparser/ > >In particular, I receive the following error, when using the attached page >tem

[Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-24 Thread kjzz.webmaster
I'm trying to move our sites from Zope 2.5.1 to Zope 2.8.1-final and I'm receiving an error with this script: http://www.zope.org/Members/johntynan/feedparser/ In particular, I receive the following error, when using the attached page template "nprnews.pt": "Unauthorized: You are not allowed

[Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-24 Thread kjzz.webmaster
I'm trying to move our sites from Zope 2.5.1 to Zope 2.8.1-final and I'm receiving an error with this script: http://www.zope.org/Members/johntynan/feedparser/ In particular, I receive the following error, when using the attached page template "nprnews.pt": "Unauthorized: You are not allowed