I wrote some code to enable selecting a view to filter which nodes the cck fields are harvested from. Currently I use this to only harvest a filefield from a node which has a creative commons license.

I lifted a bit of the code from the cck nodereference module.

If anyone is interested I will make a clean patch against CVS.

CommentFileSizeAuthor
#2 706720.diff1.93 KBdarrick

Comments

arthurf’s picture

Awesome! Please do post a patch! In fact, if you wanted to isolate your code into a mm_views module, I'd be glad to help you with this- this would be an awesome awesome addition to media mover.

darrick’s picture

StatusFileSize
new1.93 KB

Okay. The attached patch against media_mover/contrib/mm_views/mm_views.module should be a start. It only works with file fields and I haven't tested with having multiple values in a field. I also didn't fix the views argument.

I'll do more if you think I'm headed in the right direction with this.

arthurf’s picture

Looks solid. I'll commit it to the 6.1.x and 6.2.x branches