Wordpress Post Importer for Blog and ProBlog

Allows you to import Wordpress Posts into ProBlog plugin

Back to Wordpress Post Importer for Blog and ProBlog Support

fredericomarinho16918
fredericomarinho16918

I've used this plugin to import from other bases, and have made some updates to import more than one image, since OctoberCMS allows that. Using PHP i've created the same XML format that Wordpress uses.

The changes i've made are in models/Wpimporter.php file.

Line 176, created a nivel array level in $attachments array:
$attachments['parentId-'.$wpChildren->post_parent][] = $wpChildren->attachment_url;

Lines 275 and 276:
foreach ($attachments['parentId-'.$wpChildren->post_id] as $attachmentImage) { $fileContents = $this->downloadFileCurl($attachmentImage);

Last updated

1-1 of 1