• I am using the RSS importer under tools in 3.0.2. The file I am uploading has a field called “creator” and I have multiple creators. Unfortunately it puts them all in as one creator.

    I have looked at the plugin that loads and find this language:

    $post_author = 1;
    			$post_status = 'publish';
    			$this->posts[$index] = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'guid', 'categories');
    			$index++;

    It thus appears that all posts are assigned to one author. Is there something else I should be using? Can this easily be modified to preserve authors?

    If you import with the wordpress import it creates new users.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Is Creator a custom field separate from the post author?

    Thread Starter bestfoot

    (@bestfoot)

    <dc:creator>John Smith</dc:creator>

    There is no author tag.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Had to think about this…

    It makes sense really. When you import posts without WordPress identified users, it asks you what user you want to import as. So … a solution.

    1) Make the user John Smith
    2) Get an RSS feed of ONLY John’s posts.
    3) Import THAT under John’s ID on WP.

    Thread Starter bestfoot

    (@bestfoot)

    But if you use the wordpress import with a wordpress file it asks do you want to create a user or identify it with an existing user.

    I have a large move underway with dozens of authors — to split the file isn’t the most attractive method.

    We essentially need to combine the functionality of the WordPress Import function into the RSS Import function.

    I can see the general how to do it — but I’m not proficient enough on this code to actually write it without some time studying the code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import RSS to WordPress – creator not being generated’ is closed to new replies.