I've followed the instructions, and got one or two nodes to get auto-tags assigned to them. Most of the time, however, editing an existing node results in no new terms added to the taxonomy vocabulary.

I tried using both the Calias and the tagthe.net interfaces, same result with both.

Also tried turning off caching, and a few other ideas. No luck.

Since others appear to have no issues, I assume this is some weird interaction with another module or similar.

What's the best way for me to troubleshoot this? How can I see where it's breaking?

Comments

bille’s picture

Update...

It works on newly created nodes, but does not work when I edit an existing node.

IncrediblyKenzi’s picture

Assigned: Unassigned » IncrediblyKenzi
Status: Active » Needs work

bille: can you provide me with a screenshot of how you have the autotagging settings configured, as well as how you have your vocabularies set up?

I'll be happy to take a look.

gagarine’s picture

I marked this #667092: no tags created - body is not always ready as a duplicate.

I think it's append when you don't use the "body" field of the node but a cck field. So $node->body can be empty.

Perhaps it will be better to use node api "alter" so we can use $node->content.

For the moment I quikly fix that by loading the field value.

     // invoke autotagging api
      //
      $text = array();
      $text[] = $node->title;
      //gagarine quick fix because we don't use the node body
      //$text[] = str_replace("\n", ' ', $node->body);
      $text[] = str_replace("\n", ' ', $node->field_event_description[0]['value']);
      $text = implode(' ', $text);