Question

set wordpress post author from rss item

  • 18 February 2023
  • 1 reply
  • 77 views

I’m using the New Item in RSS feed (by Zapier) trigger to Create Post in Wordpress when new in feed RSS (by Zapier) integration.

My feed includes multiple authors, but conforms to RSS standards with the author using the format “email@domain.com <display name>”

All of the RSS feed author display names and email names correlate to existing users in the WordPress wp_users table.

Since, WordPress’s post author field is the author’s numerical identifier, (rather wp_user.ID field) not their name or email, then how do you map or lookup the WordPress user ID based on the author data from the RSS feed for the post’s “author” field?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @Cagle 

Good question.

One option is to use the concept of a lookup table: