Log message #969048

# At Username Text
# Aug 14th 2009, 16:02 alkemann the words "just" and "to" makes a big difference in that sentence ;)
# Aug 14th 2009, 16:02 markstory which I've been doing as I find them.
# Aug 14th 2009, 16:02 markstory just have to document the options.
# Aug 14th 2009, 16:02 markstory nuh uh.
# Aug 14th 2009, 16:02 alkemann well yea, except this sort of api gets hidden in the Api
# Aug 14th 2009, 16:01 markstory yeah
# Aug 14th 2009, 16:00 poLK I would prefer extension of meta, it uses hardcoded array $types (rss/atom/icon/keywords/description) already
# Aug 14th 2009, 15:59 markstory but flexiblity is nice.
# Aug 14th 2009, 15:59 markstory me neither.
# Aug 14th 2009, 15:59 alkemann can think of a case where you would want to, but sure ;)
# Aug 14th 2009, 15:59 markstory $url can be used to override Router::url() or something.
# Aug 14th 2009, 15:58 markstory html->meta('canonical')
# Aug 14th 2009, 15:58 alkemann if u prefer
# Aug 14th 2009, 15:58 markstory or an extension of meta()
# Aug 14th 2009, 15:57 alkemann i dont see why it couldnt be a matter of echo $html->canon(); view and helper knows the current url and can ask router for the correct url
# Aug 14th 2009, 15:56 markstory alkemann: so some sort of method that makes canonical links for the current url>
# Aug 14th 2009, 15:55 alkemann because of /pages/home and /
# Aug 14th 2009, 15:55 alkemann i got this on my website's public layout : <link rel="canonical" href="http://illustrata.no<?php echo $html->url(); ?>">
# Aug 14th 2009, 15:54 alkemann if for no other reason than stop critics that read an article about duplciate content ;)
# Aug 14th 2009, 15:53 poLK markstory: yes, it produces (1.2) <link href="http://example.com" rel="canonical" />
# Aug 14th 2009, 15:53 alkemann since cakephp routes creates "problems" of duplicate content, I think it could be worth while to have a more direct support for it
# Aug 14th 2009, 15:52 markstory easiest enhancement ever.
# Aug 14th 2009, 15:52 markstory poLK: if that works my job is done then :)
# Aug 14th 2009, 15:52 alkemann markstory: google supports it. what else matters ;)
# Aug 14th 2009, 15:52 poLK (uses 'metalink' tag)
# Aug 14th 2009, 15:52 alkemann +t
# Aug 14th 2009, 15:52 poLK does exactly the same thing
# Aug 14th 2009, 15:52 alkemann poLK: yes. that was my though
# Aug 14th 2009, 15:52 poLK $html->meta(array('link' => 'http://example.com', 'rel' => 'canonical'))
# Aug 14th 2009, 15:51 ADmad he has given referencs for google and bing
# Aug 14th 2009, 15:51 markstory I thought I remembered support being spotty.
# Aug 14th 2009, 15:50 markstory is canonical even being supported?
# Aug 14th 2009, 15:50 markstory where is the patch?
# Aug 14th 2009, 15:49 ADmad this is what he says at the end "Hopefully the CakePHP development team will include canonical support in the next version of HtmlHelper under the $html->meta() method"
# Aug 14th 2009, 15:47 poLK alkemann: I think it is work for existing HtmlHelper::$tags 'metalink' => '<link href="%s"%s/>'
# Aug 14th 2009, 15:46 ADmad guess can do that since his article content is what matters more then the 2 line helper
# Aug 14th 2009, 15:42 alkemann http://bakery.cakephp.org/articles/view/canonical-helper-reducing-duplicate-content-issues - i like the content, but not the solution. to bad we done have bakery 2.0 with the markers yet. maybe make it a tutorial instead of code/helper ?
# Aug 14th 2009, 15:04 poLK alkemann: yes, similar one.
# Aug 14th 2009, 15:03 alkemann poLK: sounds like my Multilingual behaviour
# Aug 14th 2009, 15:00 poLK sky_l3ppard: now, this article needs just some spell/grammary check
# Aug 14th 2009, 14:58 sky_l3ppard i'm away for 15 min