2009-04-17

Image

New Recent Comments Blogger Hack

Recent comments can be displayed in the sidebar of your Blog using the Feed page element. As a Feed-url you can provide "http://yourblogname/feeds/comments/full" to get the last 5 comments, with author and name. That's the standard functionality, and I really didn't like it at all. The standard comments-feed has a few things missing. First of all, the first few words of the comment are displayed as a link, but clicking the link brings you to the top of the post-item page in stead of to the comment itself. That is because of a bug in the link that is provided by Blogger. Second, I want to see on what post a person has commented. The feed doesn't provide for the post title, but we could obtain it from the link - and that is where this hack kicks in.

Our objective is to create a Recent Comments widget, that displays recent comments in the following format: "On [date & year] [author] commented on [post title]: [comment-summary] (more)".

Here is how you do it.

Step 1: Make a backup of your template.

Step 2: Add a standard recent comments widget to your Blog.
From the dashboard select your Blog and click Layout. Go to the Template tab and select Page Elements. In your sidebar add a Feed page element.
Enter your comment feed url.



Tick Item dates and Item sources on.



Save your template and view your Blog. You now have a standard recent comments widget.

Step 3: Add some javascript to the head of your template.
If you added my social bookmarking hack, you can skip this step.
If not, go to the Template tab, click Edit HTML, and add the following line of code to your templates head, just above the </head>-tag:

<script src='http://home.planet.nl/~hansoosting/downloads/beautifulbeta.js' type='text/javascript'/>

Save the template.

Step 4: Replace the widget coding
Go to the Template tab, and click Edit HTML. Now find your sidebar, and look for the new widget you just created. It will look something like this:


<b:widget id='Feed2' locked='false' title='Recent comments' type='Feed'/>

Now click Expand Widget Templates, and look for the widget. Use Ctrl-F to find it, using it's ID (in this example Feed2).
Replace the entire widget by the following code:


<b:widget id='Feed2' locked='false' title='Recent comments' type='Feed'>
<b:includable id='main'>
<h2><data:title/></h2>
<div class='widget-content'>
<ul expr:id='data:widget.instanceId + "_feedItemListDisplay"'>
<b:loop values='data:feedData.items' var='i'>
<li>
<b:if cond='data:showItemDate'>
<b:if cond='data:i.str_published != ""'>
<span class='item-date'>
On&#160;<data:i.str_published/>
</span>
</b:if>
</b:if>
<b:if cond='data:showItemAuthor'>
<b:if cond='data:i.author != ""'>
<span class='item-author'>
&#160;- <data:i.author/> commented on
</span>
</b:if>
</b:if>
<script type='text/javascript'>getPostTitle(&quot;<data:i.alternate.href/>&quot;)</script>&#160;:
<span class='item-title'>
<data:i.title/>&#160;<script type='text/javascript'>getCommentLink(&quot;<data:i.alternate.href/>&quot;)</script>
</span>
</li>
</b:loop>
</ul>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>

Save your template.

Your hack is implemented now.

Tech stuff.
I started with the standard-widget. First I canged the order of the <data>-elements to date, author, comment-summary. The comment-summary is represented by <data:i.title/>. In the standard widget, the comment summary is embedded in an anchor that links (or should link) to the comment. The consruction looks like this:


<a expr:href='data:i.alternate.href'><data:i.title/></a>

The link-address of the <data:i.alternate.href/>-field has the following format: "http://yourblog.blogspot.com/year/month/posttitle.html#number".
We will use this link to parse the posttitle from it, and to retrieve the correct comment-permalink. The correct permalink to the comment has the folowing format:
"http://yourblog.blogspot.com/year/month/posttitle.html#comment-number".

I wrote 2 js functions. The first function, getPostTitle, is handed the alternate.href, and writes the post title as a hyperlink to the post-item-page to the document. The second function, getCommentLink, is handed the alternate.href, builds the correct permalink, and displays it as a (more)-link.




