View Single Post
Old 03-16-2010, 08:29 PM   #1614
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by kiklop74 View Post
Actually it does have an effect. ...
You will get this result:

Code:
<div class="c"></div>
<div class="a"></div>
<div class="b"></div>
Therefore the order is important.
Interesting. I would have expected it to scan each tag it finds, as it finds it, against the filter list of the keep_only tags. That would produce an output that was in the same order as the input, a result that I would have expected.

To get the order-dependent result above, it looks like Calibre's recipe code scans the entire page against the first item in the list (c), then scans the entire page again against the second item (a) and finally scans the entire page a third time against the last item in the list (b).
Starson17 is offline