Tag Archives: Blogs

The Schedule

I’m so sorry for the lack of posts last week. It’s been a hectic time with work picking up and three trips in the last week. I added a new state to my list (Texas) though I can’t say I’m much of a fan of Dallas traffic or the DFW airport. This trip has taught me I need a damn GPS. And before you ask, no, I can’t use my smart-phone because I don’t have one (got asked this at least five times when I said I got lost). Thanks again to the little-red haired girl for her help.

I did see one of the best weddings ever (<5 min). It actually included a reference to The Princess Bride (Mawidge), and to Spaceballs. That’s right, they literally did “the short version”.

Do You?
Yes.
Do You?
Yes.
Fine you're married.

There were also burritos at the reception. Good times.

There will be a new chapter of The Sky Below Thursday April 30th. I’m working diligently on Chapter 7 and hope this will be something you’ll enjoy. The day before we’ll have a little summary of each character’s stories so-far since it’ll have been about a month since Chapter 6. This probably means The Sky Below will bleed into January 2016, but so be it.

What I did manage to do a lot of these last couple of weeks was reading. So as a special “treat”, I’m going to be posting my reviews of everything in my queue of “read not reviewed”. This is probably about 15 books so we’ll see how many we actually get to.

Ben Trube, Writer’s normal schedule will hopefully resume next week. If you guys have any tech questions for Trube on Tech Tuesdays, please contact me using the form or in the comments below.

And if you’re a fan of Buffy, take the time to read Brian’s fan-fic The Witch and the Dragon. Superb.

Leave a comment

Filed under Writing

Trube on Tech: WordPress eBooks and Star Trek Games

This week I got a couple of questions on some older posts asking for a little tech assistance. Rather than reply in the comments, I thought a special post would best serve to answer their questions, or those of anyone else in the future:

ennoundinga asks on Converting Your WordPress Blog to an eBook (Part 2)  : In my Blog export I would like to grab the comments also. Do you think there is a chance to extend the XSL transformation to evaluate the comments?

For my solution I wanted to do two things:

  • Add a “Comments” header if comments existed, and hide it if there are none
  • Format comments with the comment author and comment content

Testing for the existence of comment elements can be accomplished with an xsl:if test:

<xsl:if test="./wp:comment[1]">
  <h2><b>Comments:</b></h2>
</xsl:if>

The xpath statement “./wp:comment[1]” looks for the first comment element that is a child of the current post. If one is found the “Comments” header is printed. If not the parser moves on to the next post.

If comments are present the following code will format them into our working HTML:

<xsl:for-each select="wp:comment">
  <b>
  <xsl:for-each select="wp:comment_author">
    <xsl:call-template name="print-paras"/>
  </xsl:for-each>
  </b>
  <em>
  <xsl:for-each select="wp:comment_content">
    <xsl:call-template name="print-paras"/>
  </xsl:for-each>
  </em>
</xsl:for-each>

Both the comment content and author name are stored in CDATA statements and need to be processed by our print-paras template. This code will format the comment like this:

Name of Commenter

What the commenter said in all its glorious detail.

I’ve uploaded an update to the XSL template here (again note since WordPress has filename restrictions the extension has been renamed .xls).

Next question, I’m on a rampage!

WZ writes on AGFV: 20 years of Star Trek 25th AnniversaryBen: Followed your instructions carefully for Star Trek 25th using DBGL, but I only have the CD not floppies version. DBGL is fine. This game appears to not run because (per dos window) the game is looking for a CD to be in the CD drive. But need this to run from the hard disk instead because of physical disability makes it hard to always be putting cd’s in and out of the drive bay. Is the CD game version hardcoded to only run from CD bay? Please reply to my email… Thanks for your gaming blog, it’s great, I enjoyed all your gaming entries.

As it happens, I was reorganizing some of my DBGL files this week (no joke) and managed to create a solution to this very problem.

The 25th Anniversary Enhanced Edition CD-ROM is a little unusual. It’s an Enhanced CD, meaning it has both CD Audio content and CD data content. This means it can’t be fully ripped to an ISO image, since ISO’s only deal with CD data. But there are programs available that allow you to rip an enhanced CD, one such being CloneCD.

