JournalPress

JournalPress is a WordPress plugin that enabled cross-posting to sites running LiveJournal Server (i.e. LiveJournalInsaneJournalJournalFenet al.). It is based on the existing LJXP plugin, however it has a raft of new features including:

  • Support for multiple different mirror journals;
  • Per-post userpic selection;
  • Support for cut text; and
  • More!

It is currently in the stable beta, and as such some features may be incomplete or slightly buggy. Note that at the current time, JournalPress is not supported on WordPress 2.7, so don’t bother telling me that it isn’t.

The latest updates about the plug-ins development can be found here.

Or just download it already.

Current Todo

The current list of tasks for the project is:

  • A tag for listing where a post has been mirrored to in the template;
  • Fix up whatever’s going wrong with the cut options;
  • Support for posts made via the remote interfaces, where possible; and
  • Do something about those damn userpics…

Already Done…

Version 0.1.3
  • Debugged some of the backdating stuff. It’s a bit more brute force now, but hopefully more reliable (maybe).
  • Added the ability to tag a post with categories, tags or both (you’ll need to re-update your options).
  • JournalPress should now accept non-Roman characters in the crosspost text, music and mood field (location and tags still have issues, but I maintain this one is LiveJournal’s fault).
  • Quotes no longer cause icky backslashes to appear in the mood, music and location fields.
  • Thanks to some of the world’s most convoluted return code, errors are now no longer silent.
Version 0.1.2
  • Scheduled post support added.
  • Basic mood, music and location support added.
  • Post are now tagged with tags as well as categories (gogo undocumented functions).

38 Comments

  1. Plugins, oh my!…

    Those of you that are sharp-witted probably noticed that, hey, I did cross-post another entry to LiveJournal! Dee managed to release an early, very basic version of her JournalPress plugin for WordPress. Not all of the features are implemented, but at …

  2. So…I can’t seem to get journal press to work on my scheduled posts. I’m not sure if it’s a bug or if I’ve done something wrong on my end.

    • Less like a bug and more like something I haven’t really thought about.

      I’m not really sure what hooks get called with a scheduled post at WP, so I’ll have a look into it. It’s possible it might not actually be possible to emulate the behaviour at LJ (that is, it would simply make a post with a date in the future… which has other implications), but I’ll see what I can do.

      • I’d really appreciate it if you could somehow make it work :-)
        Also - is there a way to get the custom fields to transfer to LJ? If so, that’d be totally awesome as well.

      • I’m a LJXP user, and that works for my scheduled posts, so my guess would be that there’s a bug that crept in somewhere.

        I never checked to see what end result I’m getting in friends feeds however, but my friends do seem to be aware that I’ve posted.

        • v0.1.2 should fix the scheduled posts thing.

          The issue was caused by a design difference, not a bug per se. The difference between JP and LJXP is that JP had no way of saving mirroring “states” between when a post was submitted and when it was actually posted, since it relied on values that were submitted at the time of form submit to know which journals to actually post to.

          In retrospect, this was a kinda dumb design choice, which is why JP now stores the “which journals to mirror to” value in metadata until it’s required at time a post is actually published.

  3. It’s always good to see another LJ cross-poster. They’ve been around since WP was b2, but they’ve tended to come and then go for lack of maintenance when WP changed. Hope you’ll be with us a while.

  4. Hello!!

    It is very nice plugin. Thanks!

    By the way, I’ve found few bugs in it.

    1. I couldn’t make it work with the WP 2.7 beta 3.

    2. Russian symbols in the area “Linkback format” after saving options becoming something unreadable. Actually, at first Livejournal crossposter plugin had the same bug and then it was fixed.

    Thank you very much for your work.

    I’m really sorry for two comments I’ve left. Something wrong was with your comment area and I’ve got the Fatal error message after I’ve tried to leave a comment.

    Thank you!

  5. Hello!

    That version of LJ Crossposter dosn’t have this bug with the Russian symbols. Look in the htmlentities word.

  6. Hello!

    Here is fixed version of jpfunctions.php file. I’ve fixed only part where was bug with the unicode symbols

  7. Hi Alis

    File I gave you a link, it is from your previous version 0.1.2. Actually, as you can see, it is just cosmetic fix.

    Alis I’m really sorry for being so annoying. I won’t comment anymore.

    Thank you very much for your job.

    God bless you!

  8. Hello!

    It is me, again. Alis, something is still not right. Right now I can see it in my blog, but after the LinkBack is crossposted and I have in it Cyrillic symbols, all cyrillic symbols becoming something like this

     Запись
    > оттранслир&#1
    > 086;вана из

    Can you fix it?

    • Don’t know, not a priority.

      Fix it yourself. I’ll roll the code up into the next release and you’ll get permanent credit on the project. Everybody wins.

  9. [...] that Wordpress 2.7 is out another even better crossposter is out, called JournalPress.  This LiveJournal cross poster has one very significant improvement, it will hold information for [...]

    • Hello!

      I’ve found why the cyrillic symbols become unreadable in the UTF8. Yesterday I’ve checked the code of JP once more and in jpfunctions.php found function utf8_to_html. I’ve commented that function and everything works just fine without it.

      Thank you!

      And, it is really but

      Merry Christmas to you!

      • Which fields are you actually complaining about, because in the test I’ve been running locally I can’t get it to render correctly on LiveJournal without first converting to HTML entities. It specifically doesn’t work for tags or locations, but then neither does posting the values “raw” from my machine. There’s too much crap in here that could be interfering other than just “lolol it doesn’t work”: input entity encoding, database collation, settings at LiveJournal, et cetera, et cetera.

        In other words: System holistic screenshots or it didn’t happen. Because I can’t replicate it and I’m not going to roll up a fix unless I can prove it is, in fact, a fix that is workable in the majority of cases, not just you personally.

  10. Hi!

    With that function, I mean utf8 to html function, everything seems just fine. But if I’m getting comment on my Livejournal blog version and after I’me receiving that comment in my mailbox (just plain text) I can see instead cyrillic symbols unicode but as html code.

    You can see what I’m talking about if you thry to edit your Livejournal version of the post. Just look inside and you will see what I’m talking about.

    And if I’m trying to put tag on the post in cyrillic, I’m getting same trash instead of cyrillic word.

Add a Comment