[ic] Getting Interchange to parse and render pages that are not .html

Josh Lavin josh-ic at att.net
Fri Oct 3 13:06:53 UTC 2008


On Oct 2, 2008, at 3:55 PM, Chris Gamache wrote:

> I want to do a product dump to froogle. I can always do CGI, but I'd  
> rather have Interchange render it. Interchange doesn't seem to find  
> any files in the pages directory unless they are .html, and the URL  
> needs to end in .xml for froogle to accept it... Copious googling  
> reveals nothing. Any ideas?

Name your file: foo.xml.html

At the top, put:

[set mv_add_do_html]0[/set]
[calc] $Config->{HTMLsuffix} = '.xml'; return[/calc]
[tag op=header]Content-type: text/xml[/tag]

Access at: as foo.xml

Josh



More information about the interchange-users mailing list