JournalPress v0.1.3 // VOID-STAR.NET

100% cheshire.

JournalPress v0.1.3

So, those of you who use JournalPress will note that it hit v0.1.3 last night. This is mostly a “tweak” version, with the following changes:

  • 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.

Alas, despite my efforts with UTF-8 to entity conversion, I still missed out the appropriate part on the admin page that will allow those of you who use non-Roman characters in things like your linkback or custom journal name to actually, like, edit those. I’ll roll the proper fix into v0.1.4, but if the issue is bugging you right now, you can open up journalpress/jpfunctions.inc.php and change the following on line line 114:

114
<?php echo htmlentities( $old_name ); ?>

To:

114
<?php echo htmlentities( stripslashes( $old_name ), ENT_COMPAT, 'UTF-8' ); ?>

And again on line 153:

153
<?php echo htmlentities( stripslashes( $old_custom_header ) ); ?>

To:

153
<?php echo htmlentities( stripslashes( $old_custom_header ), ENT_COMPAT, 'UTF-8' ); ?>

Kudos to Anton Borisov for the tip.

Oh, and for the record, v0.1.3 is (hopefully) going to be the last release before the much-anticipated WordPress 2.7. Mmm, delicious new features…

328 words posted 637 days ago at 9:05 pm.

This entry has 4 comments from Robbie, Branch. Tell Dee what you think?

Filed under JournalPress and tagged with .

Crossposted to loqia.insanejournal.com, loqia.journalfen.net.

Related posts...


4 Comments

  1. 637 days ago
    89 comments

    Robbie

    WordPress 2.7 is probably going to make things hell for a lot of developers if it’s as major as I have heard it is. They do seem to be updating it a lot, don’t they?

    • 637 days ago
      1,606 comments

      Dee

      The underlying API in WordPress is actually fairly stable, which is why plugins that are two or three years old will often still work. The fast turnaround of updates is a positive thing, since it means the WP developers are constantly on top of the various bug and security issues that arise. WP 2.7 introduces automatic core updates (in the same way 2.6.x auto-updates plugins), which will one-click the process and hopefully keep people even more up-to-date. So it’s good.

      I haven’t looked at it extensively, but I think most of JP’s issues with 2.7 are around the updated admin area. In other words; mostly cosmetic. I’ll probably have a look at it over the weekend or next week some time, pending caring.

  2. 637 days ago
    2 comments

    Branch

    *waves* Looking good! And I’ve been poking at the crosspost-all possibilities, and think I’ve got something, plus delete-all, because one without the other seems silly. It turned out to be fairly simple; it’s a foreach loop, so I just set it to take a brief break every fifty entries, during the process. I haven’t had a chance to test it yet, but I’m hoping to do that this weekend. Is there an email address I can send you the code at? (I have to admit to a lingering aversion to messing around directly using subversion; I’m absolute pants at command-line editing.)

    • 637 days ago
      1,606 comments

      Dee

      Sounds great; I eagerly await the code. :3

      I sent you an email with my address, though pretty much anything at this domain will get through to me. :D

Add a Comment

Add a Comment

A legitimate email address or OpenID-enabled URL (e.g. your Dreamwidth journal) is required. Links to LiveJournal accounts will be removed due to malware on that site. First-time comments are both welcome and moderated. Some HTML is allowed. There is no free speech.