Re: Sitemap independence from the files it points to
Joshua <[email protected]> Fri, 3 Jun 2005 08:07:34 -0700
| Newsgroups | gmane.comp.lib.nexista.devel |
|---|---|
| Message-ID | <[email protected]> |
That is possibly planned. Something like the <base href=""> tag of html. so map:base perhaps. And you can either hardcode a path there or use php streams. But i'd like to hear about your dtd/doctype venture to see if you aregetting around that. I've been meaning to explore but haven't got around to it J On Thursday 02 June 2005 2:55 pm, Albert Lash wrote: > Hi Joshua, > > I'm trying to make the sitemmap independent from the files it references, > by using a variable or constant specifier. Kind of like NX_XSL path > constant defined in the index.php file. > > This would then be used in the builders to prepend the path. If you want > to use relative paths, fine, just leave it blank. Otherwise, the constant > will allow you to use absolute paths, and move the directory that contains > all the stuff that sitemap references. I've already had to update all the > paths several times, and now that the sitemaps can get split up, it will > get harder. > > Just thought I'd check in with you to see if you have thought of this > before. I was thinking it might make sense to have a sitemap variable or > something, but that didn't sit right with me. > > Alby