• Resolved ILKKAJL

    (@ilkkajl)


    Hi,

    I’m fetching a news feed that has many parameters per one piece of news. How could I get parameters such as the author of the news saved as the author of a post? Or the author could also be saved in a custom field related to the post.

    Any thoughts on this?

    I’m using the latest versions of both WordPress and WP RSS Multi Importer.

    Thanks,
    Ilkka

    https://wordpress.org/plugins/wp-rss-multi-importer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Allen

    (@amweiss98)

    you would have to code this using the import_post.php file…the code will get the author – if there is one – but then you would need to know the author’s ID for your wordpress site (or, you would need to code it to create the author)

    Thread Starter ILKKAJL

    (@ilkkajl)

    So to make sure I’m reading this right: for every news author there needs to be a user account to assign the post to? And the author in the RSS would naturally have to be named exactly the same in WordPress for the assigning to work?

    If so, this seems like a lot of work and testing.. 😉

    Regards,
    Ilkka

    Plugin Author Allen

    (@amweiss98)

    yes…you would have to have the id, as indicated here:

    http://codex.wordpress.org/Function_Reference/wp_insert_post

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to save feed author to post?’ is closed to new replies.