REM State

20 May

Automation Progress: It Posts!

For anyone who’s curious, I’ve made pretty good time on getting the automation together. I’m not quite to the point where I can write tests, yet, but the little framework I slapped together is coming along nicely. It’s been able to write posts since Friday, and do so for WordPress 1.5, 2.0, and 2.1 since Saturday. All that’s left now is putting together a semi-general way to verify the contents of a page vs. expectations, tweak the In Series forms to be more automation-friendly, and code up the tests. I can’t wait to spend more time goofing off (er… I mean, writing new features!) instead of testing. Hooray for constructive laziness! :)

10 Responses to “Automation Progress: It Posts!”

  1. AvatarAnthony
    1

    Hello,

    Your In Series plugin looks like just the thing I need. But I have only one problem. As you can see, on the sidebar the postings table of contents gets added to the text widget on the sidebar.

    I have tried both 3.0.5 and 2.2.2 and both appear to have the same issues. I hope that you can find a solution to this issue.

    Thanks.

    Anthony

    Reply to this comment.
  2. AvatarAnthony
    2

    Hello,

    Just so you know, I was able to correct this problem by removing all the text widgets and replacing them with Samsarin PHP Widget plugin. This seems to fix the problem for some unknown reason.

    Thanks,

    Anthony

    Reply to this comment.
  3. AvatarQuandary
    3
    Author Comment

    Hey Anthony,

    What was the original set of plugin(s) you were using? It might be similar to a problem another user was having. Since you’ve fixed your site, I can’t see what result of the issue is; do you have a screenshot available?

    Reply to this comment.
  4. AvatarAnthony
    4

    You can view screen shots for the front page and for the single post using In Series at those links.

    The text widgets are what comes with Wordpress and the new integrated widgets that is has now.

    Thanks.

    Anthony

    Reply to this comment.
  5. AvatarQuandary
    5
    Author Comment

    @Anthony

    All right; I have not tested with WordPress 2.2 yet. This looks incredibly similar to the problem that Henrik was having; it may in fact be a WordPress bug revolving around inconsistent use of The Loop and/or the_content(). Thanks for the report; I’ll look into it.

    Reply to this comment.
  6. AvatarEric
    6

    Hello,

    What do I have to do to show the TOC at the bottom of a post instead of at the top?

    Thank you.

    Regards,

    Chillamor

    Reply to this comment.
  7. AvatarQuandary
    7
    Author Comment

    @Eric

    From the admin panel, go to the “Options” tab, and the “Series” sub-tab. There will be a “Post layout” field (first field on the form). Change where the %content is in relation to the other components, e.g. “%toc %content” could become “%content %toc”.

    More information on the configuration options can be found in the 3.0.5 readme.txt file, which should have come with the download (I assume you are using version 3.0.5 of In Series).

    Reply to this comment.
  8. AvatarRobin Message
    8

    I didn’t like the way posts in series still had empty HTML wrapper for series links show up, so this diff removes it. Feel free to include if you wish.

    Otherwise, excellent plugin, just what I needed.
    Thanks,
    Robin Message
    Like Cooking? Recipes, Techniques and Ideas for better cookery

    function in_series_linker_content_filter($content) {
    $options = get_option(’in_series’);

    + $series = InSeries::adv_CurrentSeries();
    + if($series==NULL)return $content;

    $output = InSeriesInternal::FormatHtml($options[’format_post’], InSeriesInternal::get_the_ID());
    $output = str_replace(”%prev”, InSeriesInternal::PrevHtml(), $output);

    Reply to this comment.
  9. AvatarQuandary
    9
    Author Comment

    @Robin

    Yeah, that’s probably a good idea. Thanks for the patch. :)

    Reply to this comment.
  10. AvatarBoogieboa
    10

    Great plugin - just what I need but I have a problem with it. The Table of Content is not working properly and links to everything but the other titles in the series. For example, I have the popularity plugin installed on my blog and the Table of Content is linking to Alex King’s website instead of items in the series. Any ideas on how to correct this problem would be appreciated since I’m not too fond of Organize Series plugin as an alternative to this one. I’m using Wordpress 2.1

    Cheers,

    Reply to this comment.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Comment Preview:

© 2008 REM State | Entries (RSS) and Comments (RSS)

Global Positioning System Gazettewordpress logo