How to reset 'new' and 'updated' flags without visiting a node page? In my drupal site I have a content type that has its nodes visible only in a view and they have always the 'new' (or 'updated') flag up for all users.

How can I reset the flags without visiting the node page?
Is there a function to tell drupal "this user has seen this node"?
You can use node_tag_new() for that


  Updates the 'last viewed' timestamp of the specified node for current user.


e.g.

node_tag_new($node);