Content in the visual post editor (TinyMCE) in WordPress doesn’t look that much like the finished article by default. Thankfully WordPress includes a style sheet that we can use to make things better.
📖 Posts | 📎 Development, Enterprise, Software | 🔖 accessibility, design, enterprise systems, rnib, ui, user interface, wai
It isn’t just web pages that are required to meet accessibility standards and laws. All applications have to. This short article is a reminder to application designers and builders regarding the standards and legal obligations they have to meet.
Well this one threw me! I was trying out the new custom post types in WordPress 3.0 RC1 and could not work out why mine wasn’t working even when I copied an example from the web and only changed a few things. It turns out that there is a limitation in the naming of post types – they cannot have a name longer than 20 characters! If you use more than 20 characters, the “Publish” button becomes “Submit for Review” and if you submit, you get the dreaded: Are you sure you want to do this?
I need to find a load of addresses by proximity to a postcode. I have the addresses in a Microsoft Access database. 1. Download Paul Jenkinsâ€™s UK Postcode csv and import into Access as a table 2. Create a query on your own table adding the following calculated field: <pre>PCregion: Trim( Left( [My Table]![Postcode], InStr( [My Table]![Postcode], ” ” ) ) )</pre> Create a second query that joins the above query to the imported postcode table.
One handy function I’ve added to .bashrc (so it is always available) under Cygwin (the LINUX command environment for Windows) works out the current working version of a document. It assumes that you keep copies that have a version number or date in the file name that will sort correctly. # Opens the latest version of a file using the Windows default application Assumes that you have a range of files that can be identified using some for of prefix and that the last part of the file contains a version number or date that sorts in the correct order e.
After yesterdays OneNote tool post, I thought I’d do another while I think about it. Another annoyance of OneNote is it’s lack of control over pasting information from the clipboard. I’ve raised a suggestion with MS to improve this; you can see my comment in the newsgroup. To ease things a little if you need to copy and paste lots of stuff to OneNote, here is an AutoHotKey script to help.
📖 Posts | 📎 Development, Microsoft, Windows | 🔖 autohotkey, configuration, office, onenote, scripting
Although I like Microsoft OneNote and use it continuously, it does have a few failings. One of these is the inability to set the default styles and layout for text. In particular, when you create a new paragraph or list entry in OneNote, the default – non-changeable – setting is to have no white space between the paragraphs. This is very poor design and makes more than a small amount of text quite unreadable.
Following up from my article on backing up USB drives, this recipe backs up the critical files on my desktop to remote storage (a NAS device on my network). Note that PC2 is the desktop to be backed up, SLUG1 (192.168.1.2) is the NAS device and USER1 is the user id doing the backup. #!/bin/bash # Backup Key PC2 files to Slug1 # Sync 2007 picture folders ##rsync -rl /home/user1/pictures/2007/ [email protected]