
![]() |
imred
Hey all,
Yep, first time in the phpforum![]() ASP.Netforum, but now i am forced over here by Wordpress.I wrote a content generator that posts content, using XMLRPC, to Wordpress blogs. However, it doesn't ap pearto ping when it posts. I don't know if that is because I am using timestamps that are NOT current or if I am just not forcing the ping.I tried looking through the phpcode in both xmlrpc.phpand post.php, but cannot figure out if it is supposed to ping when I call the blogger_newpost XMLRPC command. I don't really even see WHERE the code is for pinging. This is obviously a MUST HAVE for my system to really be worth anything to me.Can anyone help? Thanks in advance! imred
ok, so I think I see it in the comment.
phpfile...I am guessing that do_all_pings will do the job, however, how do I get that to fire pro perly when I use XMLRPC (and blogger_newpost) to trigger my new content into the system? It looks like the meta key should be set, but I don't see where that is done in either the xmlrpc.phpfile or the functions.phpfile or the post.phpfile.Still confused. I wish I were looking at asp.net, that might help![]() DangerMouse
This may seem a little odd but I've never actually bothered with Wordpess (shock horror!) so I can't really help with your question.
However I'd suggest a better approach to hacking the core wordpress files would be to just mannually ping a select few ping services. As you've already mastered XMLRPC this shouldnt be a problem at all, plus you end up with full control, can update your Wordpress install anytime without worrying about backwards compatibility and have a tool you can apply to any number of other tasks ![]() DM imred
quote author=DangerMouse link=topic=833.msg5737#msg5737 date=1205757424 This may seem a little odd but I've never actually bothered with Wordpess (shock horror!) so I can't really help with your question. However I'd suggest a better approach to hacking the core wordpress files would be to just mannually ping a select few ping services. As you've already mastered XMLRPC this shouldnt be a problem at all, plus you end up with full control, can update your Wordpress install anytime without worrying about backwards compatibility and have a tool you can apply to any number of other tasks ![]() DM Definitely a good point DM ![]() Now - 1 thing I am not sure of.... It may actually be pinging. I only thought it wasn't because I didn't see any resultant bots spidering at ping-time and all my other blogs (manual blogs) get a spider near-immediate. In the wp_posts table, I see 'closed' for ping_status, so would have hoped that meant it DID ping. I guess I will look around to find out if there is a ping test site so that I can ping it and see if the pinging is working ![]() asping at straws now![]() Thanks for the reply! perkiset
Put a dummy service under your own control into the ping list and see if you get hit.
imred
quote author=perkiset link=topic=833.msg5745#msg5745 date=1205776121 Put a dummy service under your own control into the ping list and see if you get hit. I've been trying to figure out how to set up a dummy service since my last post ![]() perly.I looked around and read that WP doesn't post until after the next time WP is 'refreshed', but places something in the database that tells the do_pings() function to ping those threads. I am still trying to figure out how it does that so that I can get it to ping for me. Thanks again for the help, guys. Hopefully I'll figure it out sometime Bompa
I never even thought of wp doing the ping. I just put a pinger in my posting code.
It's just one line with pingomatice: #$ping_content = get("http://pingomatic.com/ping/?title=$username&blogurl=http%3A%2F%2F $base&rssurl=http%3A%2F%2F$base%2Ffeed%2F&chk_weblogscom=on&chk_blogs= oetc etc etc"); truncated get the url with firefox at pingomatic or you can ping the important ones with: @ping_servers = ( "http://rpc.weblogs.com/pingSiteForm?name=$username&url=http%3A%2F%2F$base", "http://api.my.yahoo.com/rss/ping?u=http%3A%2F%2F$base", "http://api.moreover.com/ping?u=http%3A%2F%2F$base", } Either way will bring googlebot and yahoofeedfinder Bompa perkiset
Nice Bomps
|

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads