Support » Plugin: WP Pipes » cronjob updates results are different from manual update.

  • LNN

    (@ewan-norman)


    Hi,
    It’s crazy but true, I’ve been looking for a solution for a long time but no luck, this is why I ask here in the support forum.
    I set up my pipes,the parser code, and when I update manually, the result is fantastic, videos are imported from the source and playable in the post page correctly, images are imported correctly, this is an example:
    Click Here This post is from a manually tested pipe.

    And this is the result from a pipe which is updated via cron job:
    Click Here for the example please.

    I tried the force update via cron job, but didn’t work
    I tried the modify the pipe in several ways, but no luck

    This is the parser code:

    ginner|0|div|articleBody|0|1|0|
    remove|1|div|rotator bdrcc|L|0|
    remove|2|div|fb|L|0|
    replace|3|#src=”data[^”]*”#||1|
    replace|4|data-src|src|0|

    Please tell me if you have any suggestions.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tung Pham

    (@phamtungpth)

    Hi,

    Please try with this code:

    ginner|0|div|articleBody|0|1|0|
    remove|1|div|rotator bdrcc|L|0|
    remove|2|div|fb|L|0|
    replace|3|#src=”data[^”]*”#||1|
    replace|4|data-src|src|0|
    replace|5|#<video[^>]*"embedUrl":"([^"]*)"[^>]*>(.+?)<\/video>#s|<iframe allowfullscreen frameborder="0" width="698" height="573" scrolling="no" id="molvideoplayer" src="$1"></iframe>|1|

    Best Regards!

    LNN

    (@ewan-norman)

    Hi @phamtungpth
    Thank you very much for this code, it works very good but doesn’t import videos at all, teh code I used before works very well when updated manually, I don’t know what is the difference between auto and manual updates when it comes to parser code?
    Here is a post imported with the code you gave me:
    Click Here for the example please.

    Here is the original post.

    look at the video in the bottom of the article, all the posts doesn’t import videos.
    Thank you so much for your help.
    Best regards!

    LNN

    (@ewan-norman)

    Edit: the link in the top was updated and modifyed, here is another good example:
    http://latestnewsnetwork.com/car-hits-new-yorks-times-square-pedestrians-killing-one/
    Best regards!

    LNN

    (@ewan-norman)

    I contacted you in timpress contact form about pipes set up service, but you haven’t answered yet.
    Thanks for contacting me by email.
    Best regards.

    LNN

    (@ewan-norman)

    Hello, is this the same way you configured the dailymail pipe in virtualstuff?
    can that pipe import images and videos via cronjob?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cronjob updates results are different from manual update.’ is closed to new replies.