Need Some Help, v.2.

After a valiant effort, a helper has determined that his proposed scheme for updating the site, converting the main site to WordPress, is not practical. Thanks to him for his effort and professional behavior.

Let’s try again. I’ll put down new stories for what I need below. If you’re interested, let me know.

Basic Idea

The basic idea is simple: My current process for putting up an article on XProgramming.com gets in the way. That process is:

  1. Write the article in a fairly cryptic XML format. This is tedious and error prone.
  2. Run an Ant script on my laptop that converts the article using XSLT, and, using Ruby, creates the various index pages. There are six or more indexes: front page, main XP Mag, Kate, Books, Documentation, Adventures, …
  3. Run an FTP tool and move files to the web site in about three locations, home, xpmag folder, image folder.

This isn’t terribly hard, but I find that it is enough harder than, say, WordPress that I don’t do as many articles as I’d like. So I would like the process made easier.

Vision

What would be just about perfect would be if the site was on WordPress. I don’t think WordPress can handle all the indexes I use, but I can get almost the same effect.

It is also likely that a content management system like Joomla could do the job.

However, both these ideas seem to me to require a large, expensive, and risky conversion.

From a user viewpoint, I’d like an interface similar to that of WordPress, where one basically types in an article in near WYSIWYG form (with optional viewing and hacking of the HTML), presses a button, and voila! the article is released.

Released, in my case, means that a precis appears on the main page, with a link to the whole article. This is not entirely unlike what happens with WordPress when you use the “more” tag.

Present Best Idea

My present best idea is to automate the FTP push a bit and put it into Ant, and just bite the bullet on the pain of the XML format. It might be possible to find an XML or HTML editor that would run on my laptop, and insert the standard boilerplate, while providing some kind of formatted preview.

Could Live With …

I could live with a WordPress-style solution that freezes all the existing indexes and articles as they are, with new articles showing up on a new front page. Perhaps that, plus adding categories and tags, would almost work.

Ideas welcome …

6 Responses to “Need Some Help, v.2.”

brandon.hunt

February 17, 2009

12:51 pm

permalink

What about changing the “fairly cryptic XML format” to XHTML and then modifying the XSLT stylesheet to use XHTML constructs instead? OTTOMH, I’d think there would be any number of decent (and cheap / free) editors for XHTML that would give you a preview of the text.

jeffries

February 17, 2009

2:07 pm

permalink

Well, there might be a way, for new stuff. For the > 200 existing articles, I don’t think so. And if the format changed, then indexing probably blows up … and pushing stuff up easily is important.

I can almost see how to do it if a WordPress template/CSS could mimic the site’s format.

And there is Joel Spolsky’s CityDesk, which looks very good, despite concerns one might have …

Matthew Todd

February 18, 2009

2:06 am

permalink

My suggestion is less in the WordPress direction, but hopefully it’ll provide some value anyway:

I’ve had good luck recently with a local, static site generator similar in shape to your current setup, http://github.com/mojombo/jekyll.

Mainly, it would ease your XHTML pain with Textile formatting.

(In addition, its support for either “categories” or “topics” would probably accommodate your “multiple index pages” needs, and you’d find excellent support for syntax-highlighting snippets of embedded code.)

That, and you preserve the benefits of your current setup: version controlling your articles and dead-simple web hosting.

jeffries

February 18, 2009

5:57 am

permalink

Current status: Bought WordPress for Dummies. Liked the book and its author. Have sent inquiry to her to see about full-on conversion. More I think about it, the more it seems that the site could be imported wholesale into WordPress. I think the WordPress DB contains formatted HTML pages. If so, why not just fling them in there and be done?

HelenToomik

February 26, 2009

1:23 pm

permalink

With a bit of PHP knowledge, WordPress templates are 100% customizable. You can write whatever type of index page you desire.

The WordPress help site is very helpful, both for theme/template developers and for migration help: http://codex.wordpress.org/Importing_Content

jeffries

February 26, 2009

2:12 pm

permalink

Yes, Helen, I’ve begun to see that. My mission is not to do any work, so as to keep my on the ball, whatever that is. So I’m getting external help to move it over. Keeping fingers crossed!

Recent Articles

Scrum Information Base — Agile Skills

Chet Hendrickson and I have offered to help the Scrum Alliance build a broad and growing base of information relating to Scrum / Agile, and to the many skills and practices that can help teams be successful. Our offer has…

The Gift … a Report and a Request

The Story in Brief

At Agile2011, I brought along a “gift”, a nicely formatted and illustrated Kate Oneal story. I gave a copy to everyone who asked for one, and to a few people who didn’t but who I wanted…

Why Did You Do That, Ron?

Piers Thompson sent me a good question about my recent database articles. I suspect others would like to hear the question and answers.

Events & Classes

  • No events.