Import and replace existing page/post content
One option might be to export both XML files, merge them using a file merging tool like http://winmerge.org, delete all posts and replace with the merged version.
One option might be to export both XML files, merge them using a file merging tool like http://winmerge.org, delete all posts and replace with the merged version.
The built-in import mechanism can only fetch file attachments that are accessible over the internet – which will normally not apply to your local WP install. The best option is to dump the whole database and do an MySQL import on the receiving domain. Your image files and other attachments need to be ftp-ed to … Read more
I would wage that your issue is with \r\n (CRLF). If the newlines are created in Windows, they’ll go into the database as \r\n and when serialized get counted as 2 characters. Then when importing, they’ll only be counted as 1 character and they’ll corrupt the string. I tested this hypothesis and sure enough I … Read more
The post that an attachment is related to is determined by the post_parent column on the wp_posts table (depending on your database prefix). Set it to the post_ID of the parent post.
You need to increase the upload limit in your php.ini. To increase the maximum upload file size, open your php.ini file in the “xampp/php/php.ini” directory. search for upload_max_filesize and increase the value like : upload_max_filesize = 128M
The importer calls wp_insert_post() which runs stripslashes_deep() on the data. But the exporter doesn’t run addslashes. Looks like a bug to me. What you may try is to prepare the data during export. Create a plugin with the following content and activate it before you run the export: <?php /** * Plugin Name: Slash my … Read more
if you check the WordPress importer plugin it is easy to implement this feature. But if you want the direct answer , here it is First of all, we need to copy the WordPress importer plugin files to our theme directory. like this 1. themes/bootstrapguru_theme/inc/wordpress-importer.php 2. themes/bootstrapguru_theme/inc/parser.php you can find this plugin here wordpress importer … Read more
Got a working solution, This is the post item <item> <title>title1</title> <pubdate>2013-02-20 10:33:58</pubdate> <dc:creator> <![CDATA[ David Jennings ]]> </dc:creator> <guid ispermalink=”false”>http://wordpress/?p=1234</guid> <description> <title>Title</title> </description> <content:encoded> <![CDATA[ABCD]]> </content:encoded> <excerpt:encoded> <![CDATA[ ]]> </excerpt:encoded> <wp:post_id>1234</wp:post_id> <wp:post_date>2013-02-20 10:33:00</wp:post_date> <wp:post_date_gmt>2013-02-20 10:33:00</wp:post_date_gmt> <wp:comment_status>open</wp:comment_status> <wp:comment_status>open</wp:comment_status> <wp:ping_status>open</wp:ping_status> <wp:post_name>title1</wp:post_name> <wp:status>publish</wp:status> <wp:post_parent>0</wp:post_parent> <wp:menu_order>0</wp:menu_order> <wp:post_type>post</wp:post_type> <wp:post_password></wp:post_password> <wp:is_sticky>0</wp:is_sticky> <category domain=”category” nicename=”blog”> <![CDATA[ blog ]]> </category> <wp:postmeta> <wp:meta_key>_thumbnail_id</wp:meta_key> … Read more
WordPress has an Import/Export tool, but it doesn’t works with nav menus only, the “All Content” option will export the menus too, but with everything else that is in your site (including posts/pages in the trash) you can try this plugin so the Menu option shows in the Export page.
To be ON TOPIC on the QUESTION (firefox) i dont think the approach to use delicious as intermediate step is preferred because: you lose the hierarhical taxonomy applied in firefox (they way you structured things) you lose the favicons as gathered in firefox you lose the information added by dividers between links you lose information … Read more