user-pic

Ranguard

Subscribe to feed Recent Actions from Ranguard

  • P commented on Facebook::Graph News

    I have just tried the Facebook::Graph api with dancer, but I am getting

    "Error 404
    Unable to process your query
    The page you requested is not available
    Powered by Dancer 1.3111"

    and the found the following from dancer log.

    [7527] core @0.000114> request: POST / from 127.0.0.1 in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Handler.pm l. 56
    [7527] core @0.000532> [hit #1]Trying to match 'POST /' against /^\/upload_photo$/ (generated from '/upload_photo') in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Route.pm l. 84
    [7527] core @0.00…

  • Ron Savage commented on [FAILED] 10x faster than LibXML

    Hi

    Sure, put it on CPAN.

    When you write the docs, please include a 'See Also' section, mentioning the other modules (and programs) you've looked at.

    Be sure to mention Marpa::R2, which has its own HTML parser:

    Marpa::R2

  • Toby Inkster commented on [FAILED] 10x faster than LibXML

    I wonder how many of these speed benefits could be retained if PugiXML were used as an alternative parser for XML::LibXML. That is, turn PugiXML parsing events into XML::LibXML::Node objects.

  • yko commented on [FAILED] 10x faster than LibXML

    Toby, thank you for your interest.

    I was thinking about the same in context of writing drop-in replacement for Web::Scraper, similar to Web::Scraper::LibXML for about 3 minutes and then rejected this idea.

    Again, this doesn’t mean that idea is bad. It’s brilliant! Finally, it come to my head. The problem is that at the moment I see a lot of efforts and less of outcome in the end.

    However, I totally encourage you, as well as anyone who would like to, to participate PugiXML development just to get an idea of it’s internals and then together or individually decide…

  • cafe01 commented on [FAILED] 10x faster than LibXML

    I have recently started contributing to Web::Query, a jQuery-like (as close as possible) for html scrapping and manipulation.

    Because its based on HTML::TreeBuilder/HTML::Element, its very slow, and some XPath queries are incredibly slow.

    So I would definitely use PugiXML!

    We need PugiXML and HTML::TreeBuilder::PugiXML as a drop-in replacement for HTML::TreeBuilder (like HTML::TreeBuilder::LibXML which if fully implemented, would also help a lot! :) ).

    Thank you!!

    - cafe


Subscribe to feed Responses to Comments from Ranguard

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.