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

Davor Ocelic docelic at spinlocksolutions.com
Fri Oct 3 13:31:32 UTC 2008


On Thu, 2 Oct 2008 16:55:20 -0400
"Chris Gamache" <cgamache at gmail.com> 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?

One ad-hoc solution is to name your file

  pages/something.xml.html

and then access it using URL:

  http://...../something.xml


That would work due to Interchange assuming .html extension
(configurable with HTMLSuffix directive) if you don't write
one yourself.


Another option might be periodically doing something like

wget http://.../productdump.html > htdocs/products.xml

and then give Froogle link to that .xml page in the docroot,
outside of catalog's pages/ directory.

-doc



More information about the interchange-users mailing list