All of the feed items come in as "Anonymous" which is not very informative.. it would be nice if this was "Name of author from feed item" instead.

Comments

micheleannj’s picture

I added a few lines of code to do this, and it works fine if you are doing a manual refresh. But when the cron job runs the refresh it seems to overwrite the feed authors name with the anonymous user. I haven't found a way around that yet...

Any suggestions? I can post the code I have so far if it's helpful (it's like 2 lines, folks can probably figure it out on their own...).

Ideally, this would be an admin setting option (ie "give feed items feed author")

Thanks,
maj

webchick’s picture

Sure, go ahead and post your code... it's a starting point, anyway. :) I also was trying to get this working on the cron job and alas... :(

m3avrck’s picture

Status: Active » Fixed

Fixed. Defaults to the parent feed author name.

boris mann’s picture

Status: Fixed » Active

Actually, this is not a good solution -- or rather, it needs to be configurable. (Some) feeds have author elements in them already, and we don't want every feed item to display as being owned by the feed author.

csevb10’s picture

How would you anticipate making the feed item have the author name from the feed since the owner of the item must be a registered user?
It can or will be possible to save the original author, but it doesn't seem like a good idea to actually assign them true drupal ownership/authorship to me...

boris mann’s picture

I actually don't find "anonymous" to be a problem for feed items, in Drupal speak, and think that's the better solution than what this patch just did -- or at least, it needs a toggle.

Just a data structure (?) + sample node-simplefeed.tpl that shows "author" from the source RSS file.

webchick’s picture

How would you anticipate making the feed item have the author name from the feed since the owner of the item must be a registered user?
It can or will be possible to save the original author, but it doesn't seem like a good idea to actually assign them true drupal ownership/authorship to me...

Right, I actually meant keep the user anonymous, but fill in the name value, based on the name of the person who wrote the original article.... "webchick (unverified)" is better than "Anonymous." :)

micheleannj’s picture

This discussion may help with the cron-needs-to-run-as-feed-owner issue: http://drupal.org/node/28142

I'd love to collaborate with anyone on fixing this, as it's a constant PITA for me... (I'm currently fixing feed item authors by hand every morning... not the best way to start the day)

thanks,
maj

m3avrck’s picture

This module is simple and the 80% use case is: whoever creates the feed, owns it.

If you don't want that, theme it out :-)

If you wnat more power, try FeedAPI: http://drupal.org/project/feedapi

m3avrck’s picture

Status: Active » Closed (fixed)