|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
viewing newsgroups with Zope
Hi,
I am trying to use a web front end to view already existing newsgroups on an nntp server. I want to use Zope and was wondering if there are any zope products out there that will do this for me. I do not need it to act as a mail server or anything like this. I had a quick look at zopeGUM but this seems to be saying that it *will* provide something that may do this for me. Any help/suggestions would be appreciated. Thanks, Joe. |
|
#2
|
||||
|
||||
|
I have no idea if this would be of any use to you but thought I would pass it on. Maybe the guys doing this project can help or point you in another direction.
http://fetchem.sourceforge.net/ Darryl |
|
#3
|
|||
|
|||
|
I dont know of any Zope products that access news groups but python library nntplib is a good place to start
(shamelessly stolen from python docs) >>> s = NNTP('news.cwi.nl') >>> resp, count, first, last, name = s.group('comp.lang.python') >>> print 'Group', name, 'has', count, 'articles, range', first, 'to', last Group comp.lang.python has 59 articles, range 3742 to 3803 >>> resp, subs = s.xhdr('subject', first + '-' + last) >>> for id, sub in subs[-10:]: print id, sub ... 3792 Re: Removing elements from a list while iterating... 3793 Re: Who likes Info files? 3794 Emacs and doc strings 3795 a few questions about the Mac implementation 3796 Re: executable python scripts 3797 Re: executable python scripts 3798 Re: a few questions about the Mac implementation 3799 Re: PROPOSAL: A Generic Python Object Interface for Python C Modules 3802 Re: executable python scripts 3803 Re: \POSIX{} wait and SIGCHLD >>> s.quit() '205 news.cwi.nl closing connection. Goodbye.' I tried creating a python script in zope that used nntplib and got the following error message: import of "nntplib" is unauthorized So it looks like your best solution is to try creating a python external method. Cheers Martin Wehipeihana NetHomes |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > viewing newsgroups with Zope |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|