I agree with the awesomeness of this application. But like a few others, I think that the addition of an option to turn off automatic posting should be included. Sometimes I don’t want an exact copy of the blog, but just somethings that might contain similar content.
I’m still trying to work out exactly what The Right Way of adding things to the composition page is - I know how to hack it together, but hacks tend to not be well supported in the future.
I installed the plug-in and it worked perfectly the first time. But then I realized that although the entries were showing up on my LJ, they weren’t showing up on the friends pages of people who had me listed as a friend. Upon investigation, I found that this is because the crossposted posts were being automatically set as backdated. Do you have any idea what could be different in my blog setup that’s causing entries to backdate? They do backdate to the current date and time, but LJ’s friends pages automatically exclude any backdated entry, regardless of when it’s backdated to.
This is a known problem with version 1.3. The current development source for version 1.4 fixes the bug. It’s basically a change in a single SQL query. I plan to add some more features this weekend, so I’ll release an update then, hopefully.
I think I am totally missing something… I copied the file into my plugins directory, activated it, went to the livejournal options page and set up all the options - but when I go to my ‘Write’ page, I dont have an option to send it to LJ too. I tried posting a random entry and it didn’t go. SHould I be seeing a button or a checkbox or something on the ‘write’ page?
You’re site is running WordPress 1.5.1.1. LJXP doesn’t support anything below v2.0.
If you can’t or won’t upgrade, I would encourage looking into Live+Press.
I personally disagree with those that claim WP 2.0 isn’t ready for production environments, or 2.0.1 at the very least. I have positioned my plugin to complement Live+Press, which supports v1.5 and not 2.
If you just have your heart set on using LJXP, it should be possible to apply the changes made between v1.1 and v1.3 of LJXP to the 0.1 tree, which does work in WP 1.5.
Alternatively, I would be glad to adapt the current version to WP 1.5 myself, but I would require someone to sponsor the necessary time, and the code would still have to be released under the MIT license. Feel free to contact me privately if you are interested in this option.
I’m sorry I can not give a more satisfying answer.
Hey, I’m still having problems with all my posts being backdated on Lj, and thus not showing up in my friends list… Anyone else still having this problem?
basically utw is adding a “tags” system, similar to “categories”, but better (in my opinion)
so it just work the exact same way… except, to make it oversimple, that the sql tables are different
but i seem to have an issue with the priorities of the 2 plugins, because (my tweaked) LJXP is looking for the post tags before UTW has written them in the DB
i’ll let you know if i get this working, though
(i still have issues - timeouts or tags not posted - obviously because of the 2 plugins “priorities” - in add_action - … btw, do you have a special reason for using priority 8 ?)
There’s no good reason for using priority 8. I couldn’t find any documentation on recommended priorities, so I based it on the Xanga Crossposter referenced in the plugin metadata.
I’ve seen some issues with timeouts too, but they’re a rarity, so I haven’t been able to come up with any good theories as to cause.
i think i found the cause of timeouts.. it has nothing to do with ljxp VS utw, it’s obviously the ping to pingomatic that slows down the whole posting process !
so things are working (obviously) fine now !
now i need to try a few things (like getting the tags from an UTW function instead of the one i wrote inside my hacked LJXP :p)
Sergey, I was aware of this option, and planned to add it.
However, I was nominated for the Presidential Scholars Program, run by the US Department of Education. It’s supposed to be reasonably prestigious, and thus I am applying, however, there are 6 annoyingly long essays that have to be written for the application.
Long story short, I didn’t have the time to develop this weekend that I was planning for.
Works great Well done. I just installed your latest version, however there’s an issue with the posts not showing up in the friends pages even though I posted new entires in WP. Hmmm a fix would be great thanks or a point in the right direction as to what to do
Hmm, I copy pasted this version here http://ebroder.net/plugins/source/ljxp/ into the plugin and the write post page came up with this error. Hope that helps…
Warning: Cannot modify header information - headers already sent by (output started at /blogs/yukio/wp-content/plugins/lj_crosspost.php:614) in /hblogs/yukio/wp-admin/inline-uploading.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /blogs/yukio/wp-content/plugins/lj_crosspost.php:614) in /blogs/yukio/wp-admin/inline-uploading.php on line 140
Nevermind. I fixed it by uploading the stable release and relplacing just the one line you specified above I’d suggest maybe.. providing a bit more instruction because it took me a while to figure it out hehe
“Something went wrong - -32300 : transport error - could not open socket: 0 Success”
…whenever I try to update an entry with LJ crosspost enabled. If it’s turned off I don’t have any problems. I was previously using v1.1 before I updated from WordPress 2.0 to 2.0.1. Now that I’ve updated to the most recent version of WP, LJXP doesn’t seem to work. Any ideas? Thanks for the great plugin, by the way. Except for this issue I’ve not had any problems with it.
Ah, I see. I need to delete the ljID, yes?
I thought you’d implemented a checkbox stating something like “exclude from…” on the “write” page to exclude them from being send on first hand.
On the “write” page, in the sidebar, with categories and post slug and all that stuff, there should be a box labelled LiveJournal. If you change that setting, it should not crosspost the post in question, or delete it if it’s been crossposted before. Be sure you have the latest version.
There is a god!!! YES! thank you so much! Its simple, its easy and it works.
I know you set out to do this for yourself needing a cross poster, and i’m sure getting requests is a pain, but could you maybe point me in the right direction for making the “link” back to my blog from LJ a little less obtrusive? I’d actually like it to go on the bottom of the entry, but if thats hard to do, then no worries.
Evan, I’m seeing the same problem as Rory. In which line of code is this failure? I’d like to debug it myself. I have absolutely no problems connecting to livejournal.com (port 80 at least) from this machine. Would very much love to get this plugin to work. Thanks.
Mike, the error Rory got is output by the IXR library, which LJXP uses for the XML-RPC calls. Are you sure that you can access livejournal.com on port 80 from your webserver?
If not, I really have no idea, and it’s outside of my knowledge to help much. Sorry!
Thanks for the feedback, Evan. I’m not sure what caused it but after re-copying the LJXP plugin back to my WP plugin folder, everything works now. However, this could be a total coincidence that it just decided to start working again. I’ll keep you posted if there are any additional quirks — though they might be server related.
I’ll see what I can do about mucking around in the source files for some ways to hack in some features.
As a previous Live+Press user, there are a few things I’d like to see:
1) Support for excerpts instead of the entire post. I liked being able to have short LJ posts with a link at the bottom pointing back to my Wordpress blog. Especially important when I have the post formatted a specific way. Would be nice to have an option to post the excerpt or the full post.
2) Ability to change the linkback text, and/or its position in the post.
3) Support for LJ Moods. I gotta see what I had before, but somehow I had it updating my LJ mood and then my blog entry also displayed a mood.
Anyways, as it stands now, this is still a great plugin. It does what it’s supposed to do, which is keep my LJ friends up to date when I make an entry.
Exceprts are a good idea. I’ll put them on the to-do list
Editing the linkback text has been on the to-do list for a long time; I’m still working out how it should happen.
I’m not going to support LJ moods in LJXP. The whole idea conflicts with the point of the plugin, which is transparent crossposting. That’s my developer’s call, and I’ve made it before, if you check the discussion archive. I just think that moves in a dangerous direction towards bloatware.
Hi, Evan. Thanks for making this plug-in. While it was easy to set up, when I hit the crosspost button, everything ran for a while before falling over and spitting out this:
Something went wrong - Client : Application failed during request deserialization: not well-formed (invalid token) at line 13, column 170, byte 2181 at /usr/lib/perl5/XML/Parser.pm line 187
Most of my posts went through, though. Anything I can turn off on my end?
On line 465 of the LJXP source code, there’s a line that’s commented out. Uncomment it by deleting the // at the beginning of the line, and then try crossposting everything again (or even better, edit and then save the first one that wasn’t copied—the edit and save should cause LJXP to try again).
E-mail me the error output that you get, and I’ll take a look at it, but I can’t make any promises. The error you got is clearly coming from LJ and not from LJXP, WP, or IXR (a WP library I use).
Just to be clear, you say you clicked the crosspost all entries button and this happened? Or you were trying to crosspost a single entry?
Evan Broder is a proud member of the MIT Class of 2010, a rising sophomore majoring in Course VI (EECS). He spends all of his spare time playing with electronics and designing circuits, with some occasional Super Smash Brothers: Melee and Guitar Hero thrown in. He can be contacted at ebroder@ebroder.net
February 3rd, 2006 at 6:17 pm
Sergey -
It’s done and in the development source.
February 4th, 2006 at 4:51 am
Looking good! I’ll give it a thorough testing later today! Keep up the good work!
February 5th, 2006 at 3:51 pm
I agree with the awesomeness of this application. But like a few others, I think that the addition of an option to turn off automatic posting should be included. Sometimes I don’t want an exact copy of the blog, but just somethings that might contain similar content.
All in all — excellent! Thanks very much!
February 5th, 2006 at 4:25 pm
Arthur, I totally understand.
I’m still trying to work out exactly what The Right Way of adding things to the composition page is - I know how to hack it together, but hacks tend to not be well supported in the future.
February 7th, 2006 at 9:43 am
What about posting to a community, is it possible?
February 8th, 2006 at 5:01 pm
I installed the plug-in and it worked perfectly the first time. But then I realized that although the entries were showing up on my LJ, they weren’t showing up on the friends pages of people who had me listed as a friend. Upon investigation, I found that this is because the crossposted posts were being automatically set as backdated. Do you have any idea what could be different in my blog setup that’s causing entries to backdate? They do backdate to the current date and time, but LJ’s friends pages automatically exclude any backdated entry, regardless of when it’s backdated to.
February 8th, 2006 at 8:07 pm
This is a known problem with version 1.3. The current development source for version 1.4 fixes the bug. It’s basically a change in a single SQL query. I plan to add some more features this weekend, so I’ll release an update then, hopefully.
February 9th, 2006 at 10:45 am
Thanks for squashing that bug Evan. I was having a similar problem with messages not showing up on friend’s pages or in the LJ RSS feed.
Good luck with college.
February 9th, 2006 at 12:15 pm
I think I am totally missing something… I copied the file into my plugins directory, activated it, went to the livejournal options page and set up all the options - but when I go to my ‘Write’ page, I dont have an option to send it to LJ too. I tried posting a random entry and it didn’t go. SHould I be seeing a button or a checkbox or something on the ‘write’ page?
February 9th, 2006 at 4:00 pm
You’re site is running WordPress 1.5.1.1. LJXP doesn’t support anything below v2.0.
If you can’t or won’t upgrade, I would encourage looking into Live+Press.
I personally disagree with those that claim WP 2.0 isn’t ready for production environments, or 2.0.1 at the very least. I have positioned my plugin to complement Live+Press, which supports v1.5 and not 2.
If you just have your heart set on using LJXP, it should be possible to apply the changes made between v1.1 and v1.3 of LJXP to the 0.1 tree, which does work in WP 1.5.
Alternatively, I would be glad to adapt the current version to WP 1.5 myself, but I would require someone to sponsor the necessary time, and the code would still have to be released under the MIT license. Feel free to contact me privately if you are interested in this option.
I’m sorry I can not give a more satisfying answer.
February 9th, 2006 at 6:55 pm
Hey, I’m still having problems with all my posts being backdated on Lj, and thus not showing up in my friends list… Anyone else still having this problem?
Thanks!
February 9th, 2006 at 7:18 pm
Did you upgrade to the development version, not the current stable version?
It should be labelled as version 1.4 on your plugins list.
February 9th, 2006 at 9:17 pm
Hey Evan,
I’m using v1.3, and there seemed to be a bug for copying tags from WP to LJ. I think I found the problem:
Line 484:
$args[taglist] = $cat_string;
should be
$args[props][taglist] = $cat_string;
February 9th, 2006 at 10:21 pm
Indeed you are correct. I had to pull that line out on its own so tagging could be disabled, and must have forgotten the [props].
It’s in source for 1.4.
February 12th, 2006 at 9:52 am
hi !
great plugin !
i’m currently trying to make it work (in a quick’n dirty way, i must say) with this other plugin http://www.neato.co.nz/ultimate-tag-warrior/
basically utw is adding a “tags” system, similar to “categories”, but better (in my opinion)
so it just work the exact same way… except, to make it oversimple, that the sql tables are different
but i seem to have an issue with the priorities of the 2 plugins, because (my tweaked) LJXP is looking for the post tags before UTW has written them in the DB
i’ll let you know if i get this working, though
(i still have issues - timeouts or tags not posted - obviously because of the 2 plugins “priorities” - in add_action - … btw, do you have a special reason for using priority 8 ?)
February 12th, 2006 at 9:53 am
oops, mentioned the “issue” twice ^^
shouldn’t have finished writing my comment 2 hours after starting it
February 12th, 2006 at 10:47 am
There’s no good reason for using priority 8. I couldn’t find any documentation on recommended priorities, so I based it on the Xanga Crossposter referenced in the plugin metadata.
I’ve seen some issues with timeouts too, but they’re a rarity, so I haven’t been able to come up with any good theories as to cause.
February 12th, 2006 at 11:11 am
i think i found the cause of timeouts.. it has nothing to do with ljxp VS utw, it’s obviously the ping to pingomatic that slows down the whole posting process !
so things are working (obviously) fine now !
now i need to try a few things (like getting the tags from an UTW function instead of the one i wrote inside my hacked LJXP :p)
February 13th, 2006 at 12:36 am
IT _ JUST _ WORKS !!!!
I only ever used the crossposting function of LivePress. I installed this in under a minute (probably under 30 seconds) and it works flawlessly!
THANKYOU!!!!!
February 14th, 2006 at 8:45 am
I found that posting to a community can be done with
$args[usejournal] = “community_name”;
Think this should be added as an option.
February 14th, 2006 at 5:07 pm
Sergey, I was aware of this option, and planned to add it.
However, I was nominated for the Presidential Scholars Program, run by the US Department of Education. It’s supposed to be reasonably prestigious, and thus I am applying, however, there are 6 annoyingly long essays that have to be written for the application.
Long story short, I didn’t have the time to develop this weekend that I was planning for.
February 14th, 2006 at 7:15 pm
I couldn’t agree more!
February 15th, 2006 at 10:07 am
That’s great. Good luck!
February 18th, 2006 at 10:06 am
Works great
Well done. I just installed your latest version, however there’s an issue with the posts not showing up in the friends pages even though I posted new entires in WP. Hmmm a fix would be great thanks or a point in the right direction as to what to do 
February 18th, 2006 at 10:15 am
Hmm, I copy pasted this version here http://ebroder.net/plugins/source/ljxp/ into the plugin and the write post page came up with this error. Hope that helps…
Warning: Cannot modify header information - headers already sent by (output started at /blogs/yukio/wp-content/plugins/lj_crosspost.php:614) in /hblogs/yukio/wp-admin/inline-uploading.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /blogs/yukio/wp-content/plugins/lj_crosspost.php:614) in /blogs/yukio/wp-admin/inline-uploading.php on line 140
February 18th, 2006 at 10:21 am
Nevermind. I fixed it by uploading the stable release and relplacing just the one line you specified above
I’d suggest maybe.. providing a bit more instruction because it took me a while to figure it out hehe
February 19th, 2006 at 3:13 pm
2Sergey Biryukov: Could you explain where exactly $args[usejournal] = “community_name”; should be placed?
February 19th, 2006 at 8:09 pm
Insert it at line 485
February 20th, 2006 at 5:10 am
I’m getting …
“Something went wrong - -32300 : transport error - could not open socket: 0 Success”
…whenever I try to update an entry with LJ crosspost enabled. If it’s turned off I don’t have any problems. I was previously using v1.1 before I updated from WordPress 2.0 to 2.0.1. Now that I’ve updated to the most recent version of WP, LJXP doesn’t seem to work. Any ideas? Thanks for the great plugin, by the way. Except for this issue I’ve not had any problems with it.
February 20th, 2006 at 7:51 am
Thanks Evan!
February 20th, 2006 at 7:53 am
Your release notes say “Individual posts can now be set to not be crossposted”.
May I ask how? I can’t figure this out, there’s no way to exclude an entry from being crossposted.
February 20th, 2006 at 10:20 pm
Rory—
Your problem sounds like an issue with your webserver connecting to LiveJournal. I can’t help you there.
SchwaKa—
There should be an option on the page where you edit posts.
February 21st, 2006 at 7:21 am
Ah, I see. I need to delete the ljID, yes?
I thought you’d implemented a checkbox stating something like “exclude from…” on the “write” page to exclude them from being send on first hand.
February 21st, 2006 at 9:41 am
On the “write” page, in the sidebar, with categories and post slug and all that stuff, there should be a box labelled LiveJournal. If you change that setting, it should not crosspost the post in question, or delete it if it’s been crossposted before. Be sure you have the latest version.
February 21st, 2006 at 9:52 am
Hmm… no box for me. I do have the latest version. Maybe there’s a problem with one of my plugins.
Or is there a problem with using WP 2.0.1?
Sorry for bothering you. :/
February 21st, 2006 at 4:06 pm
Can you e-mail me a screenshot of what your “Write” page looks like?
February 21st, 2006 at 4:31 pm
You’ve got mail.
February 21st, 2006 at 6:51 pm
Thanks man, your plugin rules! I thought it would be much harder than that and was very pleasently surprised!
(PS your tab order on comments boxes (this site, not LJXP) clashes with the shoutbox - might wanna change that)
February 22nd, 2006 at 12:37 am
There is a god!!! YES! thank you so much! Its simple, its easy and it works.
I know you set out to do this for yourself needing a cross poster, and i’m sure getting requests is a pain, but could you maybe point me in the right direction for making the “link” back to my blog from LJ a little less obtrusive? I’d actually like it to go on the bottom of the entry, but if thats hard to do, then no worries.
Cant thank you enough.
February 22nd, 2006 at 6:43 am
I really don’t have time this week to write up exactly how to do it, but everything dealing with the header is done in lines 480-528.
February 22nd, 2006 at 2:03 pm
Evan, I’m seeing the same problem as Rory. In which line of code is this failure? I’d like to debug it myself. I have absolutely no problems connecting to livejournal.com (port 80 at least) from this machine. Would very much love to get this plugin to work. Thanks.
February 22nd, 2006 at 5:17 pm
Mike, the error Rory got is output by the IXR library, which LJXP uses for the XML-RPC calls. Are you sure that you can access livejournal.com on port 80 from your webserver?
If not, I really have no idea, and it’s outside of my knowledge to help much. Sorry!
February 23rd, 2006 at 12:54 pm
Thanks for the feedback, Evan. I’m not sure what caused it but after re-copying the LJXP plugin back to my WP plugin folder, everything works now. However, this could be a total coincidence that it just decided to start working again. I’ll keep you posted if there are any additional quirks — though they might be server related.
February 28th, 2006 at 12:26 pm
I’ll see what I can do about mucking around in the source files for some ways to hack in some features.
As a previous Live+Press user, there are a few things I’d like to see:
1) Support for excerpts instead of the entire post. I liked being able to have short LJ posts with a link at the bottom pointing back to my Wordpress blog. Especially important when I have the post formatted a specific way. Would be nice to have an option to post the excerpt or the full post.
2) Ability to change the linkback text, and/or its position in the post.
3) Support for LJ Moods. I gotta see what I had before, but somehow I had it updating my LJ mood and then my blog entry also displayed a mood.
Anyways, as it stands now, this is still a great plugin. It does what it’s supposed to do, which is keep my LJ friends up to date when I make an entry.
February 28th, 2006 at 3:48 pm
Duncan -
Exceprts are a good idea. I’ll put them on the to-do list
Editing the linkback text has been on the to-do list for a long time; I’m still working out how it should happen.
I’m not going to support LJ moods in LJXP. The whole idea conflicts with the point of the plugin, which is transparent crossposting. That’s my developer’s call, and I’ve made it before, if you check the discussion archive. I just think that moves in a dangerous direction towards bloatware.
February 28th, 2006 at 6:47 pm
Hi, Evan. Thanks for making this plug-in. While it was easy to set up, when I hit the crosspost button, everything ran for a while before falling over and spitting out this:
Something went wrong - Client : Application failed during request deserialization: not well-formed (invalid token) at line 13, column 170, byte 2181 at /usr/lib/perl5/XML/Parser.pm line 187
Most of my posts went through, though. Anything I can turn off on my end?
February 28th, 2006 at 9:02 pm
Adam -
On line 465 of the LJXP source code, there’s a line that’s commented out. Uncomment it by deleting the // at the beginning of the line, and then try crossposting everything again (or even better, edit and then save the first one that wasn’t copied—the edit and save should cause LJXP to try again).
E-mail me the error output that you get, and I’ll take a look at it, but I can’t make any promises. The error you got is clearly coming from LJ and not from LJXP, WP, or IXR (a WP library I use).
Just to be clear, you say you clicked the crosspost all entries button and this happened? Or you were trying to crosspost a single entry?
- Evan
March 4th, 2006 at 9:18 am
I had the same error, but when I saved the options rather than crossposted and then added a new entry, everything was fine.
Thanks for a wonderful plugin.
V xx
March 4th, 2006 at 10:16 am
My prediction would be that LJ has some sort of DOS protection, and that’s what we’re activating.
March 4th, 2006 at 5:04 pm
Installed and working like a charm, thanks alot