• Resolved cm2003

    (@cm2003)


    Hello.

    I’ve got a weired issue when using this plugin.
    When using the sandbox tool it scraps the correct information.
    The generated template code is also working fine (in combination with InsertPHP Plugin, which I’m using). However the Shortcode always gives me the empty response error – no matter what I do.

    I simply can’t find the error – so maybe someone could help me.
    Here the generated Shortcode:
    [wpws url="http://htv.liga.nu/cgi-bin/WebObjects/nuLigaTENDE.woa/wa/teamPortrait?team=1780184&championship=TB+Wiesbaden+15" query="//div%5b2%5d/table%5b2%5d" query_type="xpath" querydecode="1" ]
    And here the Templatetag:
    <?php echo wpws_get_content('http://htv.liga.nu/cgi-bin/WebObjects/nuLigaTENDE.woa/wa/teamPortrait?team=1780184&championship=TB+Wiesbaden+15', '//div[2]/table[2]' , array( 'query_type' => 'xpath', ) ); ?>

    Actually it’s nothing to important, as it’s working fine using Insertphp – however I like to keep things clear, therefore I would prefer to add the shortcode rather than php code.

    Thanks and regards,
    André

    https://ww.wp.xz.cn/plugins/wp-web-scrapper/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘On Shortcode empty response, php tag working fine’ is closed to new replies.