[Zope] .html extensions
Joel Burton
jburton@scw.org
Mon, 12 Mar 2001 13:01:25 -0500 (EST)
On Mon, 12 Mar 2001, Chris Cioffi wrote:
> Hi all,
>
> way back I saw a reference on how to make it look like Zope objects end in
> '.html'. This can be important for getting into search engines. I've got
> Apache proxying back to Zope, so I thought that mod_rewrite would be my
> friend, however Zope still generates URLs w/o the .html.
Interesting. Are there search engines which only list pages that are
".html?" I'd think that w/so many other things out there (.pl, .htm, .cfm,
etc.), that it would easier for the search engines to just remove obvious
image types (ie .gif, .jpg, etc.) I would think that search engines would
keep anything that returned 'Content-type: text/html', and that was an
obvious query (ie www.foo.tld/search?name=pup)
In any event, you can easily *name* your zope objects as 'foo.html', but
it gets a little tricky when you want to start mixing python expressions
in. (the dot appears to suggest a method 'html' w/in object foo).
--
Joel Burton <jburton@scw.org>
Director of Information Systems, Support Center of Washington