how xml format import post in category in unique nicename?
-
hi
i create xml file, but cant send post in category with same name, but different category_nicename, for example in category with category_nicename “second url”
somebody can help me? thanks
<?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.0/"> <channel> <title></title> <description></description> <wp:wxr_version>1.0</wp:wxr_version> <wp:category><wp:category_nicename>first url</wp:category_nicename><wp:category_parent><![CDATA[]]></wp:category_parent><wp:cat_name><![CDATA[First cat]]></wp:cat_name></wp:category> <wp:category><wp:category_nicename>second url</wp:category_nicename><wp:category_parent><![CDATA[]]></wp:category_parent><wp:cat_name><![CDATA[First cat]]></wp:cat_name></wp:category> <item> <title><![CDATA[My title]]></title> <content:encoded><![CDATA[my content]]></content:encoded> <category><![CDATA[First cat]]></category> <category domain="category" nicename="second url"><![CDATA[First cat]]></category> <wp:status>publish</wp:status> <wp:post_type>post</wp:post_type> <wp:post_name>post url</wp:post_name> </item> </channel> </rss>
- The topic ‘how xml format import post in category in unique nicename?’ is closed to new replies.