QTM

Warning: Creating default object from empty value in taxonomy_term_page() (line 33 of /home/qmrqffr/public_html/qtm/modules/taxonomy/taxonomy.pages.inc).
Using QTM

Using Quickpost Templates

Submitted by Matthew Smith on Sun, 2007-03-11 21:59
::

Quickpost Templates are a means of laying out a formula for a post. Normally, Quickpost simply gives you a link with the title of the page being blogged as the text of the link. With a template, you can supply your own text for the link, or you can omit the title or specify a target for the page.

You write the template in HTML or XHTML, as you would when writing a blog entry, substituting placeholders for things which vary from entry to entry. Currently, the template system accepts two placeholders:

  • %url% - the web location of the page being blogged
  • %title% - its title

I plan to add more in the near future. Please note that QTM seeks out these specific sequences in your template: the % symbol, for example, can otherwise be used freely. The placeholders are case-sensitive: %url% will work, while %URL% or %Title% will not.Read more »

About QuickPost

Submitted by Matthew Smith on Sun, 2007-01-14 23:12
::

QuickPost is a feature adopted from the web interfaces of certain well-known blogging systems. It allows you to quickly start off blog entries by copying text from the clipboard, or by selecting an URL and letting QTM fetch its title.

QuickPost is invoked when you either double-click the system tray icon (STI) or click it with the middle mouse button (on classic Unix systems). You can configure the double-click behaviour in the preferences window; by default, it produces a blank new entry.

First of all, select the text or location you wish to post, then cut or copy it using the Edit menu of the application. Then use the right mouse button to bring up the STI menu, and select Quick Post from the menu. Alternatively, if you have configured the icon to quickpost when double-clicked, then you can double-click it.Read more »

Writing a blog entry

Submitted by Matthew Smith on Sun, 2006-12-31 23:41
::

First, you need to have set up QTM to contact your blog, so that it knows what blogs you run and their categories, if it offers them (Blogger does not). When it has this information, you can start writing your entries in the right-hand section of the composition window.

The left-hand side is where you set posting options. There are five "pages", called Basics, Categories, Excerpt, Tags and Trackbacks.

Basics includes what blog to post to, whether to post a draft or to actually publish, and whether to allow comments and trackbacks.Read more »

How do I set up QTM to access my blog?

Submitted by Matthew Smith on Sun, 2006-12-31 23:29
::

When you have installed QTM, it does not know where your blog is, or rather how to access it. It cannot communicate with your blog just by reading the page or by the web interface you use to maintain it. It communicates in a form called XML-RPC. XML means Extensible Mark-up Language and is a way of representing data that looks a lot like the HTML used to write web pages. RPC stands for Remote Procedure Calls and is a fancy way of saying "one computer telling another what to do". QTM tells your blogging program what to do by sending it an instruction written in XML.

Blogging software usually has a file containing a program which reads in XML. If your blog is based on Movable Type, it's called mt-xmlrpc.cgi; if it uses Wordpress or Drupal, it's called xmlrpc.php.Read more »

Installing QTM

Submitted by Matthew Smith on Sun, 2006-12-31 18:54
::

You may be able to get hold of a pre-built version for your system. I build binaries myself for systems I use, namely Mac OS X, OpenSUSE and Ubuntu. You can find these downloads in the Downloads menu on the right. You may also be able to get one of them to run on another system - in particular, the Fedora package might well run on SUSE or Mandriva.

Failing that, you will need to build QTM from source.

What does QTM require to build?

Submitted by Matthew Smith on Sun, 2006-12-31 18:37
::

Qt: You need the Qt development libraries. If you use a Unix-type operating system (like BSD or GNU/Linux), you can normally get it from the people who published your OS. If you are using Windows, Trolltech makes a download available here. Rather than using Visual Studio, this uses the MinGW development toolkit. Trolltech also makes a binary download available for the Mac here, but this is a 54-megabyte download and requires Mac OS X 10.3.9 or later. To use the system tray icon, which provides the QuickPost feature on version 0.4 and later, you need Qt v4.2.0 or later.

Failing that, you can get the source bundle from Trolltech and compile it yourself (start here). This takes hours, however.Read more »

QTM's requirements

Submitted by Matthew Smith on Sun, 2006-12-31 18:25
::

QTM requires Qt v4.4; this is available through online archives in any recent version of Linux. The Windows version is supplied with the latest stable version of Qt in the package. (Qt v4.4 is available in the backports archive for Ubuntu Hardy; I am not sure if I can use Launchpad to issue packages for Hardy, but you can build from source if you enable the "unsupported updates" on Hardy.)

Markdown support requires an external Markdown program, which is usually a Perl script. On the Mac, the script installs into the bundle and Perl is provided by the operating system; on Linux, Perl is also provided and you can choose to install Markdown or not at compile time (note: on Ubuntu and Debian, you can just install the "markdown" package with APT). On Windows, the installer package includes Markdown, but you will need to install Perl and tell QTM where to find it.Read more »