BlogCFC ping list and timeouts
Having decided to promote my blog as much as possible, I decided one of the best ways was to ping as many blog servers as possible.
Blogcfc has (in its settings option in the admin) an option to list ping urls.When you submit a new entry to your blog, these servers are contacted automatically telling them you have a new entry.
So, on searching google for a good list of addresses to ping I came across: 56 RPC and RPC2 Services to Ping .I have included the list in the download link incase it disappears.
Problems can arise in blogcfc with so many urls being submitted. If you’re running blogcfc under coldfusion 8 you should be okay, as Ray coded the ping function to use threads.However if your not on Coldfusion 8 then you’ll need to add a timeout setting in “ping7.cfc” (which can be found in “/org/camden/blog”. This is because the cfloop may timeout.
Add the following line just above the cfloop:
<cfsetting requesttimeout=“9999999″>
Don’t forget to re-init you blog before you post, so that the new line is initalised.
Related posts:
- Finally! A New Design for cfblog Out with the old and in with the new....























todd sharp on February 1st, 2008
If you’re adventurous you could try setting a timeout of 1 on the cfhttp call that does the ping. In theory the request should complete and since you do not need to do anything with the response the loop will just continue on to the next ping (kind of like a poor mans cfthread if you will).