Archive for the ‘Development’ Category

Template Data – Part 1: The Article Drop

Thursday, October 29th, 2009

When working with Liquid, the Hot Ink templating system, each type of object (like an article, a mediafile, an issue or even your newspaper itself) has data associated with it that’s available for use in your templates. Which piece of data is available depends on which template your working in, but perhaps the simplest case is a Hot Ink article page template. On each article template there’s a variable called “article” representing the article requested by the user.

(more…)

Introduction to Website Design with Hot Ink

Thursday, October 29th, 2009

**This post is a basic introduction to using the Hot Ink templating system. You may recognize it as the introduction to the Hot Ink Publisher google doc some users have had access to. Others have contributed to this document (thank to all of you), I’m posting it here to give it a wider audience and to help answer some questions forusers new to Hot Ink.**

Publishing with Hot Ink is different from publishing with any other content management system. Hot Ink strives to make it possible for you to exercise the same kind of careful control over the structure, appearance and composition of your website as you do over the print edition of your publication. Because it’s so flexible, the templating system can be a little overwhelming at first. To help make it a little easier to understand by defining some key terms.

In order to be visible to the public, your website must have a design and it must be set to be your website’s current design.

A design is a collection of layouts, templates, stylesheets, javascript files and images that together define the complete visual
presentation of your website. You can have as many designs as you like, but only one of them may be current at any one time. The design
designated as current is the one shown to readers when they visit your website.

Designs control the appearance of your site using templates. Templates are dynamic HTML files written using a templating language called Liquid. Liquid is a simple, easy-to-learn addition to standard HTML that makes it possible to build complex templates that accommodate a variety of individual types and forms of content gracefully. For example, a well written Liquid template for your article page will display the article differently depending on whether the content is
horizontal or vertical, an image or an audiofile, has a subhead or no subhead. (more…)

Just sign on the dotted line…

Thursday, August 13th, 2009

At  Hot Ink meetings, we often discuss the opportunities afforded to us – but that’s putting it eloquently. Having worked at a paper with a website that barely functions, I’ve seen the barrage of “web-guys,” “sys-admins,” and “tech gods” who’ve promised to turn our homepage around or set us up with something we didn’t even know we needed. We either ended up with a sub-par product, no product or someone trying to use our content and brand to further themselves.

This is a fairly tired set of circumstances when it comes to student publications. Canadian student newspapers have been making a great product for years, and continually someone tries to piggy back on this success – lest we forget College Publisher, and Klegg Newspaper stands.

But what about locally? I would guess the problems now are similar to when I was editor-in-chief of my paper: I had no idea what to look for. Looking back, however, I find that pretty funny, as I had no idea what to look for in any of the other positions at the paper either. Nonetheless, I think I made some good hiring decisions based on criteria I never held up to any of the web-applicants.

That criteria was having an active interest in the well being of the paper. When it came to webmasters, I was desperate and under pressure to hire someone who could quickly get a dilapidated website up-and-running as fast as possible. I tried to decipher resumes listing qualifications I didn’t understand and had no right trying to understand at the time. My desperation to find anyone made me ignore what would usually be a make-or-break attribute of any other newspaper position.

We usually decide not to pursue these opportunities when it comes to Hot Ink for similar reasons. Those looking to make quick cash are not usually interested in the greater well being of your or anyone’s site.

Why were we so engaged in this particular topic? Well, I believe it goes back to the very fundamentals of Hot Ink and why the project was started. Months ago, Chris blogged about how Hot Ink is a vault for your valuables. Your content is coveted by everyone, and this large cache of quality media is the currency of the future. The traditional news advertising model is changing, and being part of that change requires you controlling what is yours.

I have no doubt the next few years will see an influx of tenacious pitchmen, holding the key to the next great innovation… All you have to do is sign over your work.

Hot Ink was conceived with the hope to thwart these efforts. Not only so you can store your valuables, but so that you can show them off and charge admission on your terms.

Feeling like you’re in the same sistuation when it comes to hiring? Don’t make any hasty decisions. Send a few quick questions to anyone on the Hot Ink team or if you’re a CUP member, use the listserv to garner some advice.

The open source approach

Friday, April 24th, 2009
hotink_github_screenshot

Hot Ink's project page at github.com, a social open source development site

The first decision we made when starting Hot Ink was to keep the project “open source.” We mention it everywhere, so that’s probably no surprise. Maybe you’ve even heard of it before. So, you’re entitled to ask: what specifically does “open source” mean, and why should I care?

If you’re anything like me, the first place you’ll look is the wikipedia page.  That’s interesting, sure, but it’s also a little bit long and both too general and technical for our purposes. Instead, let’s keep it simple. To us “open source” will mean software development where the both final code and ongoing development are transparent (i.e. viewable and trackable online.) This is the opposite of traditional “closed-source” development, where only the final product is available and the code running it is completely hidden.

Open-source reporting?

A good way to understand the differences, from a software developer’s point of view, is to consider what it would be like to write a news article in an open-source environment. Currently, most campus newspaper articles are “closed source.” Reporters gather some primary and secondary sources, write up an article, then pass it off to their editor as a more-or-less complete package. That editor may have access to the primary sources but readers generally don’t. Readers get the final product, read it and live with it.

In an open-source reporting environment, the early stages would be very similar. A reporter would collect information from sources, write up an article, and then submit it to an editor for publication. However, readers would be given access to the reporter’s copy, notes and source materials. If a reader was confused by a clause in the article they could refer to the sources (or the notes) and determine the author’s true intent. Then, if the reader is motivated enough, he or she can update the story to read a little clearer. Expand this on a massive scale and what do you get? Wikipedia, more or less.

(more…)