The module is working very well. Thank you.

I have a question about the automatic tagging. It may be the 'community tagging' or 'tagedelic' modules, or perhaps just a setting... but the posts that simplefeed is generating, when viewed by an anonymous user, display "You have already tagged this post. Your tags:" and then a list of practically every tag used in the system so far...

here is an example: http://vistaaid.net/may-24%2C-company-heroes-game-windows-vista-pc though most content nodes have the same issue, as they currently mostly come from this module...

Have I set something up wrong...?

Thank you
davidhoare@vistaaid.net

CommentFileSizeAuthor
#2 simplefeed_item.patch1.21 KBalaa

Comments

redraven’s picture

I've experienced a similar anomaly, it only appears to be occurring when I do a manual refresh when I first create the desired feeds. Once things are up and running and relying upon cron, I don't seem to have any issues with the auto-taxonomy and it is functioning as expected.

alaa’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB

function simplefeed_item_parse() would append parsed categories to the feed's imposed categories

            $process_feed->tags .= ', '. implode($item->get_categories(), ', ');

so each feed item would inherit the categories on the previous items.

attached a patch to fix this.

JHeffner’s picture

I found one problem with the patch. If the feed item doesn't have any tags it never gets it's parent feeds tags. I think you want this

        if (variable_get('simplefeed_categories', 0)) {
             $tags = $process_feed->tags;
          if ($item->get_categories()) {
             $tags .= ', '. implode($item->get_categories(), ', ');
          }
        }
m3avrck’s picture

Status: Needs review » Fixed

Thanks, this is fixed now!

Anonymous’s picture

Status: Fixed » Closed (fixed)