tag:blogger.com,1999:blog-6729541215652149967.post5841124815007390308..comments2024-03-21T13:01:18.480+02:00Comments on Yet Another Blogger Tips Blog: Return of the Better Recent Comments gadgetMS-potilashttp://www.blogger.com/profile/05137522196636058302noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-6729541215652149967.post-86404491418508029962012-01-12T05:23:35.588+02:002012-01-12T05:23:35.588+02:00great work on my web
www.androidsite.ingreat work on my web<br />www.androidsite.inKBFUNhttps://www.blogger.com/profile/11750356305918419099noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-87519225719776591332011-12-28T18:01:36.649+02:002011-12-28T18:01:36.649+02:00thank you very much...this is really great...it wo...thank you very much...this is really great...it works on my blog... :DIkahttps://www.blogger.com/profile/03269050874404852359noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-39798600276478592262011-12-02T07:46:19.063+02:002011-12-02T07:46:19.063+02:00@Shaun Hotchkiss Thanks, great you like it :)@<a href="#c4681069193553663425" rel="nofollow">Shaun Hotchkiss</a> Thanks, great you like it :)MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-40866025195915183772011-12-02T06:57:38.079+02:002011-12-02T06:57:38.079+02:00@MS-potilas
Thank you! I just might try incorpora...@<a href="#c2133396118255385529" rel="nofollow">MS-potilas</a><br /><br />Thank you! I just might try incorporating it in my gadget someday then, with full attribution of course. I'll let you know if I do. Likewise, if you need anything from me, feel free to ask.Aratina Cagehttps://www.blogger.com/profile/05191120796865740975noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-46810691935536634252011-12-02T03:16:55.475+02:002011-12-02T03:16:55.475+02:00Hey dude, thanks for the great gadget. It's mu...Hey dude, thanks for the great gadget. It's much better than the default blogger one and is now implemented at my blog.<br /><br />So I just thought I'd say, Kiitos!!Shaun Hotchkisshttps://www.blogger.com/profile/04832423210563130467noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-21333961182553855292011-12-01T07:37:50.564+02:002011-12-01T07:37:50.564+02:00@Aratina Cage
Thanks, I've seen automatic inst...@<a href="#c4776048967117679109" rel="nofollow">Aratina Cage</a><br />Thanks, I've seen automatic installation in some sites and wondered how they do it. Thank you for providing this information and details.<br /><br />If you want, and still work on your recent comments gadget, you can use my avatar fetching service in your gadget. Or if you want all the code to be yours, then you can copy the idea and write your own. My avatar fetching code is not perfect: if user has disabled profile page, then I don't know how to get profile photo in any easy way. One idea is to cache the profile photo from post/comment page, but quite complicated... Well, fortunately, not so many Bloggers disable their profile pages, those who do, get now the [B] icon.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-47760489671176791092011-11-30T23:29:26.258+02:002011-11-30T23:29:26.258+02:00I wanted to let you know that you can make the ins...I wanted to let you know that you can make the installation of this widget even more automated for people by using the Add Widget API. The details are here:<br /><a href="http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=53219" rel="nofollow">http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=53219</a> <br />and a demo page using it by Blogger is here:<br /><a href="http://blogger-add-widget-demo.appspot.com/" rel="nofollow">http://blogger-add-widget-demo.appspot.com/</a>.<br /><br />You can use <textarea> tags, too, instead of input tags like this: <textarea name='widget.content' style='display: none;'><i>Your widget code</i></textarea><br /><br />Just be sure to turn off auto-line breaking on the post or the page if you do use a textarea to store the code on the page or when they push the submit button for the form, every line will get a <br/> added to the end of it! Also, everything in the textarea must be HTML encoded (no less than or greater than symbols, etc.).<br /><br />And good job on bringing it all together like this!Aratina Cagehttps://www.blogger.com/profile/05191120796865740975noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-30246298676727527292011-11-21T13:01:18.468+02:002011-11-21T13:01:18.468+02:00WOW...
your blog full stylish my friend :)
and int...WOW...<br />your blog full stylish my friend :)<br />and interest article ;)<br /><br />nice to meet you from Beben Koben si bloglang anu ganteng kalem tea \m/<br /><br />I'll promote your blog, coz your explained tutor about blogger :)Beben Kobenhttps://www.blogger.com/profile/08754225607191914278noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-19629642404864819742011-11-07T21:07:27.346+02:002011-11-07T21:07:27.346+02:00@MS-potilas
Great! Thank you very much, kiitos!@<a href="#c6952152730514980360" rel="nofollow">MS-potilas</a><br /><br />Great! Thank you very much, kiitos!El Mexicanohttps://www.blogger.com/profile/17095000817060270040noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-69521527305149803602011-11-07T20:56:07.634+02:002011-11-07T20:56:07.634+02:00@El Mexicano
Great suggestion! That really was mi...@<a href="#c4060890267812847268" rel="nofollow">El Mexicano</a><br /><br />Great suggestion! That really was missing from this gadget, how did I not think of it... glad you did, thanks!<br /><br />And easy addition... find line:<br /><br />var txtTooltip = ' ... (your translation here)<br /><br />and after it, add line:<br /><br />var txtAnonymous = 'Névtelen';<br /><br />You can use the translation you want. Then find line:<br /><br /> avaimg = urlMyAvatar;<br /><br />and after that add two lines:<br /><br /> if(authorName == 'Anonymous' && txtAnonymous != '' && avaimg == urlAnoAvatar)<br /> authorName = txtAnonymous;<br /><br />I updated the code in the article, the new lines are lines number 23, 165 and 166, you may want to check there the right positions.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-40608902678128472682011-11-07T20:24:32.024+02:002011-11-07T20:24:32.024+02:00@MS-potilas
Now it's almost perfect, just one...@<a href="#c5526037658993178178" rel="nofollow">MS-potilas</a><br /><br />Now it's almost perfect, just one other suggestion. Presently, if an anonymous user posts a comment, the gadget will put "Anonymous" in English, so I would suggest to add a translation variable, like "varAnonymous = '(translation)';" to the CONFIG block, what do you think about it?El Mexicanohttps://www.blogger.com/profile/17095000817060270040noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-47168496530919116082011-11-07T11:56:22.835+02:002011-11-07T11:56:22.835+02:00@MS-potilas
Thank you very much, I'll try it ...@<a href="#c5526037658993178178" rel="nofollow">MS-potilas</a><br /><br />Thank you very much, I'll try it at home.El Mexicanohttps://www.blogger.com/profile/17095000817060270040noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-55260376589931781782011-11-07T05:57:47.018+02:002011-11-07T05:57:47.018+02:00@El Mexicano
To have the always 2 digit day number...@<a href="#c3092961605310455957" rel="nofollow">El Mexicano</a><br />To have the always 2 digit day numbers, just find line:<br /><br /> txtDate = txtDate.replace("dd", date.getDate());<br /><br />and replace with:<br /><br /> txtDate = txtDate.replace("dd", String("0"+date.getDate()).slice(-2));<br /><br />If you want the hours to have a preceding zero when needed, too, find:<br /><br /> txtDate = txtDate.replace("hh", date.getHours());<br /><br />and replace with:<br /><br /> txtDate = txtDate.replace("hh", String("0"+date.getHours()).slice(-2));<br /><br />One possibility could be also to use [datetime], which formats the date according to browser's locale settings.<br /><br />Your feedback has been valuable. The date feature in the gadget was a quick and late addition, and while implementing it I just thought of scandinavian and English representations of the date (with numbers). Now after reconsideration, I think the two digit forms are better by default, and I changed the source code accordingly. User can still choose the 1-2 digit form instead of 2 digit form, if wanted, by uncommenting two lines.MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-30929616053104559572011-11-06T22:19:45.699+02:002011-11-06T22:19:45.699+02:00@El Mexicano
Done, and it works super. By the way...@<a href="#c8844825020723723900" rel="nofollow">El Mexicano</a><br /><br />Done, and it works super. By the way, just one more question about some fine-tunning... I configured the date format for the Hungarian standard, "2011. 11. 6.", but is it possible to display the day in a two-digit format, like "2011. 11. 06."? I think our standard requires a "0" digit before, if the day or month number is just one digit. Thanks!El Mexicanohttps://www.blogger.com/profile/17095000817060270040noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-88448250207237239002011-11-06T22:08:42.291+02:002011-11-06T22:08:42.291+02:00@MS-potilas
Thank you very much, then I'll do...@<a href="#c4357904257551780837" rel="nofollow">MS-potilas</a><br /><br />Thank you very much, then I'll do it as you recommended.<br /><br />And yes, you are right, Hungarian is related to Finnish, though we don't understand each other's language, because there are some thousands of years between their separation. :) Unfortunately, a large number of Hungarian people deny the Finnish–Hungarian language relationship (they want to believe that we are descendents of an Ancient Turkic language, the Hunnish, because it sounds better for them), but these people are not linguists neither scientists, just activists who think of themselves to know all the truth of the world (of course these people cannot be taken seriously, as linguists have proved that Hungarian belongs to the Finno-Ugric branch of Uralic family).El Mexicanohttps://www.blogger.com/profile/17095000817060270040noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-43579042575517808372011-11-06T21:49:58.200+02:002011-11-06T21:49:58.200+02:00One update while testing on IE (IE does not constr...One update while testing on IE (IE does not construct date objects correctly from ISO 8601 dates). Changed line:<br /><br /> var cmtDate = new Date(entry.published.$t);<br /><br />to:<br /><br /> var datePart = entry.published.$t.match(/\d+/g); // assume ISO 8601<br /> var cmtDate = new Date(datePart[0],datePart[1]-1,datePart[2],datePart[3],datePart[4],datePart[5]);<br /><br />Without this change IE will show NaN where it should show date or time.<br /><br />(I've updated the source code in the article)MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-452738246203214552011-11-06T21:29:51.360+02:002011-11-06T21:29:51.360+02:00@El Mexicano
Hi, thank you for your message. I ju...@<a href="#c5264362764474730365" rel="nofollow">El Mexicano</a><br /><br />Hi, thank you for your message. I just replied to you on the <a href="http://www.google.com/support/forum/p/blogger/thread?tid=3b88dc61095d37f8&hl=en&fid=3b88dc61095d37f80004b115cd8a16d7" rel="nofollow">Blogger forums</a>. Your problem is really strange, as the gadget works on my blogs with IE9 (in IE7 mode, others also). I think that maybe the feed contains something that IE9 in IE7 mode chokes, my feeds does not.<br /><br />If you want to keep the gadget, I suggest you change in your template html the EmulateIE7 to EmulateIE8, as IE8 mode seems to work fine on your blog.<br /><br />I think Finnish and Hungarian are language relatives. :)MS-potilashttps://www.blogger.com/profile/05137522196636058302noreply@blogger.comtag:blogger.com,1999:blog-6729541215652149967.post-52643627644747303652011-11-06T20:12:45.007+02:002011-11-06T20:12:45.007+02:00Dear MS-Politas, I've just installed this gadg...Dear MS-Politas, I've just installed this gadget for <a href="http://elmexicano2010.blogspot.com" rel="nofollow">my blog</a>, and it works very fine in FireFox, but doesn't appear in Internet Explorer. However, in your blog it appears also in IE. So I think the problem is with the template file of my blog. I'm not an expert in it, so I would like to ask you to look at the source code, perhaps you can find easily the problem. <br /><br />Additional note: Default template configuration of blogger templates is set to "EmulateIE7" mode, as in your blog, too. When I change it to "EmulateIE8" or "EmulateIE9", however, the gadget appears.<br /><br />Thank you, greetings from Hungary. ;)El Mexicanohttps://www.blogger.com/profile/17095000817060270040noreply@blogger.com