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




Reader Comments

There are no comments posted for this web log entry.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 21, 2009 at 1:13 PM
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
@Ben, Because I am pedantic, I just want to make sure that everyone knows there is absolutely no encryption going on. There is only encoding and obfuscation. The cfencode tool only obfuscates your C ... read »
Nov 21, 2009 at 12:28 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jody I can't seem to get your code sample to work. If you are still having problems, try this code out and see if it gets you what you wanted. <!--- Comma delimited list with various duplicates ... read »
Nov 21, 2009 at 11:03 AM
Groovy Operator Overloading Does Not Work In The ColdFusion Context
Hi Ben, Thanks for this informative post. Now I am reading ur old posts too ... read »
Nov 21, 2009 at 10:56 AM
HostMySite.com Has The Best ColdFusion Hosting
@Mehul, Yes very nice people, however several downtimes per day which was not acceptable. Hence we had to move out. I am glad you are having good luck with them so far. ... read »
Nov 20, 2009 at 11:32 PM
Five Months Without Hungarian Notation And I'm Loving It
I've used headless camel case for years for not only ColdFusion variables, but also SQL tables and fields... pretty much everything involving code. I also subscribe to the "don't abbreviate and clea ... read »
Nov 20, 2009 at 11:00 PM
Five Months Without Hungarian Notation And I'm Loving It
@Marcel, Yeah, I always err on the side of longer but more readable variable names. As for the camel casing of CF methods and the headless camel casing of custom items, I get around this by always ... read »
Nov 20, 2009 at 10:56 PM
Five Months Without Hungarian Notation And I'm Loving It
I use the following and love it: my.namespace.MyComponents.functionMethodsOrUDF() CONSTANT_VALUES_OR_PROPERTIES One thing I always try is to CamelCaseBuiltInColdFusionFunctions() so others can tell ... read »