Hi all,

I have an External Method that parses a file and put the title, body, list of links, list of images into a dictionary.

How do I now go about getting the info out of this dictionary?

If I do a
<dtml-var "filescript(REQUEST)">

it gives me the dictionary itself :

{'title': 'Industrial Co-ordination Office', 'links':  'applications', 'index', 'partnershipweblinks', 'breakthroughs', 'pdf/applications.pdf', 'presentation', 'presentation', 'services', 'collaboration', 'workshop', 'documentation', 'techniques', 'techniques', 'pdf/techniques.pdf', , 'body':\r\n\r\n Beamlines\r\n\r\n (etc, etc), 'images': ['img/red.gif', 'img/indcodiv44.gif']}

How do I get the value of each dictionary key back and how do I get rid of those horrible '\r\n\r\n".  If I do a dtml-in it tells me that I cannot do a dtml-in with strings.

TIA




Marie Robichon

Web Task Force
European Synchrotron Radiation Facility
BP 220
38043 Grenoble Cedex
France

http://www.esrf.fr

Tel: (33) 04 76 88 21 86
Fax: (33) 04 76 88 24 27