Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
TFO - auto_index.ipl
andrew_yeo
wonder if anybody uses TFO. Need some help to modify the script auto_index.ipl The original script does an indexing pretty okay EXCEPT that I would think that an indexing script for use on the web should do a LIFO order instead of LILO order...shouldn't the latest items appear on top?
I'm lousy with Perl and absolutely not confident in "modifying" scripts from IWOV (reason being there are some proprietary tags that I have no idea what is it...)
so any takers? would really appreciate the help...besides we can all use it then...
i've attached the codes herewith... Thanks a million!
Find more posts tagged with
Comments
Migrateduser
Andrew,
First let me tell you that the auto indexing feature of TFO is going away with the next release of TFO for a couple of reasons in which you can contact the Interwoven's CSO department or sales department to speak in depth about. Basically one of them is its hard to edit how the ipl script outputs the information in a very easy to read and presentable format method, unless you know perl increasing the cost factor in maintaining such a page.
One of the tricky items with the auto_index.ipl script is that it can only grab and send data to your autoindex page that is taken via the metadatacapture window and the filters specified by you to have displayed. For instance if the date is not listed in the metadata capture window, and therefore not added to the index_template.htx file as one of the filters, it will not display and you won't be able to modify the auto_index.ipl file to possibly sort based on the date. It basically takes the file list ordered by your server, then reads the wrapped/encapsualted metadata information from each file grabbed by the metadata.cfg file upon save and submit, and then uses that information to spit out the file properties. Hope this helps a little. Let's talk about it some more.
andrew_yeo
I DROPPED the whole "auto-index.ipl" thang!
Implemented my own ASP solution to list directory files in specified directory using VB FileDirectory object and passed the info into an array to display within a customised HTML page. Array so that I can "sort them any way I want". The only thing is that it work "real-time", not too good I guess if your site has HIGH hits but good enough for intranet use.