[Cascavel-pm] Como ler RSS?
Sandro de Almeida Filho
sandroalmeidafilho em gmail.com
Segunda Agosto 21 15:52:18 PDT 2006
Antes de enviar essa dúvida a lista já tinha tentado instalar o
XML::LibXML e não tinha resolvido o problema...
Cheguei a reinstalar meu Perl (5.8.7) e re-fiz todos os passos e mesmo
assim não consegui usar o XML::RSS::Tools para ler RSS...
Tentando novamente instalar o XML::LibXML, temos:
=-=-=-=-=-=-=-=-=-
ppm> install XML::LibXML
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 5.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 5.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 5.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 5.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 5.
Searching for 'XML::LibXML' returned multiple results. Using 'search' instead...
Searching in Active Repositories
1. XML-LibXML [1.59] Interface to Gnome libxml2 xml parsing and DO~
2. XML-LibXML [1.59] Interface to Gnome libxml2 xml parsing and DO~
3. XML-LibXML-Common [0.13] Routines and Constants common for XML::LibXML~
4. XML-LibXML-Common [0.13] Routines and Constants common for XML::LibXML~
5. XML-LibXML-Iterator [1.00] XML::LibXML's Tree Iteration Class
6. XML-LibXML-Iterator [1.00] XML::LibXML's Tree Iteration Class
7. XML-LibXML-Tools [0.80] An API for easy XML::LibXML DOM manipulation
8. XML-LibXML-XPathCon~ [0.07] Perl interface to libxml2's xmlXPathContext
9. XML-LibXML-XPathCon~ [0.07] Perl interface to libxml2's xmlXPathContext
ppm> install XML-LibXML
ppm> install XML-LibXML
could not find ParserDetails.ini in C:/usr/site/lib/XML/SAX
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 30.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96.
Unable to recognise encoding of this document at C:/usr/site/lib/XML/SAX/PurePer
l/EncodingDetect.pm line 96, <$__ANONIO__> line 35.
====================
Install 'XML-LibXML' version 1.59 in ActivePerl 5.8.7.813.
====================
Downloaded 185170 bytes.
Extracting 82/82: blib
Installing C:\usr\site\lib\auto\XML\LibXML\LibXML.bs
Installing C:\usr\site\lib\auto\XML\LibXML\LibXML.dll
Installing C:\usr\site\lib\auto\XML\LibXML\LibXML.exp
Installing C:\usr\site\lib\auto\XML\LibXML\LibXML.lib
Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Successfully installed XML-LibXML version 1.59 in ActivePerl 5.8.7.813.
=-=-=-=-=-=-=-=-=-
Sugestões?
Sandro...
Em 21/08/06, Breno G. de Oliveira<breno em clavis.com.br> escreveu:
> Sandro,
>
> como o Igor falou, o erro simplesmente diz que o módulo XML::LibXML não
> foi encontrado. Para aprender sobre como instalar módulos Perl em seu
> sistema via CPAN, dê uma olhada em:
>
> http://cpan.perl.org/misc/cpan-faq.html#How_install_Perl_modules
>
> e
>
> http://cpan.perl.org/misc/cpan-faq.html#Where_find_Perl_modules
>
>
> Nessas páginas tb há indicativo sobre como usar o PPM, se estiver usando
> Windows.
>
> Qq dúvida é só gritar.
>
>
> []s
>
> breno
>
> Igor Sutton wrote:
> > Você deve instalar o módulo XML::LibXML.
> >
> > 2006/8/21, Sandro de Almeida Filho <sandroalmeidafilho em gmail.com
> > <mailto:sandroalmeidafilho em gmail.com>>:
> >
> > Estou entando usar o XML::RSS::Tools mas só dá erro...
> >
> > Can't locate loadable object for module XML::LibXML in @INC (@INC
> > contains: C:/usr/lib C:/usr/site/lib .) at
> > C:/usr/site/lib/XML/RSS/Tools.pm line 26
> > Compilation failed in require at C:/usr/site/lib/XML/RSS/Tools.pm
> > line 26.
> > BEGIN failed--compilation aborted at
> > C:/usr/site/lib/XML/RSS/Tools.pm line 26.
> > Compilation failed in require at C:/apache2triad/htdocs/rss/rss5.cgi
> > line 7.
> > BEGIN failed--compilation aborted at
> > C:/apache2triad/htdocs/rss/rss5.cgi line 7.
> >
> > O que faço?
> >
> > Sandro...
> >
> >
> > Em 17/08/06, Luis Motta Campos<monsieur_champs em yahoo.com.br
> > <mailto:monsieur_champs em yahoo.com.br>> escreveu:
> > > Sandro de Almeida Filho wrote:
> > > > Pessoal, como faço p/ ler arquivos RSS através do Perl?
> > > >
> > >
> > > Sandro, existem módulos para isso no CPAN. Basta usar os módulos e
> > > corre tudo bem.
> > >
> > > http://search.cpan.org/
> > >
> > > Boa procura!
> > >
> > > --
> > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > Luis Motta Campos is Software Engineer, Oracle OCP/DBA, Un*x
> > > Sysadmin, Member of {Lisbon,São Paulo,Cascavel,Brasil,London}
> > > Perl Mongers and Perl Fanatic Evangelist
> > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > _______________________________________________
> > > Cascavel-pm mailing list
> > > Cascavel-pm em pm.org <mailto:Cascavel-pm em pm.org>
> > > http://mail.pm.org/mailman/listinfo/cascavel-pm
> > >
> > _______________________________________________
> > Cascavel-pm mailing list
> > Cascavel-pm em pm.org <mailto:Cascavel-pm em pm.org>
> > http://mail.pm.org/mailman/listinfo/cascavel-pm
> >
> >
> >
> >
> > --
> > Igor Sutton Lopes
> > t: +55 51 9627.0779
> > e: igor.sutton em gmail.com <mailto:igor.sutton em gmail.com>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Cascavel-pm mailing list
> > Cascavel-pm em pm.org
> > http://mail.pm.org/mailman/listinfo/cascavel-pm
> _______________________________________________
> Cascavel-pm mailing list
> Cascavel-pm em pm.org
> http://mail.pm.org/mailman/listinfo/cascavel-pm
>
Mais detalhes sobre a lista de discussão Cascavel-pm