[geeklog-devel] Search Engine Friendly URLs for Stories
Dirk Haun
dirk at haun-online.de
Sat Jan 31 09:16:48 EST 2004
Vinny,
>I wrote this against the current CVS version of geeklog-1.3. [...] Like
>staticpages, it is keyed on the $_CONF['url_rewrite'] variable.
I've integrated these patches into CVS now. Thanks!
I played around with it and noticed that the URL rewriting has one
drawback: It's not flexible enough to handle varying parameters, e.g.
http://www.geeklog.net/article.php/20031228224244779/print
http://www.geeklog.net/article.php/20031228224244779/Gallery
where the first one would be a link to the printer-friendly version (i.e.
&mode=print without rewriting) and the second one highlighting the word
"Gallery" when being returned from a search (i.e. &query=Gallery without
rewriting).
So at the moment, we have a mixture of both rewritten and normal links.
Not really a problem, but it looks a bit odd.
>I'd also like to add the recommendation that the
>"start_readmore_anchortag" and "end_readmore_anchortag" be available to
>the template regardless of whether there is more text to read.
I've introduced an {article_url} variable now that you could use for a
"link to this story" link (as seen on many news sites). Wouldn't that
accomplish the same result?
bye, Dirk
--
http://www.haun-online.de/
http://www.haun.info/
More information about the geeklog-devel
mailing list