Server IP : 103.119.228.120 / Your IP : 3.133.157.133 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/lib64/python2.7/Demo/scripts/ |
Upload File : |
NEWSLIST ======== A program to assist HTTP browsing of newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ WWW browsers such as NCSA Mosaic allow the user to read newsgroup articles by specifying the group name in a URL eg 'news:comp.answers'. To browse through many groups, though, (and there are several thousand of them) you really need a page or pages containing links to all the groups. There are some good ones out there, for example, http://info.cern.ch/hypertext/DataSources/News/Groups/Overview.html is the standard one at CERN, but it only shows the groups available there, which may be rather different from those available on your machine. Newslist is a program which creates a hierarchy of pages for you based on the groups available from YOUR server. It is written in python - a splendid interpreted object-oriented language which I suggest you get right now from the directory /pub/python at ftp.cwi.nl, if you haven't already got it. You should be able to see some sample output by looking at: http://pelican.cl.cam.ac.uk/newspage/root.html Descriptions of newsgroups can be added from a file with one group per line. eg: alt.foo Articles about foo comp.bar Programming in 'bar' and related languages A suitable list detailing most groups can be found at ftp.uu.net in /uunet-info/newsgroups.gz. Make sure you read the information at the beginning of the program source and configure the variables before running. In addition to python, you need: An NNTP-based news feed. A directory in which to put the pages. The programming is not very beautiful, but it works! It comes with no warranty, express or implied, but with the hope that some others may find it useful. Comments, improvements & suggestions welcomed. Quentin Stafford-Fraser ---------------------------------------------------------------------- Quentin Stafford-Fraser http://pelican.cl.cam.ac.uk/people/qs101/me.html Cambridge University Computer Lab Rank Xerox Cambridge EuroPARC qs101@cl.cam.ac.uk fraser@europarc.xerox.com Tel: +44 223 334411 Tel: +44 223 341521 Fax: +44 223 334679 Fax: +44 223 341510 ----------------------------------------------------------------------