Page 30 of 134, showing 100 records out of 13,394 total, starting on record 2,901, ending on 3,000
# | Username | Text | |
---|---|---|---|
# | 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 |
# | Aug 14th 2009, 14:58 | poLK | alkemann: with this behavior, one can keep default translations in original table, and let i18n table manage only non-default ones |
# | Aug 14th 2009, 14:57 | poLK | sky_l3ppard: again, 'source record' instead of db table |
# | Aug 14th 2009, 14:57 | poLK | In this case we tell Translate behavior to translate Post.title field and SmoothTranslate to create default translation records for all our app languages and do not modify title field in the source record then saved in different locale. |
# | Aug 14th 2009, 14:56 | poLK | sky_l3ppard: section 'Using the behavior': |
# | Aug 14th 2009, 14:56 | sky_l3ppard | in extensible case i unset those fields before saving if record is being modified |
# | Aug 14th 2009, 14:56 | poLK | 'when', yes |
# | Aug 14th 2009, 14:55 | sky_l3ppard | core behavior also updates original record then adding new translation to the i18n table, as far as i understood |
# | Aug 14th 2009, 14:54 | poLK | ok |
# | Aug 14th 2009, 14:54 | sky_l3ppard | look it one more time please |
# | Aug 14th 2009, 14:54 | poLK | sky_l3ppard: one of reasons for your behavior is: keep default translation for 'title' in field posts.title - and core's behavior requires to remove posts.title field from db schema |
# | Aug 14th 2009, 14:54 | sky_l3ppard | ) poLK now i've changed |
# | Aug 14th 2009, 14:53 | alkemann | ACTION didnt understand neither |
# | Aug 14th 2009, 14:53 | poLK | 'source record translatable field untouched' speaks about record, but readers should notice that core's behavior needs to _remove_ fields from schema |
# | Aug 14th 2009, 14:52 | poLK | sky_l3ppard: my point is that your words 'source record translatable field untouched' sounds better like 'structure of original database table, used by some translated model' |
# | Aug 14th 2009, 14:49 | sky_l3ppard | the third notice, cant find there to fit it :) |
# | Aug 14th 2009, 14:47 | poLK | because it was touched by many hands from core team |
# | Aug 14th 2009, 14:46 | poLK | belongs |
# | Aug 14th 2009, 14:46 | poLK | also, your thanks to 'authors' belogs to 'core developers' ;) |
# | Aug 14th 2009, 14:45 | poLK | sky_l3ppard: if you'll find some native English speaker here to check it (I'm sorry I can't help you with that, I'm also slavonian), it is ready to be published |
# | Aug 14th 2009, 14:42 | sky_l3ppard | ok |
# | Aug 14th 2009, 14:42 | poLK | . |
# | Aug 14th 2009, 14:41 | poLK | - 3) no need to alter original table when adding translations later |
# | Aug 14th 2009, 14:41 | poLK | - 3 |
# | Aug 14th 2009, 14:40 | poLK | - 2) 'There are cases when', not 'Where are cases then' |
# | Aug 14th 2009, 14:40 | poLK | - 1) doesn't sound like English to me (and my English is bad too) |
# | Aug 14th 2009, 14:39 | poLK | sky_l3ppard: sure |
# | Aug 14th 2009, 14:34 | sky_l3ppard | poLK, can you look at it one more moment? |
# | Aug 14th 2009, 14:05 | poLK | I assume good feedback on your article :) |
# | Aug 14th 2009, 14:05 | poLK | it is not criticism (!), I just think 1st part of this article should do some short compare of core's and your's behavior features. |
# | Aug 14th 2009, 14:04 | sky_l3ppard | yes you're right, i'll fix this |
# | Aug 14th 2009, 14:03 | poLK | also, it is not patch to TranslateBehavior, but class extending it to add/change some functionality. |
# | Aug 14th 2009, 14:02 | poLK | because you're saying purpose of your code just roughly |
# | Aug 14th 2009, 14:02 | poLK | sky_l3ppard: I had no chance to test your code yet, but I readed it and it seems ok to me. As of text of this article, I miss there one thing - one or two sentences, describing better how is this behavior different from core's one. Like: 'core TranslateBehavior requires to remove 'title/body etc fields from original table and handles default translations differently then I needed' |
# | Aug 14th 2009, 13:58 | sky_l3ppard | well i have one arm and i can type too, you know, you live with it and get used to it, and when you are going into something you really like like programming, it becomes not so important |
# | Aug 14th 2009, 13:56 | poLK | well, I am online and can type, so I would say that everything is ok :) |
# | Aug 14th 2009, 13:56 | sky_l3ppard | oh sorry, I hope everything it is ok? |
# | Aug 14th 2009, 13:56 | poLK | in during of last ~2 years, I had one-weekend vacation, many weeks in hospital, and that's it |
# | Aug 14th 2009, 13:55 | poLK | doctors loves me too much |
# | Aug 14th 2009, 13:55 | sky_l3ppard | ah, so now you had a real one? |
# | Aug 14th 2009, 13:54 | poLK | sky_l3ppard: I said 'something like vacation' before, not vacation ;) |
# | Aug 14th 2009, 13:54 | sky_l3ppard | poLK, in my country the weather is really bad :) summer just went away |
# | Aug 14th 2009, 13:53 | sky_l3ppard | ah i thought you have forgot, another vacation ? or a long one? how was it? |
# | Aug 14th 2009, 13:41 | poLK | sky_l3ppard: hi! Yes, I am still alive, I was 'just' out of service again. |
# | Aug 14th 2009, 12:13 | sky_l3ppard | hi poLK |
# | Aug 13th 2009, 14:29 | ADmad | hah |
# | Aug 13th 2009, 14:29 | Phally | trap |
# | Aug 13th 2009, 14:29 | Phally | the mouse has me in his trao |
# | Aug 13th 2009, 14:29 | Phally | ADmad: sup? |
# | Aug 13th 2009, 14:29 | ADmad | get a mouse trap ? |
# | Aug 13th 2009, 14:29 | Phally | ADmad: brr, i have mouse troubles |
# | Aug 13th 2009, 14:25 | ADmad | Phally: !! |
# | Aug 13th 2009, 01:33 | kuja | Hm, tougher than I thought, easiest route to adding a PDF feature to the Cookbook would apparently be to convert markup to a PDF. |
# | Aug 13th 2009, 01:21 | kuja | Hm, now I'm only concerned about getting syntax highlighting into the PDF. |
# | Aug 13th 2009, 01:14 | kuja | Meh, nevermind. I think I figured my way around it, creating the PdfHelper now =p |
# | Aug 13th 2009, 00:13 | kuja | Anyone have experience with the Cookbook source? |
# | Aug 12th 2009, 08:42 | ADmad | np :) |
# | Aug 12th 2009, 08:42 | Phally | ADmad: thanks, unpublished and written down the name, i have to go to get some groceries and then i'll check if he made more comments |
# | Aug 12th 2009, 08:31 | ADmad | Phally: check last comment ;) http://bakery.cakephp.org/articles/view/starschema-olap-setup-for-reporting |
# | Aug 12th 2009, 07:35 | ADmad | its gone.. guess should have taken a screenshot |
# | Aug 12th 2009, 07:34 | Predominant | Probably gone then ;) |
# | Aug 12th 2009, 07:34 | alkemann | well ur twitter has no content but a link that no longer exist |
# | Aug 12th 2009, 07:33 | Predominant | And it was a TV |
# | Aug 12th 2009, 07:33 | Predominant | I dont know |
# | Aug 12th 2009, 07:32 | alkemann | Predominant: they pull the plug on the cheap monitor? |