[27803] in Perl-Users-Digest
Perl-Users Digest, Issue: 9167 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Apr 17 14:05:46 2006
Date: Mon, 17 Apr 2006 11:05:04 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 17 Apr 2006 Volume: 10 Number: 9167
Today's topics:
niPerl on Windows <blabla@yourguess.com>
Re: niPerl on Windows <1usa@llenroc.ude.invalid>
Re: niPerl on Windows <blabla@yourguess.com>
Re: PhpWiki to Mediawiki converter in php or perl? <news1234@free.fr>
Re: POP3 Mail Client in PERL using IO::Socket module on <bobano.26elmj@helpfeeds.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 17 Apr 2006 17:09:12 +0200
From: Nico Coetzee <blabla@yourguess.com>
Subject: niPerl on Windows
Message-Id: <e20b2l$hhu$1@ctb-nnrp2.saix.net>
Did any one have any luck installing DBI on this port? Tried with PPM
(niPerl 5.8.7.2) but failed.
The frustrating part is that the Win32 modules in ActiveState seems to
be broken :(
Any suggestions short from compiling?
Cheers
Nico
------------------------------
Date: Mon, 17 Apr 2006 15:38:28 +0000 (UTC)
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: niPerl on Windows
Message-Id: <Xns97A8766A5F383asu1cornelledu@132.236.56.8>
Nico Coetzee <blabla@yourguess.com> wrote in news:e20b2l$hhu$1@ctb-
nnrp2.saix.net:
>
> Did any one have any luck installing DBI on this port? Tried with PPM
> (niPerl 5.8.7.2) but failed.
I do not know what niPerl is and have no inclination to search for it.
> The frustrating part is that the Win32 modules in ActiveState seems to
> be broken :(
I have never had any problems installing DBI or any Win32 modules on
Windows using either ActiveState Perl or cygwin Perl.
> Any suggestions short from compiling?
You might want to start by reading the posting guidelines, and then writing
an informative post about the problems you encountered.
Sinan
------------------------------
Date: Mon, 17 Apr 2006 18:27:27 +0200
From: Nico Coetzee <blabla@yourguess.com>
Subject: Re: niPerl on Windows
Message-Id: <e20fld$t43$1@ctb-nnrp2.saix.net>
A. Sinan Unur wrote:
> Nico Coetzee <blabla@yourguess.com> wrote in news:e20b2l$hhu$1@ctb-
> nnrp2.saix.net:
>
>> Did any one have any luck installing DBI on this port? Tried with PPM
>> (niPerl 5.8.7.2) but failed.
>
> I do not know what niPerl is and have no inclination to search for it.
>
http://www.cpan.org/ports/index.html#win32
>> The frustrating part is that the Win32 modules in ActiveState seems to
>> be broken :(
>
> I have never had any problems installing DBI or any Win32 modules on
> Windows using either ActiveState Perl or cygwin Perl.
>
Have a look here: http://ppm.activestate.com/BuildStatus/5.8.html
Search for the Win32-GUI modules on the page. Now have a look here:
http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Win32-GUI-1.03.txt
and
http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Win32-GUI-XMLBuilder-0.37.txt
The latter one is the module that I'm interested in. niPerl packages a
working installation for the Win32::GUI modules, including
Win32::GUI::XMLBuilder but it does not ship with DBI. So I was trying to
get some of the ActiveState modules working with niPerl, but with no
success.
I was wondering if anybody was able to get a working DBI package from
somewhere.
>> Any suggestions short from compiling?
>
> You might want to start by reading the posting guidelines, and then writing
> an informative post about the problems you encountered.
>
I did mention niPerl was a port on Windows, but maybe it was not clear
enough - point taken.
Thanks anyway.
> Sinan
------------------------------
Date: Mon, 17 Apr 2006 16:48:13 +0200
From: news reader <news1234@free.fr>
To: Reini Urban <rurban@x-ray.at>
Subject: Re: PhpWiki to Mediawiki converter in php or perl?
Message-Id: <4443AAAD.8090607@free.fr>
Hi Reini,
Thanks for your reply in explaining how to convert from PhpWiki to
MediaWiki:
> dump the phpwiki pages as xhtml,
> convert it via the perl module HTML::WikiConverter::PhpWiki
> (I contributed the PhpWiki reader)
> import this into mediawiki.
>
> The real problem is, that mediawiki started with a non-wiki special
> syntax, and then the flock new wiki's didn't care neither and invented
> their own syntax also.
I just have one problem.
I don't find the xhtml dump feature in my (probably old and well
cusxtomized (or let's say modified)) version.
Could you please elaborate further?
- What I could do is:
- spidergrab all pages with for example wget and a tiny shell script,
resulting in one file. Would this be the xhtml, that you talk about or
would that be only HTML? Additionally I see the problem, that each file
would contain the entire template text as well, which I'm of course not
interested in.
- use the zip export feature and contain the raw wiki text files with
some leading header lines like:
------------ zip entry starts here --------------
From foo@bar Mon Apr 17 10:30:12 2006
Subject: TestEntry
From: foo@bar (PhpWiki)
Date: Sat, 1 Apr 2006 06:34:51 -0500
Mime-Version: 1.0 (Produced by PhpWiki 1.2.7)
Content-Type: application/x-phpwiki;
pagename=TestEntry;
author=N123;
version=1;
flags="";
lastmodified=1143891291;
created=1143891291
Content-Transfer-Encoding: quoted-printable
wiki text with [wiki] markers here
* 1
* 2
* 3
---------------- zip entry entds here ---------------------
yhamkls and bye
N
Reini Urban wrote:
> news reader schrieb:
>
>>I'd like to copy over about 350 entries from Server1 to Server2(I could
>>apply a filter rule or semiautomatically create a list with entries to copy
>>
>>As the amount of entries is low I don't really need an optimized solution.
>>Entries in server 2 can be overwritten.
>>
>>I wanted to have your advice:
>>1.) Is there already something similiar, that exists?
>>2.) Is there a Wikiadmin focused news group (I don't like mailing lists
>>and web based forums, as you have to create a noew account for most of
>>them or to increase your spam rate even more) ?
>>
>>If not:
>>I know very little about the wiki internals and was thinking about a
>>'brute force' method, not knowing if something better exists:
>>
>>The idea:
>>1.) get all the entries from the phpWiki via mysql ( from table "wiki" )
>>2.) fix naming style (my phpwiki entries contain spaces)
>>3.) replace the phpWiki syntax with Mediawiki syntax (I found url with
>>some sed rules, which are probably incomplete, but could be a goiod
>>starting point) and fix naming styles of interlnal links.
>>4.) access the Mediawiki via http, authenticate and post the new entries
>>
>>
>>My idea was to 'post' new entries though it is probaly slower than
>>directly populating the mysql data base as this allows to populate
>>Mediawiki without having to know how the internal mysql book keeping
>>works exactly.
>>
>>thanks in advance for any ideas and bye
>
>
------------------------------
Date: Sun, 16 Apr 2006 23:54:02 +0100
From: bobano <bobano.26elmj@helpfeeds.com>
Subject: Re: POP3 Mail Client in PERL using IO::Socket module only and regular expressions
Message-Id: <bobano.26elmj@helpfeeds.com>
Hi everyone,
I am using the Net::POP3 module and I have included a statement in this
program "$pop3->top($msgnum)". According to the module documentation,
the top($msgnum) function has a return value that is supposed to
display the header of all the e-mail messages in the POP3 account. I
tested it and it does work but it displays the ENTIRE header
information and I do not wish to have that. How can I parse that return
value out so that it only displays the "From" and "Subject" fields from
the e-mail headers instead of the entire header which includes lots of
useless information that I don't want to display?
--
bobano
------------------------------------------------------------------------
bobano's Profile: http://helpfeeds.com/member.php?userid=1294
View this thread: http://helpfeeds.com/showthread.php?t=290445
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9167
***************************************