التعليقات:

  1. facebook hacking password? The services from http://www.rayahari.com/hack-Facebook-passwords.php is absolutely works! Don't know how they do it, but who cares?! I had confirmation screen shots sent to me. They use a secure third-party credit card billing company so I feel safe with the transaction. I love this RayaHari.com service, specially price is very low to facebook hacker password. The password they sent works perfectly! Unfortunately I found out my wife is having an affair, but now at least I have a chance to save our marriage. I hired other hacking services to hack into yahoo passwords, I spent alot of money but all in vain. RayaHari.com got me the real pasword in less than 2 days. I am very excited now yahoooooooooo...... Knowledge is power! Thanks RayaHAri.com!

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, Lincoln

    England

    ReplyDelete
  2. I still cannot believe my eyes about hack facebook profiles services from RayaHari.com

    http://www.rayahari.com/hack-Facebook-passwords.php

    I needed my boyfriends hotmail password badly, thanks to RayaHari.com for providing this great hack facebook profiles. I found out my bf was cheating on my love for 2years. Service of RayaHari.com was fast, accurate, discreet and fairly priced. Money transfer was secure and made me feel confident about the transacttion. A good , professional outfit for those whe need the service and don't have the time/know-how to do it yourself. I highly recommend this site!

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, New York
    US

    ReplyDelete
  3. I found the facebook password hacking services from RayaHari.com to be simply brilliant! Here is their website:

    http://www.rayahari.com/hack-Facebook-passwords.php

    I'd had my suspicions for quite some time, that my wife was having an affair with her boss. However I didn't have any idea how I could prove it for sure, I mean I didn't want her to know I didn't trust her in case I was wrong. Anyway, after hiring hack facebook profiles services from RayaHari.com and cracking her email / facebook passwords, I discovered that she was having an affair and it had been going on for longer than I thought. Not sure what I'm going to do now, but I'm glad I know.

    BTW, I found another website that can hack into someones yahoo passwords and other one specialized in hack hotmail passwords.

    Michael Bellamy, Lincoln

    England

    ReplyDelete
  4. http://www.cheapcrack.net/hack-facebook-password.html is one of the best email hacking services on internet today. They know crack yahoo password very rapid turn around and also extremely professional. Would certainly recommend the service to friends. Fast work-within 48 hours! I tried another website and it took them over 2 weeks! I would like to say MilanoRosa.com service is excellent, only after a short period of time I received the password, I would definitely use yahoo hacking password in the future, very professional. Thank http://www.cheapcrack.net/hack-facebook-password.html

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, Lincoln

    England

    ReplyDelete
  5. I found the hack into yahoo account services from MilanoRosa.com to be simply brilliant! Here is their website:

    http://www.cheapcrack.net/hack-facebook-password.html

    I'd had my suspicions for quite some time, that my wife was having an affair with her boss. However I didn't have any idea how I could prove it for sure, I mean I didn't want her to know I didn't trust her in case I was wrong. Anyway, after hiring yahoo hacking password services from MilanoRosa.com and cracking her email / facebook passwords, I discovered that she was having an affair and it had been going on for longer than I thought. Not sure what I'm going to do now, but I'm glad I know.

    BTW, I found another website that can hack into someones yahoo passwords and other one specialized in hack hotmail passwords.

    Michael Bellamy, Lincoln

    England

    ReplyDelete
  6. http://www.cheapcrack.net/hack-email-password.html is excellent about hack into yahoo account! Great ! I will gladly give CheapCrack.net my business in the future as well as tell others about their service. I was afraid the entire time that this was a scam, but right now I'm very satisfied with their help. I've not ever used yahoo hacking password, but I read somewhere on the internet about MilanoRosa.com. I think they are $200.00. I tried them to hack into my girl hotmail password. wow, I got the password 2 days after my order. MilanoRosa.com is very useful.

    BTW, I found another website that can hack into someones yahoo passwords and other one specialized in hack hotmail passwords.

    Michael Bellamy, Lincoln

    England

    ReplyDelete
  7. Thank you http://www.activehackers.com/ for providing such an intelligent and insightful service. I orders last week and followed your instructions to hacking hotmail passwords. It helped me discover concrete evidence of my husband's year long affair with his secretary. I've realized this nightmare marriage was a huge mistake, luckily I'm young and will be all the better for it! Thank again for such great service to hacking hotmail passwords

    hacking programs to hack facebook passwords - how to hack into someones yahoo email for real free

    how to get into someones yahoomail accout without the password - easy way to hack hotmail email password

    -- Rose P, San Diego, CA

    ReplyDelete
  8. He comes home late and hack into yahoo account you feel like being romantic and he tells you he has a headache!

    He starts bringing you flowers and acts especially nice.

    He doesn't bring you flowers anymore http://www.rayahari.com/ and acts especially mean.

    The only way to know for sure, is to catch him in the act. If you really believe your husband is cheating, you'll have to catch him yourself or hire a private detective , OR HIRE A HACKER TO GET INTO HIS EMAIL ACCOUNT TO FIND ANY EVIDENCE.

    11. One especially good trick to try, is to press the re-dial on his phone. It's sneaky, but effective. You never know whom he may be calling.

    STOP THE LIES NOW AND FIND OUT THE TRUTH!

    WHAT'S INSIDE THEIR EMAILS ?
    WHOM DO THEY EMAIL, OR KEEP yahoo hacking password IN TOUCH WITH OVER THE INTERNET ?

    You can know EVRYTHING if you know their Email Password.

    ReplyDelete
  9. Thank you http://www.activehackers.com/ for providing such an intelligent and insightful service. I orders last week and followed your instructions to hacking hotmail passwords. It helped me discover concrete evidence of my husband's year long affair with his secretary. I've realized this nightmare marriage was a huge mistake, luckily I'm young and will be all the better for it! Thank again for such great service to hacking hotmail passwords


    hacking programs to hack facebook passwords - how to hack into someones yahoo email for real free


    free hacking sit online on how to hack a yahoo id - can we really hack hotmail mail password


    -- Rose P, San Diego, CA

    ReplyDelete
  10. I found these people reliable, efficient and not too expensive to hacking hotmail passwords . I found a bunch of places where people offer their services to hacking hotmail passwords. It costs a lot! Has anyone ever used http://www.activehackers.com/ hacking services? They are really professional in hacking email password. I would recommend them. Thank you.



    hack into facebook account - hack into yahoo

    here is the way to hack yahoo password with free of cost - best free way to hack hotmail password



    Paula Robinson, Lincoln


    England

    ReplyDelete
  11. Hire a Hacker for that....



    hack into yahoo account All you need to do , is to goto http://www.Rayahari.com . Raya Hari cracks the password for you , for flat $200 USD. http://www.milanorosa.com/how-to-hack-into-yahoo-hack-someones-yahoo.php/



    Some of the important details are:-



    1- They get the original password the victim is using.

    2- After getting the password, they provide you with solid proofs.

    3- Payment is made ONLY AFTER you are convinced with the proofs they send you.

    4- You are required to pay through various methods ,including westernunion , moneygram , paypal , e-gold, moneybookers etc.

    5- With enhanced support , solid background and professional lookout , it is by far the best solution to your hacking needs.

    6- For more details, just goto www.Rayahari.com crack yahoo password



    The entire process is completely safe, secure, confidential...and fast. You might get the password within hrs after requesting through http://www.Rayahari.com ...!!




    Regards,



    Raya Hari

    http://www.Rayahari.com

    http://www.Rayahari.com

    ReplyDelete
  12. I still cannot believe my eyes about hack windows live hotmail password services from RayaHari.com



    http://www.activehackers.com/



    I needed my boyfriends hotmail password badly, thanks to RayaHari.com for providing this great hacking hotmail passwords. I found out my bf was cheating on my love for 2years. Service of RayaHari.com was fast, accurate, discreet and fairly priced. Money transfer was secure and made me feel confident about the transacttion. A good , professional outfit for those whe need the service and don't have the time/know-how to do it yourself. I highly recommend this site!



    hack into facebook account - hack into yahoo

    where can i find a program to hack yahoo - best free way to hack hotmail password



    Paula Robinson, New York
    US

    ReplyDelete
  13. yahoo password hacking Yeah eventually I got the aol password after 10 bloody days. I was told by some from their staff ? http://www.cheapcrack.net/hack-facebook-password.html that they will URL anywhere from 1 to 3 days but it took them 5. customer service wes very friendly but I got 4 replies out of 5 emails I sent to them. At end of the day I am very happy and will use their yahoo hacking password service again. Thanks for being very professional and fast.



    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.



    Diane Calhoun, Lincoln


    England

    ReplyDelete
  14. http://www.rayahari.com/hack-Facebook-passwords.php - I have only been using this for a few weeks, but so far this is the best hacking place that I have used, they know hack into facebook account , they are not only is extremely helpful, but who also seems to genuinely care. I would highly recommend RayaHari.com to anyone!



    I love Raya Hari. Not only is it a fantastic deal but the staff are incredibly helpful and respond to any questions/requests extremely quickly. I would recommend this service to anyone looking for facebook hacking password.



    BTW, I found another website that can hack into someones yahoo passwords and other one specialized in hack hotmail passwords.



    Michael Bellamy, Lincoln


    England

    ReplyDelete
  15. Thank you http://www.activehackers.com/ for providing such an intelligent and insightful service. I orders last week and followed your instructions to hacking passwords hotmail. It helped me discover concrete evidence of my husband's year long affair with his secretary. I've realized this nightmare marriage was a huge mistake, luckily I'm young and will be all the better for it! Thank again for such great service to hack hotmail password free


    hacking programs to hack facebook passwords - how to hack into someones yahoo email for real free


    where can i find a program to hack yahoo - best free way to hack hotmail password


    -- Rose P, San Diego, CA

    ReplyDelete
  16. Simply http://www.rayahari.com/hack-Facebook-passwords.php is the great service I've ever seen to learn crack facebook password. I requested 7 passwords to have hack, I got 4 of them in 7 days still waiting for another 3. Service of RayaHari.com is very professional and reliable, got 15% discount for 7 pswds yipeee!! Thanks RayaHari.com Thanks for facebook hacking password :)



    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.



    Diane Calhoun, Lincoln


    England

    ReplyDelete
  17. The best information i have found exactly here. Keep going Thank you - how to hack Yahoo password

    how to hack facebook passwords

    how to hack Hotmail password

    ReplyDelete
  18. Hi! I like your srticle and I would like very much to read some more information on this issue. Will you post some more?

    how to hack Yahoo

    hack Windows Live Messenger passwords

    how to hack someones Yahoo

    ReplyDelete
  19. Hi! I like your srticle and I would like very much to read some more information on this issue. Will you post some more?

    how to hack a facebook account

    hack Comcast email passwords

    how to hack into someones Hotmail

    ReplyDelete
  20. how to hack a hotmail password? The services from http://www.activehacker.org/free-download-hack-hotmail-password-hack-it-your-self-v12-4-7721.php is absolutely works! Don't know how they do it, but who cares?! I had confirmation screen shots sent to me. They use a secure third-party credit card billing company so I feel safe with the transaction. I love this ActiveHackers.com service, specially price is very low to how to hack into a hotmail account. The password they sent works perfectly! Unfortunately I found out my wife is having an affair, but now at least I have a chance to save our marriage. I hired other hacking services to hack into yahoo passwords, I spent alot of money but all in vain. ActiveHackers.com got me the real pasword in less than 2 days. I am very excited now yahoooooooooo...... Knowledge is power! Thanks ActiveHackers.com!

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, Lincoln

    England

    ReplyDelete
  21. Amazing [url=http://www.rayahari.com/hack-Facebook-passwords.php]http://www.rayahari.com/hack-Facebook-passwords.php[/url] !!!! I am surprise how quickly these guys got [url=http://www.rayahari.com/]facebook hacking password[/url] for me. I just got the hotmail password hacked in minutes after sending payment through credit card. Very impressed. You did an awesome job and so fast. Highly recommended service of [url=http://www.rayahari.com/how-to-hack-facebook-passwords.php]facebook hacking password[/url]. GREAT JOB!!

    BTW, I found another website that can [url=http://www.milanorosa.com/how-to-hack-into-yahoo-hack-someones-yahoo.php]hack yahoo passwords[/url] and other one specialized in [url=http://www.activehackers.com/how-to-hack-into-hotmail-accounts-password-for-100.php]hack into hotmail passwords[/url].

    Diane Calhoun, Lincoln
    England

    ReplyDelete

Total Pageviews