To rip an enhanced CD using CloneCD:

1) Open CloneCD and click Read to Image File:

CloneCD_001

2) CloneCD will analyze the disc in the drive, and ask you to select the type of CD. Many selections will work for our purposes, but for now select Game CD:

CloneCD_002

3) Browse to a folder and choose a name for your file (the program will actually create four different files so maybe store in a blank folder). Check the box next to Create “Cue-Sheet”:

CloneCD_003

4) Click OK to begin ripping the CD:

CloneCD_004

5) When you’re finished your folder will contain four files that will look something like this:

CloneCD_005

6) Create a folder in dbgl\dosroot called TREKCD (full path dbgl\dosroot\TREKCD). Copy the folder containing your ripped CD to this folder.

7) You’ll need to install the game from the CD first, then set DBGL to run it. Add a mount for the C drive to the TREKCD sub-folder. Add another mount for the D drive and select the Mount Image(s) radio button. Click Browse, browse to your CUE file and select it as the mount point.

DBGL_Mount

8) With the imgmount selected, click the Grab button next to the main then Browse to add files from the CD image to run at startup. Select INSTALL.EXE. Your run window should look like this:

DBGL_ReadyToInstall

9) Click OK, and run the file to run the install program. When the installation is finished copy the files it installed into your TREKCD folder. Your final directory should look something like this (you may not have the CFG or savegame files):

DBGL_Folder

10) Edit the Profile again and change the Main to STARTREK.EXE in the TREKCD folder, and Setup to SETUP.EXE (in the same folder). Your final setup should look like this:

DBL_PlaySetup

Note: You probably want to set your machine to 7500 cycles for optimum performance.

GameRunning

And you should be good to go. Let me know if you have any further questions.

 

2 Comments

Filed under AGFV, Trube On Tech, Writing

I’ll be back next Monday … hopefully

Been kind of a screwy week for sleep schedules and getting my writing thinking cap on. I’ll do better next week, I promise 🙂 Just need a day that isn’t simultaneously in the 80s and raining. What’s up with you guys?

Leave a comment

Filed under Writing

This post has been scheduled for 1/15/14 at 6:35am

Sometimes I schedule blog posts.

I like it not only because it means the blog tends to be released at a consistent time, 6:35am, but because it let’s me get to ideas when they’re fresh in my head which is not always immediately after I get up.

Other times an idea will strike me but I miss the window for writing about it. Writing a post about Black Friday right now wouldn’t make a whole lot of sense, especially since January and February tend to be the months I spend the least money after the post holiday shock.

I like to feel like I’m having a daily conversation with everyone who comes to read this blog, but I’m also keenly aware in part because of my own habits, and what I’m able to observe from stats, that a lot of you don’t read the blog the day it comes out. A post can tank on its first day, and be one of my most popular by the end of the month, so what does a day or two’s advance writing do to change the reader’s experience?

Sometimes I “write the week” so I can focus on other projects that have been falling by the wayside. The first week I was working on Surreality I wrote all of my blog posts on Sunday so I could ride out the week with my head solely on my characters. Inevitably though, those are the weeks when I tend to have the most ideas I want to share with you.

Last month when I was on jury duty I had some time to kill before I reported in. I wrote Wednesday’s post Tuesday morning describing my time spent downtown assuming I’d have duty for the rest of the week. By noon I was released and Wednesday morning I was driving back to work as my post from downtown hit the web. I could have posted late on Tuesday instead of the regular time on Wednesday, but I kind of like to maintain a consistent release schedule (except when I don’t like last week 🙂 ).

A blog’s kind of a weird cross between the immediacy of other social media like Facebook and Twitter, and longer form non-fiction like articles and books. Ultimately I want my writing to be fresh even if it wasn’t brewed twenty minutes ago. Even if it’s topical or seasonal, when those things roll around again I want my writing to have something to say.

Do any of you “write the week”, or on “focus weeks” do you let the number of posts decrease? What works for you?

4 Comments

Filed under Writing