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!”
Posted: May 22nd, 2007 at 13:41
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
Posted: May 22nd, 2007 at 13:58
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
Posted: May 22nd, 2007 at 17:16
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?
Posted: May 22nd, 2007 at 18:01
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
Posted: May 22nd, 2007 at 21:27
@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.Posted: May 23rd, 2007 at 07:18
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
Posted: May 23rd, 2007 at 07:29
@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).
Posted: May 23rd, 2007 at 08:49
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);
Posted: May 23rd, 2007 at 19:11
@Robin
Yeah, that’s probably a good idea. Thanks for the patch. :)
Posted: Aug 3rd, 2007 at 02:51
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,