I'm not a very big Xanga fan for many reasons, so I chose to host my own blog using Movable Type. Yet, the reality is that many of my friends do use Xanga, and just read everything through Xanga'a built-in aggregator, rarely if ever checking out other non-Xanga sites.
For a while, I was cutting and pasting entries in my real blog to my Xanga site. However, I soon grew too lazy. I wanted some automatic way of mirroring entries to Xanga, like I've seen a friend of a friend do. So, being the lazy nerd that I am, I figured out the protocol that Xanga used, and hacked together a Perl script to do it for me.
So, to all you out there in Xanga land, I am back for good! =)
And, if you're interested in using the script yourself, check out the project page. Enjoy!
Posted by Ryu2 at February 27, 2004 11:48 PMI definitely want to try this out!
Wish me luck!~
Posted by: :: jozjozjoz :: at March 5, 2004 08:01 PMhaha, I royally screwed up some how and get this for an error.
Got an error: Global symbol "%s" requires explicit package name at lib/MT/App.pm line 23. Global symbol "%s" requires explicit package name at lib/MT/App.pm line 27. Global symbol "$s" requires explicit package name at lib/MT/App.pm line 103. Compilation failed in require at lib/MT/App/CMS.pm line 13. BEGIN failed--compilation aborted at lib/MT/App/CMS.pm line 13. Compilation failed in require at mt.cgi line 21.
Posted by: Randall at March 14, 2004 08:27 AMhrm, having some errors. It tells me this.
Got an error: Global symbol "%s" requires explicit package name at lib/MT/App.pm line 23. Global symbol "%s" requires explicit package name at lib/MT/App.pm line 27. Global symbol "$s" requires explicit package name at lib/MT/App.pm line 103. Compilation failed in require at lib/MT/App/CMS.pm line 13. BEGIN failed--compilation aborted at lib/MT/App/CMS.pm line 13. Compilation failed in require at mt.cgi line 21.
and can't quite figure it out. =P
Posted by: Randall at March 14, 2004 08:29 AMI might port this to PHP as well... any takers?
Posted by: Ryu2 at June 17, 2004 11:33 PMHi, I was wondering if you know where to find code for tracking people that click on your xanga? I found one but there are too many people using it so it doesn't work anymore. I tried to search on google, but no luck and ran across your website. Anyway, thank you!
Gin
PS-go look at my xanga!
Posted by: Gin at August 1, 2004 12:57 PMhey,
It's funny but I was doing something really similar to what you accomplished. I'm learning perl so I thought I'd put it to good use by doing exercises to add features to Xanga. I made an extremely crude archive tool which your code totally puts to shame ;-) Just wanted to say thanks!
Posted by: Jerry at August 10, 2004 02:58 PMI don't know if you're still considering porting this to PHP, but if you are, I know I would be interested :)
Otherwise I might have to figure out perl... egads.
Posted by: Michael Greene at October 14, 2004 12:02 PMI've been trying to write this same kind of functionality for a while (I have a Perl script on my desktop that blogs to multiple sources at once, for the same reasons you stated). I was just about fed up with Xanga when I stumbled into your module.
Thanks a ton. This is exactly what I needed.
Posted by: Mirkon at October 30, 2004 03:45 PMa PHP port would be wonderful, otherwise I guess I'll be learning Perl.
Posted by: Dave at November 21, 2004 08:14 PMI believe you'll need the curl library to port it to PHP and that's not installed on all servers. I'm having a hard time installing on my (development) windows computer.
Posted by: Fahim at December 6, 2004 07:13 PMAny luck on the PHP port? I'd love to use it with Wordpress! I'd do it myself, I just don't know perl at all, so I can't understand what all is being done.
Posted by: chris at December 7, 2004 01:20 AMYes, I'm still looking into PHP... but I haven't been able to devote a lot of time to it. What might be easiest might be to make it so that it's an external program which can be accessed via the php system() call.
And yes, multi-user support for MT (or something more general) is another feature which is high on the list.
Posted by: Mark at December 7, 2004 03:49 PMHaving wanted a Xanga crossposter for my Wordpress blog, I decided to port Mark's script to a PHP Wordpress plugin. I am currently in the initial debugging stages. Eventually, I plan on extending it to do edited posts and deleted posts. I'll drop another comment when the plugin is ready for distribution, hopefully within the next couple days!
Scott
Posted by: Scott at January 7, 2005 09:54 PMI have finished my plugin enough to release it for public distribution. It is still labeled as a Beta, but I don't know of any existing issues.
I have extended Mark's original script to include edits and deletes.
http://blog.mytechaid.com/archives/2005/01/10/xanga-crossposter/
Posted by: Scott at January 10, 2005 08:21 AMANy idea on how to get this to work on MT 3.14?
Just installed it and it does not seem to work. I followed the instructions exactly as you wrote them. Thanks.
Curious if anyone else can possibly figure this out:
Getting form at 'http://www.xanga.com/private/xtools/xtoolsclassic.aspx?plain=1'...
Authenticating to 'http://www.xanga.com/signin.aspx'...
500 Can't connect to www.xanga.com:80 (connect: Connection refused)
Authentication failure! (invalid username/password, or Xanga down.
My information is accurate, and xanga appears to be doing fine. Has something changed with xanga since the entry was made?
Posted by: Keene at March 4, 2005 09:03 PM