(0 votes) 3:47 pm
July 27, 2011
OfflineI was curious as to how to pull the dc:creator tag from an RSS feed. I would like to use the tag to assign the proper author to new posts. I didn't see it in the array, when I pulled in a feed.
Here's a sample of the feed:
<pubDate>Fri, 16 Dec 2016 23:00:00 +0000</pubDate>
<dc:creator><![CDATA[John Smith]]></dc:creator>
<category><![CDATA[Sports News]]></category>
From there, I plan on assigning the proper author ID to the post.
if ($post["dc:creator"] = "John Smith"){
$post["post_author"] = "2";
}
Is this possible? I didn't see this referenced in the support forums.
Thanks!
Most Users Ever Online: 1026
Currently Online:
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 87
harboot: 75
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
tormodg: 53
Member Stats:
Guest Posters: 338
Members: 3322
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1760
Posts: 9080
Newest Members:
ntzaferis, mario.claroarcos, welf.kienle.kienle, lapageparfaite27, vardis11, miranewsruAdministrators: CyberSEO: 4276

Log In
Home
All RSS