Creating A PING-Like Browser Bookmark For Feed-Squirrel

Posted August 25, 2006 at 3:05 PM

Tags: Javascript / DHTML

For those of you who post to Feed-Squirrel.com, you know that you are supplied with a URL that you can PING when you update your site. This URL will ask Feed-Squirrel to grab your RSS feed and update its internal listings. I don't like to do this automatically using ColdFusion after my actually blog posting, as I like some time to read the blog entry over before I submit. However, I also don't want to dig through my emails to find the PING URL after I am satisfied with my blog entry.

To deal with this, I have created a bookmark in my FireFox bookmarks that pings this URL without reloading the current page:

 Launch code in new window » Download code as text file »

  • javascript:(new Image()).src = 'http://www.feed-squirrel.com/ping/HTTPPing.cfm?ID=XXX'; void(0);

This bookmark creates a new Javascript Image object and then attempts to set the source to the URL that must be pinged (where XXX is my feed ID). The void( 0 ); stops the browser from actually refreshing the page. Really simple, but I am finding it very useful for updating the site.

Download Code Snippet ZIP File

Post Comment  |  Ask Ben  |  Permalink  |  Print Page



Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

There are no comments posted for this web log entry.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 7, 2009 at 5:53 PM
Ask Ben: Javascript String Replace Method
You can find here an advanced function that prepared with javascript replace function. This can make the first letters of words, sentences, lines and whatever you define automatically: http://www.m ... read »
Andrew Neely
Nov 7, 2009 at 4:56 PM
A Moment That Touched Me - The Fountainhead
Ben, Glad you enjoyed the podcast. Yeah, the Tank Riot guys can get really chatty during the episodes, but that's part of the charm of it for me. They've covered everything from Nichola Tesla to Cha ... read »
Nov 7, 2009 at 4:43 PM
Building A Fixed-Position Bottom Menu Bar (ala FaceBook)
Is it possible to make some more MenĂ¼`s ? ... read »
Jill
Nov 7, 2009 at 11:40 AM
How To Unformat Your Code (Like A Pro)
Derek, I think you might be right - sweet! Thanks for the link :) ... read »
Nov 7, 2009 at 11:25 AM
How To Unformat Your Code (Like A Pro)
I think it would be way easier to just use this http://www.logichammer.com/html-formatter/ He just released v3 and it rocks. ... read »
Jill
Nov 7, 2009 at 7:58 AM
How To Unformat Your Code (Like A Pro)
LMAO - this was pretty funny! I have to admit - I also love to reformat code so I can read it. My boss used to tell me to leave my OCD at home. Now I don't feel so bad after reading everyone else' ... read »
Nov 6, 2009 at 10:10 PM
How To Unformat Your Code (Like A Pro)
The timing of this post is just uncanny. I spent the last 15-20 minutes manually un-formatting my "Ben Nadel" style code within a CFC of mine. I was really digging the readability a few weeks ago, bu ... read »
Roe
Nov 6, 2009 at 5:11 PM
Passing Arrays By Reference In ColdFusion - SWEEET!
ArraySort also reorders the results of these java obj's ... read »