![]() | | ||||||||
| |||||||
![]() |
| | LinkBack | Thread Tools |
| | #1 | |
| Warrior Member War Room Member Join Date: Mar 2009 Location: USA
Posts: 27
Thanks: 2
Thanked 4 Times in 4 Posts
|
Yesterday I stumbled across the excellent pinging tip over in the thread: The How To -> Quickly Ping Any Open Page In Seconds! Time Saver Tip/Trick! However, I'm not sure if something has changed over at Ping-O-Matic, but I found that it kept giving me an error while pinging pages with titles containing certain characters (apostrophes, backslashes, etc.). I have updated the code to strip out all non-alphanumeric characters from the title using Javascript regexp replacement, and it seems to be working perfectly now: Code: javascript:location.href='http ://pingomatic.com/ping/?title='+encodeURIComponent(document.title.replace(/[^a-zA-Z 0-9]+/g,''))+'&blogurl='+encodeURIComponent(location.href)+'&chk_weblogscom=on&chk_blogs=on&chk_technorati=on&chk_feedburner=on&chk_syndic8=on&chk_newsgator=on&chk_myyahoo=on&chk_pubsubcom=on&chk_blogdigger=on&chk_blogrolling=on&chk_blogstreet=on&chk_moreover=on&chk_weblogalot=on&chk_icerocket=on&chk_newsisfree=on&chk_topicexchange=on&chk_google=on&chk_tailrank=on&chk_bloglines=on&chk_aiderss=on&chk_skygrid=on&chk_audioweblogs=on&chk_rubhub=on&chk_geourl=on&chk_a2b=on&chk_blogshares=on' I hope this helps anyone who was having a similar problem. The error I kept getting from Ping-O-Matic was: Quote:
| |
| | |
| | #2 |
| IM White Belt Join Date: Jul 2008 Location: , Ontario, Canada.
Posts: 155
Thanks: 70
Thanked 25 Times in 20 Posts
|
I've been getting that error occasionally the last couple of days. However I've laso noticed that refreshing the page (F5) seems to make it go through the second time. |
|
"you got to keep fighting, keep believing and never give up in order to succeed" Tim Gorman | |
| | |
| | #3 |
| Warrior Member War Room Member Join Date: Mar 2009 Location: USA
Posts: 27
Thanks: 2
Thanked 4 Times in 4 Posts
|
I noticed that too. It seems like the same error is coming up either timeout issues, or a special character in the title. Usually I could get the timeout issues to go away by refreshing/resubmitting, but with certain characters in the title, the error would never go away. |
| | |
![]() |
|
| Tags |
| ping, pinging, pingomatic, timesaver, trick, update |
| Thread Tools | |
| |
![]() |