<div>Hi;</div> <div>I have the following block of code:</div> <div> </div> <div><table tal:define="objects here/objectValues;<BR> sort_on python:(('title', 'nocase', 'asc'),<BR> ('bobobase_modification_time', 'cmp', 'desc'));<BR> sorted_objects python:sequence.sort(objects, sort_on);<BR> start python:getattr(request, 'start', 0);<BR> batch
python:modules['ZTUtils'].Batch(sorted_objects, size=10, start=start);<BR> previous python:batch.previous;<BR> next python:batch.next"><BR> <tr tal:repeat="item batch"><BR> <td tal:content="item/title">title</td><BR> <td tal:content="item/bobobase_modification_time"><BR> modification date</td> <BR> <td tal:content="here/author">author</td><BR> <td tal:content="here/content">content</td><BR> </tr><BR></table><BR></div> <div>that works fine. But I'd like to call the following in that table:</div> <div> </div> <div><td><tal:content
metal:use-macro="here/XXX/macros/author"></tal:content></td><BR></div> <div>where "XXX" is the "item" that changes each time a new item from the batch is called. In other words, there is a folder with a "batch" of files, and each file is an "item". So, since the files' titles are simply sequential numbers, it would look something like this:</div> <div> </div> <div><td><tal:content metal:use-macro="here/1/macros/author"></tal:content></td><BR><td><tal:content metal:use-macro="here/2/macros/author"></tal:content></td><BR><td><tal:content metal:use-macro="here/3/macros/author"></tal:content></td><BR>...</div> <div> </div> <div>How do I do that? Even better, is it possible to just open up each file and read its contents??</div> <div>Thanks,</div> <div>Ben</div><p> 
                <hr size=1>Do you Yahoo!?<br>
Get on board. <a href="http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers">You're invited</a> to try the new Yahoo! Mail Beta.