View Single Post
Old 11-19-2011, 12:01 PM   #1
BruceBerry
Junior Member
BruceBerry began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: Kindle Keyboard 3G
Priority between keep_only_tags and remove_tags

Hi,

I'm new to the recipe API and I'm trying to write a simple recipe. Suppose that I have an element i want to keep and I add it to keep_only_tags. However, the node is a descendant of some content i want to filter out, which I add to remove_tags. Will the node from keep_only_tags appear in the processed page, or will it be lost while filtering out its parent? I don't see it in the processed page, so I just want to make sure this is intended and I don't have a bug in the code.
BruceBerry is offline   Reply With Quote