Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @sionline4ever,

    Thanks for using our plugin.

    We’ve checked the provided feed, and it seems the image URL is not properly configured, as it is //cdn.we…8/09/thinkstock instead https://cdn.we…8/09/thinkstock

    We’ve included a quick fix in the latest release (version 1.2.3), please update your plugin to the latest version, and the images should be imported properly.
    Note: Please remove the old posts and media images imported before start the import process with the updated version.

    I hope this helps.

    Thread Starter sionline4ever

    (@sionline4ever)

    Thanks.
    Images are already showing.
    One more problem.
    The post is showing poorly.
    My content is not showing (Post content – /TextContent:). And the template is damaged.

    http://sionline.sk/romana-obvinili-z-bratovrazdy-hrozi-mu-trest-na-20-az-25-rokov-alebo-dozivotie/

    How to fix it?

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @sionline4ever,

    The field on the provided feed contains HTML tags, and the default WordPress filter will remove the tags (and the content) that’s why the content is empty. Unfortunately I can’t prevent this filter because of vulnerability, but I’ve added another filter before (available in the version 1.2.4) and you can remove the HTML tags before it will be saved to database.

    You can add the following code snippet to your functions.php, and the import should be fine. The function below removed the html, head, body tags and closing tags from the string.

    add_action( 'moove_importer_sanitize_value', 'moove_importer_sanitize_value', 10, 1 );
    function moove_importer_sanitize_value( $value ) {
    	$value = preg_replace('/<head\b[^>]*>(.*?)<\/head>/is', "", $value);
    	$value = str_replace('<html>','', $value);
    	$value = str_replace('</html>','', $value);
    	$value = str_replace('<body>','', $value);
    	$value = str_replace('</body>','', $value);
    	return trim( $value );
    }

    I hope this helps.

    Thread Starter sionline4ever

    (@sionline4ever)

    Thanks 😉

    Thread Starter sionline4ever

    (@sionline4ever)

    We have a problem with 1.3.0. He does not want us import post. Still is only 0%.
    1.2.4 it worked correctly. 1.3.0 does not work.

    Thread Starter sionline4ever

    (@sionline4ever)

    Import Settings:

    If we post posts like 3-5 – it does not work.
    If we post posts like 1-5 – it works.

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @sionline4ever,

    Thanks for reporting the issue, we will check the settings and get back to you soon.

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @sionline4ever,

    Thank for your patience and apologize for the inconvenience this may have caused.

    We’ve released the new version where the post limit issue is fixed, please update your plugin to the latest (1.3.1) version.

    I hope this helps.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The template will go wrong and images will not be displayed’ is closed to new replies.