Re: feedparser und https

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
On 06.06.09 07:28, Henrik Bettermann wrote:
> Hallo zusammen,
>
> ich habe seit langem mal wieder eine Plone-Site (3.2.2) aufgesetzt und
> bin bei einem RSS-Portlet auf ein Problem gestoßen. Ich wollte den
> verschlüsselten  RSS-Feed aus unserem Moodle-Lernportal
> (https://lernportal.akademie-ee.de/rss/file.php/1/2/forum/12/rss.xml)
> parsen, was mislingt.
>
> Der dafür zuständige Python-feedparser gibt folgendes aus:
>
> >>> import feedparser
> >>>
> feedparser.parse('https://lernportal.akademie-ee.de/rss/file.php/1/2/forum/12/rss.xml')
>
> {'feed': {}, 'encoding': 'utf-8', 'bozo': 1, 'version': None,
> 'entries': [], 'bozo_exception': <urllib2.URLError instance at
> 0x7fc7ede7c3f8>}
>
> Bei der Ursachensuche in Python-2.4/lib/python2.4/url2.py scheitere
> ich mit meinen Python-Unkenntnissen. Ich sehe nur, dass https
> eigentlich kein Problem sein sollte. Liegt es vielleicht an meinem
> CAcert-Zertifikat? 


Vielleicht verwendest Du zum Testen ein anderes Python als dasjenige
welches von Zope/Plone verwendet wird?
Der Feed funktioniert jedenfalls bei mir ohne Probleme innnerhalb von Plone.

Andreas



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 316 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.