Project:LiveJournal CrossPoster
Version:master
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

LJXP needs updating to Drupal 6. I have done a very cludgey, clunky ugly hack which posts to LJ and edits to LJ (doesn't seem to delete though). It also spits out errors, but it "works". I've attached a patch file against CVS but it still needs a lot of work to bring it up to drupal coding standards and may introduce new bugs and security problems etc. May have time to work some more over next couple of days, but can't guarantee it.

Comments

#1

subscribe

#2

Status:needs work» needs review

New patch against CVS. I hope it follows appropriate coding policies. I've tested that it works for creating posts, editing posts and deleting posts from LJ and I think I fixed some of the idiosyncracies my first attempt had.

Alex

AttachmentSize
ljxp-6.0.patch 9.69 KB

#3

subscribing

#4

subscribing

#5

Just curious...

I'm a drupal n00b and how do patches work? Or specifically how does this one work because I'd be happy to test it on my local testing site. I don't have any programming skills but I'd be happy to be useful in -some- way.

#6

Passionate_Lass: Ask google, or read this: http://wiki.creativecommons.org/HOWTO_Patch

I've just upgraded my blog to Drupal 6, I'll try the patch as soon as I've finished turning modules back on...

#7

Hi all,

I tried this patch against both the versions available for download and against the files at the HEAD of CVS and the patch failed in all cases. The patch to ljxp.module was rejected at various positions but the other files were ok.

I had the patch file in the same directory as the extracted files and used the command:
$ patch ljxp.module ljxp-6.0.patch

Which seemed to patch the other files correctly, but rejected ljxp.module.

Is there any chance someone could just make a working copy of ljxp for v6.0 available, please?

Thanks in advance.

Cheers,
Brindy

#8

brindy, i had the same problem, only one of the files was getting rejected, ultimately any attempt (tried different versions) failed and was deemed incompatible by drupal. Would be great if this module worked with 6.0.

Hope it happens soon.
SomeGirl

#9

#10

Thank you Vald. I will be testing this on my test site and inform you of any issues that may arise.

I installed it without any trouble at all, but from the looks of it cross posting is per user. Is there a way to set it up so it cross posts all content to an lj community?

#11

Posted a blog as a test, which crossposted to LJ.

Below is what it posted exactly:
---------

Originally published at Queer Women Ottawa. Please leave any comments there.

testing lj crossposting qwo blog post.

-------------
The links end up going to http://community.livejournal.com/node/6 and http://community.livejournal.com/comment/reply/6 so one may have to look at how the links are being posted so they actually direct one to the posts. :) I also checked the error log and no errors are showing there.

#12

Fixed wrong link - problem was with different arguments of l() function in D5 and D6.
You can download updated version from http://www.valthebald.net/files/ljxp-6.x-1.1.zip
Cheers!

#13

Awesome. :)

Yay I was useful! :P

#14

Is there a way to set it up so it cross posts -all- content to an lj community?

#15

yes, go to user page/edit - there is community field in LJXP settings

#16

I set that, but it seems that it has to be setup per user. If its not then it doesn't cross-post their content. I need it to do all content posted on my site.

#17

do you mean that you'd like an option to specify community per post?

#18

I mean, I'd like it to post all content based on user 0's settings for the module... Does that make sense?

#19

I think it'd be much easier to communicate by emails. You can write me to drupal (@) valthebald dot net

#20

Status:needs review» closed (fixed)
nobody click here