<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>http://www.blogger.com/feeds/25788795/posts/full</atom:id><lastBuildDate>Tue, 25 Apr 2006 05:23:14 +0000</lastBuildDate><title>mollivan webtech: blog</title><description></description><link>http://www.mollivan.com/weblog/</link><managingEditor>mollivan jon</managingEditor><generator>Blogger</generator><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>15</openSearch:itemsPerPage><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114757796793487912</guid><pubDate>Sun, 14 May 2006 03:04:00 +0000</pubDate><atom:updated>2006-05-13T20:44:03.090-07:00</atom:updated><title>GIS on Macs</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: GIS; Category: Mac&lt;br />&lt;br />Now, I'm no GIS expert. I say that upfront. I'm about as green as they come. But I see the usefulness of GIS and peer jealously over the shoulders of people using ArcGIS on Windows at work. Not too jealously, though, because the PCs in our lab keep seizing up running GIS because they're too cheap and nasty. I also haven't been impressed with the intuitiveness of the user interface of ArcGIS, despite its long list of functions (note that our work network is probably not running the latest version). All this means that I have wanted to get GIS going on my Mac for some time.&lt;br />&lt;br />I started with ESRI’s &lt;a href="http://www.esri.com/software/arcexplorer/about/arcexplorer-education.html">ArcExplorer Java Edition for Education&lt;/a>, a free program from the makers of ArcGIS. Running in Java, it allows me to open shape files and do a limited amount of manipulation to make maps. It is useful enough but is a bit clunky in its performance and user-interface. Plus, it can only export raster (pixellated) images (and even that doesn't seem to be working on OSX 10.4). If I'm building a figure for a publication, I'd really like to get a vector image out to edit further in my nemesis of unintuitiveness, Adobe Illustrator. &lt;br />&lt;br />With all this in mind, I have started tinkering around with the monster of opensource GIS projects, &lt;a href="http://grass.itc.it/">GRASS&lt;/a> on X11. So far so good, but it looks like it will take a serious committment on my part to learn enough to be proficient at it. I'm not certain yet whether I will use GRASSS frequently enough to keep all those details fresh in my head. I have a Mac mind afterall. I am supposed to be abe to push obvious buttons and see stuff just work.&lt;br />&lt;br />I was pleased to discover earlier this week a program called QGIS (short for Quantum GIS), another opensource GIS project (&lt;a hef="http://qgis.org/">qgis.org&lt;/a>). It runs natively on OSX as well as most other operating systems, and appears to at least be the equal of ArcExplorer, from my limited playing. It can use data and layers from a wide range of formats and claims to play nicely with GRASS (I say "claims" only because I haven't had a chance to try this out). &lt;br />&lt;br />I stumbled across QGIS after my frustration with being unable to get a vector image (or any image!) exported out of ArcExplorer. I was hopeful QGIS would allow me to do this, since QGIS includes SVG as a vector format for exporting maps (accessible in its print window). Alas, the vector lines in the resulting file were weird and chunky, like some vector version of a raster image. Maybe there is some way around this, although the online help is currently too limited to suggest anything. Still, this is not a criticism. The project has got a lot of primise. QGIS is at version 0.7.4 at the time of writing and looks like it is well worth keeping an eye on.&lt;br />&lt;br />There's a useful review comparing QGIS with ArcExplorer Java Edition over at &lt;a href="http://lordkingsquirrel.com/2006/04/12/desktop-mapping-software-qgis-v-arcexplorer-java-edition/">lordkingsquirrel.com/2006/04/12/desktop-mapping-software-qgis-v-arcexplorer-java-edition/&lt;/a>.&lt;/div></description><link>http://www.mollivan.com/weblog/2006/05/gis-on-macs.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114594199957988981</guid><pubDate>Tue, 25 Apr 2006 04:22:00 +0000</pubDate><atom:updated>2006-05-13T20:43:07.020-07:00</atom:updated><title>A little AppleScript to automate splitting pdfs</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: LaTeX; Category: TeXShop; Category: FileMaker Pro; Category: AppleScript; Category: Mac&lt;br />&lt;br />&lt;b>Summary&lt;/b>: In which Jon surprises himself by writing a working AppleScript that takes LaTeX code from records of a FileMaker Pro database and transfers the code to TeXShop for typesetting. The outcome is a few long PDF files being automatically divided into many smaller, annotated PDF files divided at page numbers specified in the database.&lt;br />&lt;br />I've never really figured out &lt;a href="http://www.apple.com/applescript/">AppleScript&lt;/a>, Apple's English-like scripting language. It looks so simple and easy, yet I haven't come across a simple and easy set of instructions and examples I can use to get into the language. One of these days I may have to have to break down and *buy* a book on the subject. The little example I describe here should illustrate how useful AppleScript can be, and why a little more learning on my part could save me a lot of time in the long run.&lt;br />&lt;br />At the moment Laura and I are getting all the backissues of the journal &lt;em>Notornis&lt;/em> ready for publishing online (launch due June 2006). The &lt;a href="http://osnz.org.nz/" title="Ornithological Society of New Zealand">Ornithological Society of New Zealand&lt;/a> has provided us with PDF files of all backissues of &lt;em>Notornis&lt;/em>, one file per issue, with an underlying layer of error-ridden computer-read OCR text. One of our jobs is to get all the citation information for all the articles in all these issues (yawn). Luckily that job has been sped up somewhat by the existence of a 50-year index (although all of that computer-read text still needed proof-reading). Another job now is to split up all the issue PDF files into separate article PDF files. We are certainly not going to do all that by hand for >3,000 articles!&lt;br />&lt;br />Here's what I've come up with, using AppleScript to combine our citation information in a FileMaker Pro database with the awesome PDF handling capabilities of the LaTeX typesetting language, specifically the package pdfpages as applied within the glorious &lt;a href="http://www.uoregon.edu/~koch/texshop/">TeXShop&lt;/a> application. There will undoubtedly be all sorts of ways of doing this and I don't claim that my solution is the best. I tend to get something working then move on to the next thing. &lt;br />&lt;br />The following LaTeX file, when typeset in TeXShop, creates a PDF file of the same name that contains only the selected pages of the original PDF.&lt;br />&lt;br />&lt;blockquote>&lt;br />\documentclass[11pt,a4paper]{article}&lt;br />\usepackage{graphicx}&lt;br />\usepackage[final]{pdfpages}&lt;br />&lt;br />\usepackage[pdftex,colorlinks]{hyperref}&lt;br />\hypersetup{%&lt;br /> pdftitle={Title of the Notornis article},&lt;br /> pdfauthor={Ornithological Society of New Zealand},&lt;br /> pdfsubject={Notornis Volume(issue) year, \copyright Ornithological Society of New Zealand},&lt;br /> pdfkeywords={Notornis, New Zealand, birds},&lt;br /> bookmarksnumbered,&lt;br /> pdfstartview={FitH},&lt;br /> urlcolor=cyan,&lt;br />}% &lt;br />&lt;br />\begin{document}&lt;br />&lt;br />\includepdf[pages=2-4]{/Users/jon/NZES/Salisbury/OSNZpart/VOLUME_49-2002/Notornis_49_1.pdf}&lt;br />&lt;br />\end{document}&lt;br />&lt;/blockquote>&lt;br />&lt;br />There are a few things to note here. The pdfpages package contains the includepdf function that drives everything. The hyperref package is optional. I use it to add annotations to the pdf files (which can been seen with Document Properties in Acrobat Reader and Get Info in the OSX 10.4 version of Preview). Within the includepdf line, note that the pages to be extracted are specified and the path to the PDF file is specified. The ".pdf" extension on the end of the filename in this path is optional. It is important that there are no spaces in the path to the file. (I also found out that you need OSX 10.4 for this to handle PDF files greater than version 1.4.)&lt;br />&lt;br />Once I had this working, the trick was to automate it for >3,000 articles, one for each record in our FileMaker Pro database of citation information. The first step was to make a field in FileMaker which will generate the above code for each record. Here is the calculation that does this, for a field I called "LaTeX".&lt;br />&lt;br />&lt;blockquote>&lt;br />"\documentclass[11pt,a4paper]{article}&amp;para;&lt;br />\usepackage{graphicx}&amp;para;&lt;br />\usepackage[final]{pdfpages}&amp;para;&lt;br />&amp;para;&lt;br />\usepackage[pdftex,colorlinks]{hyperref}&amp;para;&lt;br />\hypersetup{%&amp;para;&lt;br />pdftitle={" &amp;amp; title &amp;amp; "},&amp;para;&lt;br />pdfauthor={" &amp;amp; authors &amp;amp; "},&amp;para;&lt;br />pdfsubject={Notornis " &amp;amp; volume_issue_bracketed &amp;amp; ":" &amp;amp; first_page &amp;amp; "--" &amp;amp; last_page &amp;amp; " (" &amp;amp; publications::pub_year &amp;amp; ") \copyright Ornithological Society of New Zealand, Inc.},&amp;para;&lt;br />pdfkeywords={" &amp;amp; If ( IsEmpty ( keywords ) ; "" ; Substitute ( keywords ; ";" ; "," ) ) &amp;amp; ", Ornithological Society of New Zealand, Notornis, Science Journal, New Zealand, birds},&amp;para;&lt;br />bookmarksnumbered,&amp;para;&lt;br />pdfstartview={FitH},&amp;para;&lt;br />urlcolor=cyan,&amp;para;&lt;br />}%&amp;para;&lt;br />&amp;para;&lt;br />\begin{document}&amp;para;&lt;br />&lt;br />&amp;para;&lt;br />\includepdf[pages=" &amp;amp; first_page &amp;amp; "-" &amp;amp; last_page &amp;amp; "]{/Users/jon/NZES/Salisbury/OSNZpart/" &amp;amp; pdf_issue_folder &amp;amp; "/" &amp;amp; pdf_issue_filename &amp;amp; "}&amp;para;&lt;br />&amp;para;&lt;br />\end{document}"&lt;br />&lt;/blockquote>&lt;br />&lt;br />You will see that this is nothing more than the above LaTeX code with values included from the database fields. Easy.&lt;br />&lt;br />The trick then was to automatically typeset this code for each record of the database. The following AppleScript, written in Apple's ScriptEditor, typesets the code from one record of the database.&lt;br />&lt;br />&lt;blockquote>&lt;br />tell application "FileMaker Pro"&lt;br /> set mylatex to cell "LaTeX" of current record as styled text&lt;br /> set filename to cell "pdf_filename_trimmed" of current record as styled text&lt;br />end tell&lt;br />&lt;br />tell application "TeXShop"&lt;br /> activate&lt;br /> make new document at beginning with properties {name:filename}&lt;br /> set the text of document filename to mylatex&lt;br /> close document filename saving in file ("Salisbury:Users:jon:NZES:Salisbury:OSNZpart:" &amp; filename &amp; ".tex") saving yes&lt;br /> open file ("Salisbury:Users:jon:NZES:Salisbury:OSNZpart:" &amp; filename &amp; ".tex")&lt;br /> typeset document (filename &amp; ".tex")&lt;br /> close document (filename &amp; ".tex") saving no&lt;br />end tell&lt;br />&lt;/blockquote>&lt;br />&lt;br />AppleScript is so cleverly close to English that this doesn't really need explaining. It works, and it's blink-of-an-eye quick, even on my old 600MHz G3 iBook.&lt;br />&lt;br />That didn't make it easy to write though. My first head-banging session was when I tried to export the LaTeX field from FileMaker into a text file to then be opened by TeXShop. Try as I might, I couldn't get FileMaker to output a clean, simple text file with unix linebreaks that TeXShop could use. Giving up on that approach, I then realised that I could manually copy-and-paste clean code from FileMaker into TeXShop. The above AppleScript is written to do this. I then took a while to realise that "styled text" was essential for the line breaks in the LaTeX code to be retained in the copy-and-paste (really a set-and-set maneuver in AppleScript). Once I'd got over this major hurdle, it took me surprisingly, frustratingly long on&lt;a href="http://www.google.com"> Google&lt;/a> to figure out how to save the TeXShop document I created so I could typeset it. The code is still a bit clutzy here, since I could only figure out how to save the file by closing it. The AppleScript then has to open it again to typeset it.&lt;br />&lt;br />Running this script (e.g., via a button in FileMaker) takes the code of the current database record to TeXShop, typesets it, and closes the new TeXShop file. This produces a PDF file of the appropriate pages (with the specified annotations). Nice.&lt;br />&lt;br />That was the hard part, which I've only just finished. Looping the database to do this for each record should be a simple little FileMaker script. I'll add that here once I've done it. But first, we have to finish the citation database.&lt;/div></description><link>http://www.mollivan.com/weblog/2006/04/little-applescript-to-automate.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613040960990765</guid><pubDate>Sat, 08 Jan 2005 10:31:00 +0000</pubDate><atom:updated>2006-04-27T03:26:47.583-07:00</atom:updated><title>FileMaker Relationship and Portal tips</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: FileMaker Pro&lt;br />&lt;br />Originally posted on my iBlog 8 January 2005.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: These are some notes on my first attempts to set up portals in &lt;a href="http://www.filemaker.com">FileMaker Pro&lt;/a> 7. Don't treat this as gospel. I'm still playing with this stuff.&lt;br />&lt;br />Body: Portals allow the many related records to be displayed in rows within a layout of the original table. The portal should contain fields from the related table. New records in the related table can be created in the portal if "Allow creation of records in this table via this relationship" is turned on in the relationship between the tables (in the Relationships graph of File:Define...:Database").&lt;br />&lt;br />******************&lt;br />&lt;br />To prevent a field from being altered in Browse mode (for example, if you want to only allow users to enter a value into the field using a script), in Layout mode, select Field:Field Behaviour... and turn off the option to enter in Browse mode. Keep the option to enter in Find mode.&lt;br />&lt;br />In the NatureObserver (prototype name) project, I use this option to create new datasets for a datasource, inside a portal in a layout in the datasource table. This way, if the user deletes dataset 3 of 5, they are unable to renumber the remaining datasets manually. They are forced to live with a set of records with dataset numbers 1,2,4, and 5. This is essential for relationships not to be disrupted.&lt;br />&lt;br />******************&lt;br />&lt;br />Deleting a row from a portal (i.e., the related record in the related table is deleted) has a potentially dangerous twist. Keep the "Delete records in this table when a record is deleted in the other table" option turned off, unless you want to start a chain of related record deletions moving up the relationships.&lt;br />&lt;br />When forming the relationships between tables in the database (and between databases), be very careful about setting the options to create and delete records in each side of the relationship from the location of the related record. You access these options when setting up a relationship, or by double-clicking on the page icon for a relationship between two tables on the Relationships graph. &lt;br />&lt;br />I took some time to solve a mystery of why, when I deleted one dataset (of several from one datasource), I also mysteriously deleted the datasource record for that dataset and the full citation record for that datasource. This happened because FileMaker followed up a chain of selected "Delete records in this table when a record is deleted in the other table" options. It general, it is important to have this option always turned off. However, the reverse option, "Allow creation of records in this table via this relationship" can be very useful, and I am tending to turn it on by default. It is necessary for creating new records from within a portal.&lt;br />&lt;br />******************&lt;br />&lt;br />The following is copied from the file "ManyMany PortalScript", dated 4 January 2005&lt;br />&lt;br />The following set of scripts moves from a portal row in Table 1 to the related record in a Join Table and then to the related record in Table 2. The next three scripts move backwards to the original portal row. Scripts applied from a description at http://dbforums.com/t349224.html.&lt;br />&lt;br />This system of Table1-Join-Table2 is apparently the best way to set up a many-many relationship in FileMaker Pro (in effect, by fusing a many-one and one-many relationship). I'm still missing the step of how to extend this simple example (one-one-one) to the many-many situation.&lt;br />&lt;br />These scripts are working in my trial database, PortalManyManyTest.fp7.&lt;br />&lt;br />First&lt;br />Set Field [ Table1::GlobalNumber; Get(PortalRowNumber) ]&lt;br />Go to Related Record [ From table: "JoinTable"; Using layout: "JoinTable" (JoinTable) ]&lt;br />Perform Script [ "Join" ]&lt;br />&lt;br />Join&lt;br />Go to Related Record [ From table: "Table2"; Using layout: "Table2" (Table2) ]&lt;br />Perform Script [ "Second" ]&lt;br />&lt;br />Second&lt;br />Go to Field [ JoinTable::ID2 ]&lt;br />[ Select/perform ]&lt;br />&lt;br />And back again...&lt;br />&lt;br />SecondReturn&lt;br />Go to Related Record [ From table: "JoinTable"; Using layout: "JoinTable" (JoinTable) ]&lt;br />Perform Script [ "JoinReturn" ]&lt;br />&lt;br />JoinReturn&lt;br />Go to Related Record [ From table: "Table1"; Using layout: "Table1" (Table1) ]&lt;br />Perform Script [ "FirstReturn" ]&lt;br />&lt;br />FirstReturn&lt;br />Go to Portal Row [ Table1::GlobalNumber ]&lt;br />[ Select; No dialog ]&lt;br />&lt;br />******************&lt;br />I have scripted the addition of new datasets in the portal in the datasource table  layout, as follows.&lt;br />&lt;br />"Add a new Dataset in same DataSource from DataSource portal"&lt;br />Set Field [ DataSource::global number; 0 ]&lt;br />Go to Portal Row&lt;br /> [ Select; Last ]&lt;br />Go to Portal Row&lt;br /> [ Select; Previous ]&lt;br />Copy [ DataSets::Dataset_number ]&lt;br /> [ Select ]&lt;br />Paste [ DataSource::global number ]&lt;br /> [ Select ]&lt;br />Go to Portal Row&lt;br /> [ Select; Last ]&lt;br />Set Field [ DataSets::Dataset_number; DataSource::global number + 1 ]&lt;br />&lt;br />Note that since I am allowing the creation of new records from within the portal, the last row is blank, for new record creation.&lt;br />&lt;br />I didn't want the user to see the global number, so I removed the field from this layout. But then the script stopped working. It turns out that it must be on the layout of the script. So instead I changed its text to white (and no border) to disappear from view.&lt;br />&lt;br />[In the end, this proved unsuitable, and I decided to use a unique per-record dataset ID, which is auto-entered when the user starts to enter data on the last (new) row of the portal.]&lt;/div></description><link>http://www.mollivan.com/weblog/2005/01/filemaker-relationship-and-portal-tips.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613349874264291</guid><pubDate>Sat, 28 May 2005 09:51:00 +0000</pubDate><atom:updated>2006-04-27T03:24:58.756-07:00</atom:updated><title>Serving a website on an old iMac</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: Server, Category: Websites&lt;br />&lt;br />Originally posted on my iBlog 8 January 2005.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: I've just set up our old 300MHz slot-loading G3 iMac as a server running OSX 10.3.9 over our TelstraClear cable broadband connection as one of several computers on an AirPort wireless network. The tricky bit (less tricky when I'd figured it out) was serving several website domain names from our one static IP address. Here are my notes on how this was done. Perhaps it's of use to one of you excellent people in web land.&lt;br />&lt;br />&lt;br />&lt;b>A clean start&lt;/b>&lt;br />I decided to start everything from scratch, since our iMac (named Rinchen Barsbold) has had a long and hard life before becoming a server. First, I erased the hard drive with DiskUtility. Panther (OSX 10.3) was reinstalled and updated to 10.3.9. BBEdit was installed as my preferred text editor. To save space on our 10GB hard drive, all printer drivers were deleted (from /Library/Printers/). Superfluous Apple applications were removed (iMovie, iPhoto, etc.). Monolingual (&lt;a href="http://monolingual.sourceforge.net/">monolingual.sourceforge.net/&lt;/a>) was run to remove all language files except English, Australian English, and US English. Well over a GB was saved, just like that.&lt;br />&lt;br />&lt;a href="http://monolingual.sourceforge.net/">&lt;img src="http://www.mollivan.com/weblog/linked_stuff/images/iMacServer0.jpg" , alt="Monolingual", width = "139" , height = "173">&lt;/a>&lt;br />&lt;br />&lt;b>Start web sharing&lt;/b>&lt;br />Making the iMac a server is dead simple in OSX. In the Sharing control panel of System Preferences, turn on Personal Web Sharing. That's it! This starts Apache, the most popular open-source web server software, which is automatically built in to OSX. While in the Sharing control panel, I also named the computer again and turned on Personal File Sharing (so I can access the iMac from inside our wireless network) and Remote Login (so I can access it from work).&lt;br />&lt;br />I also clicked on Firewall tab in the Sharing panel and started the firewall. All ports will be shut to external traffic except those involved in the above sharing.&lt;br />&lt;br />&lt;img src="http://www.mollivan.com/weblog/linked_stuff/images/iMacServer1.jpg" , alt="iMac Server setup", width = "597" , height = "594">&lt;br />&lt;br />In System Preferences/Network, the TCP/IP computer is set to DHCP. This gets the IP address and other connection information from our AirPort Express  wireless base station. My iMac got given the IP address 10.0.1.4. (We plug our broadband cable modem ethernet cable into this little gadget from Apple and our Macs can all surf the web at once. Pretty cool. We also have our stereo plugged into the Airport Express so we can play our iTunes  music through our stereo wirelessly. More cool.) The IP address 10.0.1.4 just happened to be the IP address the Airport Express had dynamically given the iMac when I was setting this up. There's nothing magical about it. Just make sure the your server has the same IP address as you set in Airport Admin Utility to receive external web traffic (details on that are below). Before continuing, I switched over the Network from "Using DHCP" to "Manually", retaining the same network settings, so that if I ever had to restart the iMac or reset the Airport, this internal network IP address of 10.0.1.4 would be retained.&lt;br />&lt;br />&lt;img src="http://www.mollivan.com/weblog/linked_stuff/images/iMacServer2.jpg" , alt="iMac Server setup", width = "599" , height = "579">&lt;br />&lt;br />I also went into the Energy Saver control panel of System Preferences and changed the computer to never sleep and for the screen to dim immediately (the hard drive can still spin down when not in use). I didn't want our sever caught snoozing when someone wants to visit our website.&lt;br />&lt;br />&lt;b>Set up Airport Admin Utility&lt;/b>&lt;br />Airport Admin Utility is an application in the Utilities folder of the Applications folder. I won't go through the settings for getting Airport set up in case there are security issues in making this information public.  It was simple with the info from our broadband provider. The important point is that we get a single static IP address (a number of the form 123.45.67.89) which is the physical address of our network on the  web.&lt;br />&lt;br />The other trick to set up port mapping so requests from afar for normal internet ports get directed to our iMac server (and not one of our other Macs which might be on the wireless network at the time). Remember that the iMac has the IP address of 10.0.1.4 inside our wireless network. So we use the Port Mapping window to direct all web traffic through the standard internet ports to this IP address. (Note that I've masked out the numbers for safety.)&lt;br />&lt;br />&lt;img src="http://www.mollivan.com/weblog/linked_stuff/images/iMacServer3.jpg" , alt="iMac Server setup", width = "631" , height = "594">&lt;br />&lt;br />Now, typing http://123.45.67.89 (or whatever your IP address is) into Safari (or your favourite web browser) will bring up Apache's default webpage. This will happen from anywhere in the world. I was  now serving a website, but I wasn't quite there yet.&lt;br />&lt;br />&lt;b>Domain name registration&lt;/b>&lt;br />Of course, http://123.45.67.89 isn't much of a web address. I went to &lt;a href="http://www.domains4less.co.nz">www.domains4less.co.nz&lt;/a> and bought the domain names I wanted. I got mollivan.com, canterburynature.org, and canterburynature.org.nz. My plan was to serve two websites from the iMac, our own website (www.mollivan.com ) and a prototype for a community website on nature in the Canterbury region (which I wanted both addresses to point to).&lt;br />&lt;br />Now here's where I got a little confused. As it's name suggests, &lt;a href="http://www.domains4less.co.nz">www.domains4less.co.nz&lt;/a> specialises in selling cheap domain names. While it allows you to direct your purchased domain name to another existing website, it doesn't allow you to set its domain name servers to point your new name to your own IP address (at least I couldn't find anywhere on its site that would allow me to do this properly). In my website dealings, I hadn't struck this before and it took me a while to figure out how to get around this. What I could do was use their URL direct settings to automatically direct anybody who typed in www.canterburynature.org.nz to www.canterburynature.org.&lt;br />&lt;br />As a perhaps useful aside, note that some odd stuff happened before I figured out that URL redirects are not equivalent to a proper name server. For example, when I redirected www.mollivan.com to our IP address, and then typed www.mollivan.com into Safari, I would see the correct default OSX webpage. But when I tried to then navigate into a folder ("bob") that I created within the default OSX web Documents folder, by surfing to www.mollivan.com/bob/ I would get the following webpage warning:&lt;br />&lt;br />&lt;blockquote>&lt;br /> Forbidden&lt;br /> You don't have permission to access /bob/ on this server.&lt;br />&lt;/blockquote>&lt;br />&lt;br />It took me ages to realise that this wasn't due to faulty permissions on my folder, or the folders it was inside (this was the solution mentioned on websites I found when googling this warning). Instead, it seems to be because the iMac server didn't know what to do with http://www.mollivan.com/bob/ request. I figured out this by temporarily redirecting to the iMac another domain name I had access to from another domain name company. Unlike &lt;a href="http://www.domains4less.co.nz">www.domains4less.co.nz&lt;/a>, the website of this company (&lt;a href="www.discountdomains.co.nz">www.discountdomains.co.nz&lt;/a>) allowed me to set my IP address in their name server. In this case, the index.html file inside Bob loaded fine without warning.&lt;br />&lt;br />The solution I took was to go to &lt;a href="http://www.everydns.net/">www.everyDNS.net&lt;/a> ("DNS for the rest of us"), which offers free use of its domain name servers (thanks!). There are several free DNS services out there. From my googling, everyDNS seemed like a good combination of ease-of-use and competence. I registered (free!) and set up both www.mollivan.com and www.canterburynature.org to point to the static IP address of our broadband cable modem (e.g., 123.45.67.89, not my real address).&lt;br />&lt;br />My everyDNS settings for mollivan.com (real IP address replaced with 123.45.67.89) were:&lt;br />&lt;br />&lt;blockquote>&lt;br />*.mollivan.com A 123.45.67.89&lt;br />mollivan.com A 123.45.67.89&lt;br />&lt;/blockquote>&lt;br />&lt;br />The asterisk (*.mollivan.com) means that any other web address I set up inside mollivan.com (e.g., jon.mollivan.com) will also be directed automatically to our IP address. &lt;br />&lt;br />I did the same for canterburynature.org.&lt;br />&lt;br />The everyDNS.net website gives the names of their name servers (e.g., ns1.everydns.net). So I then went back to the www.domains4less.co.nz website and entered two of these name servers in as the master and slave external name servers for my domain names. Domains4less required IP addresses for the name servers as well as their names. The everyDNS.net website only gave the names. So I looked up the IP address for these name server addresses using the "whois" function of Network Utility (another useful Apple application in the Utilities folder of the Applications folder).&lt;br />&lt;br />Then I waited. I had read on the web that it can take 24-48 hours for DNS changes to filter through the web. Indeed, it was about a day later when typing my domain names into Safari took me to my default OSX webpage.&lt;br />&lt;br />&lt;b>Using virtual hosting in Apache to host several domain names from one IP address&lt;/b>&lt;br />"Virtual hosts" can be used in Apache to direct visitors of different domain names to different folders within a computer with a single IP address. This turned out to be quite simple to do. But I only figured that out after following a number of complicated false leads that dealt with using virtual hosts to allow you to type in a domain name into Safari while off-line and test out a website in development.&lt;br />&lt;br />The solution is based on Scenario Two in the useful ONLamp.com article by Russell Dyer titled "Simplify Your Life with Apache Virtual Hosts " (&lt;a href="http://www.onlamp.com/pub/a/apache/2003/07/24/vhosts.html">www.onlamp.com/pub/a/apache/2003/07/24/vhosts.html&lt;/a>).&lt;br />&lt;br />Remember that Apache is the open-source application that runs the web server in OSX. Its settings are contained in the hidden file, httpd.conf, which is found in etc/httpd/ folder (i.e., in your Mac computer above your user directory). Note that this is hidden. Try to browse there in the Finder and you won't even find the "etc" folder. Macs conveniently hide a lot of these things, I guess in part to stop regular users like me from screwing things up. So what are you supposed to do? &lt;br />&lt;br />There are several solutions. My favourite is to use &lt;a href="http://www.barebones.com/">BBEdit &lt;/a>, quite possibly the best text editor in the world. You can open hidden files (File:Open Hidden...). So I use BBEdit to open httpd.conf and make the necessary changes to the settings. When opening in BBEdit, the default will be set to open All Readable Files. You might need to switch this to All Files since at least my version of BBEdit (7.1.4) does not recognize files with the extension ".conf" by default.&lt;br />&lt;br />I changed two things in this file.&lt;br />&lt;br />&lt;blockquote>&lt;br /># DocumentRoot "/Library/WebServer/Documents"&lt;br />DocumentRoot "/Users/mollivan/Sites"&lt;br />&lt;/blockquote>&lt;br />&lt;br />Here I comment out the first of these lines (search for it in the file) and add the second line below it. This switches the computer website from the folder Documents to the Sites folder inside the mollivan User. This way, if I ever set up another user on the iMac, the websites will still only be server from inside the mollivan user.&lt;br />&lt;br />Next, I went right to the bottom of the file and added the following lines.&lt;br />&lt;br />&lt;blockquote>&lt;br />Listen 80&lt;br />NameVirtualHost *&lt;br />&lt;br />&lt;VirtualHost *>&lt;br /> ServerName www.mollivan.com&lt;br /> DocumentRoot /Users/mollivan/Sites/mollivan&lt;br />&lt;/VirtualHost>&lt;br />&lt;br />&lt;VirtualHost *>&lt;br /> ServerName www.canterburynature.org&lt;br /> DocumentRoot /Users/mollivan/Sites/canterburynature&lt;br />&lt;/VirtualHost>&lt;br />&lt;/blockquote>&lt;br />&lt;br />Russell Dyer's article explains well what all this code is doing. In summary, it says that when requests are received at port 80 (the usual port for website requests), the website shown will depend on which web address the user has typed in. Requests for www.mollivan.com are directed to the mollivan folder inside the Sites folder. Requests for www.canterbury.org are directed to the canterburynature folder inside the Sites folder. The homepages for each site are the index.html files inside each of these folders. (In my case with only a single IP address, the asterisk (*) in this code could be replaced by my IP address.) &lt;br />&lt;br />Once done, save the file and restart Apache by going to System Preferences:Sharing and turning Personal Web Sharing on and off (or you can use the command sudo apachectl restart in Terminal).&lt;br />&lt;br />If you don't have BBEdit, you can also use Terminal to make all these changes, especially if you are comfortable with UNIX. Terminal is the application in the Utilities Folder of the Applications folder that allows you to interact with the rock-solid UNIX core of OSX. In a Terminal window, type the following commands.&lt;br />&lt;br />&lt;blockquote>&lt;br />cd /etc/httpd/&lt;br />&lt;/blockquote>&lt;br />&lt;br />this changes the directory to httpd (the hidden folder)&lt;br />&lt;br />&lt;blockquote>&lt;br />sudo emacs httpd.conf&lt;br />&lt;/blockquote>&lt;br />&lt;br />this opens the file http.conf in the text editor emacs, included inside OSX. Sudo allows you to access places you shouldn't otherwise go (you'll need to have administrative rights on your computer and you'll have to enter your password).&lt;br />&lt;br />Scroll down inside emacs and make the above changes. Use ctrl-x ctrl-s to save your changes and ctrl-x ctrl-c to close emacs.&lt;br />&lt;br />Then restart Apache as above.&lt;br />&lt;br />&lt;b>That's it!&lt;/b>&lt;br />When I did all that, my iMac as happily serving two different websites from the same static IP address through our home broadband connection.&lt;br />&lt;br />My next steps are to turn on PHP and install MySQL and PHPMyAdmin to add some dynamic features to my websites. But that's a different story.&lt;/div></description><link>http://www.mollivan.com/weblog/2005/05/serving-website-on-old-imac.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613096967666647</guid><pubDate>Sat, 25 Dec 2004 10:41:00 +0000</pubDate><atom:updated>2006-04-27T02:42:49.676-07:00</atom:updated><title>CSS not working on a .Mac homepage? Here's one solution</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: dot Mac&lt;br />&lt;br />Originally posted on my iBlog 8 January 2005.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: Apple's .Mac service includes a bundle of web tools (email, homepage), server space (iDisk), and software, all elegantly integrated into Mac OSX. Regrettably, website hosting through .Mac is limited with no PHP or MySQL support. I also had trouble implementing CSS on a custom webpage. Here's what was going wrong (or, more accurately, a way around the problem).&lt;br />&lt;br />Body: CSS (Cascading Style Sheets) greatly simplifies the formatting of websites (and allows the management of the formatting of multiple webpages from a single file). Homepage, the stunning easy online webpage creation software of the .Mac  service, is not designed with this complexity in mind. But adding a custom webpage to my .Mac  website is easy. I just write the code and save the file to the Sites folder of the iDisk. That's it.&lt;br />&lt;br />I spent ages trying to get a CSS page to work with my jon.html  page, which I have living at the root of my Sites folder in my iDisk. After a lot of wasted time, I figured out by accident that the CSS page will not work when it is in the root folder of the website. When I copied the CSS page into the Science folder inside the Sites folder, and referred to it in there, everything worked fine. Quite bizarre. I couldn't find reference to this anywhere on the Appe website or elsewhere the web. But things work fine now.&lt;br />&lt;br />As an aside, note that it is with CSS that I format my references with a hanging indent, standard in reference lists of science papers. CSS allows for more formatting control than HTML. I'm very much still learning its tricks. This one was a good one.&lt;br />&lt;br />Here's the line in my CSS page  that sets how the references are laid out.&lt;br />&lt;br />P.REFERENCE&lt;br /> {&lt;br /> margin-left: 10%;&lt;br /> margin-bottom: 0%;&lt;br /> text-indent: -4%;&lt;br /> }&lt;/div></description><link>http://www.mollivan.com/weblog/2004/12/css-not-working-on-mac-homepage-heres_25.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613096339815245</guid><pubDate>Sat, 25 Dec 2004 10:41:00 +0000</pubDate><atom:updated>2006-04-27T02:42:43.400-07:00</atom:updated><title>CSS not working on a .Mac homepage? Here's one solution</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: dot Mac&lt;br />&lt;br />Originally posted on my iBlog 8 January 2005.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: Apple's .Mac service includes a bundle of web tools (email, homepage), server space (iDisk), and software, all elegantly integrated into Mac OSX. Regrettably, website hosting through .Mac is limited with no PHP or MySQL support. I also had trouble implementing CSS on a custom webpage. Here's what was going wrong (or, more accurately, a way around the problem).&lt;br />&lt;br />Body: CSS (Cascading Style Sheets) greatly simplifies the formatting of websites (and allows the management of the formatting of multiple webpages from a single file). Homepage, the stunning easy online webpage creation software of the .Mac  service, is not designed with this complexity in mind. But adding a custom webpage to my .Mac  website is easy. I just write the code and save the file to the Sites folder of the iDisk. That's it.&lt;br />&lt;br />I spent ages trying to get a CSS page to work with my jon.html  page, which I have living at the root of my Sites folder in my iDisk. After a lot of wasted time, I figured out by accident that the CSS page will not work when it is in the root folder of the website. When I copied the CSS page into the Science folder inside the Sites folder, and referred to it in there, everything worked fine. Quite bizarre. I couldn't find reference to this anywhere on the Appe website or elsewhere the web. But things work fine now.&lt;br />&lt;br />As an aside, note that it is with CSS that I format my references with a hanging indent, standard in reference lists of science papers. CSS allows for more formatting control than HTML. I'm very much still learning its tricks. This one was a good one.&lt;br />&lt;br />Here's the line in my CSS page  that sets how the references are laid out.&lt;br />&lt;br />P.REFERENCE&lt;br /> {&lt;br /> margin-left: 10%;&lt;br /> margin-bottom: 0%;&lt;br /> text-indent: -4%;&lt;br /> }&lt;/div></description><link>http://www.mollivan.com/weblog/2004/12/css-not-working-on-mac-homepage-heres.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613084725196960</guid><pubDate>Mon, 26 Jul 2004 09:36:00 +0000</pubDate><atom:updated>2006-04-27T02:40:47.253-07:00</atom:updated><title>Good grief, this is useful. Connect two Macs with firewire!</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: FileMaker Pro&lt;br />&lt;br />Originally posted on my iBlog 26 July 2004.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: Connecting two Macs directly with a standard firewire cable (OSX). Nothing new here, just a summary of Mac help and a Macworld  tip.&lt;br />&lt;br />The steps summarised from Mac Help&lt;br />&lt;br />&lt;ol>&lt;br />&lt;li>shut down the computer to be connected; the main computer can be left on&lt;/li>&lt;br />&lt;li>connect the two computers with a standard firewire cable&lt;/li>&lt;br />&lt;li>start-up the computer to be shared, holding down the T-key until the Firewire symbol appears&lt;/li>&lt;br />&lt;li>a disk icon for the shared computer will pop up on the desktop of the main computer&lt;/li>&lt;br />&lt;li>do what you need to do (blisteringly quickly)&lt;/li>&lt;br />&lt;li>when finished, eject the shared computer disk icon&lt;/li>&lt;br />&lt;li> Push the power button to shut it down&lt;/li>&lt;br />&lt;li>Disconnect cable&lt;/li>&lt;br />&lt;/ol>&lt;br />&lt;br />&lt;br />&lt;br />Some more details from Macworld Weekly [11.25.02 -- 12.02.02]&lt;br />&lt;br />Tip: FireWire Target Disk Mode&lt;br />One of the most oft-neglected (and most useful) features found in modern-day Macs is FireWire Target Disk Mode -- a technique for mounting another Mac's hard drive via a FireWire connection. To employ FireWire Target Disk Mode first string a 6-pin-to-6-pin FireWire cable between two compatible Macs (the Blue &amp; White Power Mac G3 and Power Mac G4 [PCI] are not compatible). The "target" Mac (the Mac that contains the hard drive you want to access from the host computer) must be switched off.&lt;br />&lt;br />Switch on the target Mac and hold down the T key on its keyboard. In short order a FireWire symbol will appear on its screen and the target drive will mount on the host Mac's Desktop as a local hard drive. Once mounted you can copy files between the two Macs or troubleshoot the target drive from the host computer.&lt;br />&lt;br />A few notes: For target disk mode to work the target drive must be an ATA hard drive set at ATA bus 0 and an Open Firmware password on the target drive must not be enabled. Also, to establish contact between certain Macs via Target Disk Mode, you may need to unplug and replug the FireWire cable when both Macs are running.&lt;/div></description><link>http://www.mollivan.com/weblog/2004/07/good-grief-this-is-useful-connect-two.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613055257825415</guid><pubDate>Sat, 21 Dec 2002 10:34:00 +0000</pubDate><atom:updated>2006-04-27T02:35:52.576-07:00</atom:updated><title>Generating frequency distributions with Excel</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: MS Excel&lt;br />&lt;br />Originally posted on my iBlog 21 December 2002.&lt;br />&lt;br />I've written this down because I keep forgetting it. This is how you take one column of numbers and turn them into a table of frequencies (e.g., to make a histogram of class exam scores).&lt;br />&lt;br />First column (Ax:Ay) is the data&lt;br />Second column (Bx:Bw) are the frequency categories (e.g., 10, 20, 30, etc.)&lt;br />&lt;br />Beginning with the uppermost cell, select the cells in the third column alongside the frequency categories (i.e., Cx:Cw). Without deselecting, type "=frequency(Ax:Ay, Bx:Bw)". Now press command-return. All of the cells in this column will fill with the frequencies.&lt;/div></description><link>http://www.mollivan.com/weblog/2002/12/generating-frequency-distributions.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613026404081184</guid><pubDate>Thu, 06 Jan 2005 10:30:00 +0000</pubDate><atom:updated>2006-04-27T02:31:04.040-07:00</atom:updated><title>Note to self: Periodically save compressed copies of my FileMaker databases</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: FileMaker Pro&lt;br />&lt;br />Originally posted on my iBlog 6 January 2005.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: I find out all sorts of things by accident (I'm not the manual reading kind of person). Hence tips like this one are things I stumble across and then gaze at in wonder.&lt;br />&lt;br />Periodically save a compressed copy of the database. Then trash the original and rename the copy with the exact name of the original. After structural changes is a good time to do this. Otherwise, every few months. If the compressed copy is significantly smaller, it was time to compress. If there's little difference, then wait a bit longer before the next compression.&lt;/div></description><link>http://www.mollivan.com/weblog/2005/01/note-to-self-periodically-save.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114613017060703727</guid><pubDate>Thu, 06 Jan 2005 10:27:00 +0000</pubDate><atom:updated>2006-04-27T02:29:30.606-07:00</atom:updated><title>FileMaker Pro 7: wrestling with when File and System Date and Time Formats are different</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: FileMaker Pro&lt;br />&lt;br />Originally posted on my iBlog 6 January 2005.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: Like a lot of good software, &lt;a href="http://www.filemaker.com">FileMaker Pro&lt;/a> is designed in the US. As such, it is built in a world of such wacky standards as US Letter page size and a date format that goes month/day/year. FileMaker databases seem to take on the date format of the computer on which they were built, which means US format for the default templates. As a kiwi who uses a sensible, hierarchical date format, this can cause a few problems. Here's how I get around this.&lt;br />&lt;br />If you get a warning each time a database is opened, saying the system and file date and time formats are different, it is because the system settings on the computer at the time the database was created differ from the current settings.&lt;br />&lt;br />For example, this has happened to me with FMPro databases I made while in the US but now use in NZ. I've discovered in FMPro7 (and it may apply to earlier versions also) that all the templates that come with the program were made in the US and so have the wacky US date system built in as their default. I get the warning every time I open such a file, which is hardly ideal! One fix, from FMPro Help, is to force the database to always adopt the System settings of the computer it is being opened on, without asking. To do this, Select File:File Options. In the Text window, there are options for Data Entry when current System settings differ from saved settings. Click to use "Always use current system settings".&lt;/div></description><link>http://www.mollivan.com/weblog/2005/01/filemaker-pro-7-wrestling-with-when.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114612999422209722</guid><pubDate>Mon, 07 Oct 2002 09:25:00 +0000</pubDate><atom:updated>2006-04-27T02:26:34.230-07:00</atom:updated><title>Web sharing FileMaker Pro 5.5 databases</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: FileMaker Pro&lt;br />&lt;br />Originally posted on my iBlog 7 October 2002.&lt;br />&lt;br />&lt;b>Summary&lt;/b>:  Here are a few of my notes on web sharing FMPro 5.5 on OSX&lt;br />&lt;br />1) activate the Web sharing plugin. Go to Filemaker Preferences>Application:Plugins. Activate Web Companion and click 'Configure.' Turn on web reporting to keep track of web activity (note that the web log files (in the FMP folder in Applications) can get large over time). Set the port to 591 (Filemaker's registered port for database sharing (port 80 is the default, but this doesn't work through my work system).&lt;br />&lt;br />I think the Network protocol in Preferences>Application:General needs to be set to TCP/IP rather than Appletalk (I'm not sure if this is critical).&lt;br />&lt;br />2) Open the database you want to share, and set passwords. File>Access Privileges>Passwords. You can set multiple passwords, giving different types of users different levels of access to the database.&lt;br />&lt;br />3) turn on web sharing for your database. File>Sharing. Turn on Multi-user access and the web companion. (Note: turning on the Remote Access option, if the plugin is also activiated, will allow other computers on the network with FMP to open the database.) Configure the web companion. The 'Wheat' template looks nice. Set the different views to a database layout you want displayed (if you don't set a layout, you'll just get an ugly long list of fields).&lt;br />&lt;br />4) that's it. To access the database, go to a web browser and enter the IP address of the serving machine, followed by :591 (the port) (e.g., http://123.45.67.890:591. When I had web sharing running on Leyland (my PowerBook 3400) at the same time, the web shared files were accessed through port :1100.&lt;/div></description><link>http://www.mollivan.com/weblog/2002/10/web-sharing-filemaker-pro-55-databases.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114612816226274327</guid><pubDate>Thu, 23 Sep 2004 08:54:00 +0000</pubDate><atom:updated>2006-04-27T01:56:02.263-07:00</atom:updated><title>Line Break Problems With Files Converted To FileMaker Pro 7</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: FileMaker Pro&lt;br />&lt;br />Originally posted on my iBlog 23 September 2004.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: I upgraded from FileMaker Pro version 6 to 7 and the text in many of my text fields started to roll over to new lines in the most undignified manner, with no regard at all for word integrity. But, hold on to your towel, it's easily fixed.&lt;br />&lt;br />Body: Tip from &lt;a href="http://www.filemaker.com/ti/109043.html">http://www.filemaker.com/ti/109043.html&lt;/a>.&lt;br />&lt;br />ISSUE:&lt;br />After converting a file to FileMaker Pro 7, the text in some fields breaks to new lines in unexpected places such as in the middle of non-hyphenated words.&lt;br />&lt;br />RESOLUTION:&lt;br />To correct this, select File Options from the File menu, and from the Text tab, make sure that "Use Roman language line-breaking" is selected.&lt;/div></description><link>http://www.mollivan.com/weblog/2004/09/line-break-problems-with-files.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114612757638804434</guid><pubDate>Sun, 26 Sep 2004 08:44:00 +0000</pubDate><atom:updated>2006-04-27T01:52:55.323-07:00</atom:updated><title>Replacing the internal battery on a G3 iMac</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: iMac&lt;br />&lt;br />Originally posted on my iBlog 26 September 2004.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: Our iMac started forgetting the time of day and all sorts of other important settings. This was because its internal battery was flat (modern Macs don't have this system so don't get so forgetful).&lt;br />&lt;br />The battery in question is a 3.6v half AA Lithiumionyl Chloride Cell. They are available from specialist battery stores (we got ours in Christchurch for about NZ$15).&lt;br />&lt;br />There are excellent instructions on how to change this battery at &lt;a href="http://www.third-perspective.co.uk/archives/000032.html">http://www.third-perspective.co.uk/archives/000032.html&lt;/a>. If that link doesn't work, I also have a PDF of the webpage &lt;a href="http://www.mollivan.com/weblog/linked_stuff/Third-Perspective%20How%20to%20replace%20the%20intern....pdf">achived here&lt;/a>.&lt;br />&lt;br />It's quick and easy!&lt;/div></description><link>http://www.mollivan.com/weblog/2004/09/replacing-internal-battery-on-g3-imac.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114612743559096937</guid><pubDate>Fri, 19 Mar 2004 09:41:00 +0000</pubDate><atom:updated>2006-04-27T01:43:55.590-07:00</atom:updated><title>A file renaming trick for iViewMedia Pro</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: Mac, Category: iView Media Pro&lt;br />&lt;br />Originally posted on my iBlog 19 March 2004&lt;br />&lt;br />&lt;b>Summary&lt;/b>: How to strip things from file names in &lt;a href="http://www.iview-multimedia.com/">iView Media Pro&lt;/a> (v. 1.5.6).&lt;br />&lt;br />I had a large number of files with file names of this form: 25_1_101-150.pdf. I wanted to removed everything after the dash (in this case "150"). Yes, I could probably do it with &lt;a href="http://www.apple.com/applescript">Applescript&lt;/a>. But there was an easier way. I did it with my favourite image cataloguing workhorse, &lt;a href="http://www.iview-multimedia.com/">iView Media Pro&lt;/a> (yes, it works with pdf files). Here's how I did it.&lt;br />&lt;br />To remove the -150 part of a large number of files of this type, even if the number of characters after the "-" varies, do the following.&lt;br />&lt;br />&lt;a href="http://www.iview-multimedia.com/">iView Media Pro&lt;/a>&lt;br />&lt;br />Select all of the files to be altered&lt;br />&lt;br />Use Action: Batch Rename... for the three following actions&lt;br />&lt;br />Replace String "." with nothing&lt;br />&lt;br />Replace String "-" with "."&lt;br />&lt;br />(Now, the above file looks like 25_1_101.150pdf)&lt;br />&lt;br />Convert, select Strip PC extensions&lt;br />&lt;br />(This conveniently removes any small length of text after and including the ".")&lt;br />&lt;br />Now, Add String ".pdf", trailing.&lt;br />&lt;br />Voilá.&lt;br />&lt;br />Let's see iPhoto do that!&lt;/div></description><link>http://www.mollivan.com/weblog/2004/03/file-renaming-trick-for-iviewmedia-pro.html</link><author>mollivan jon</author></item><item><guid isPermaLink='false'>http://www.blogger.com/feeds/25788795/posts/full/114612720220441586</guid><pubDate>Thu, 03 Jul 2003 08:37:00 +0000</pubDate><atom:updated>2006-04-27T01:40:02.206-07:00</atom:updated><title>Turning off those damned Netware "new email" pop-ups</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml">Category: MS Windows, Category: Novell Netware&lt;br />&lt;br />Originally posted on my iBlog 3 July 2003.&lt;br />&lt;br />&lt;b>Summary&lt;/b>: When I am logged on to the Lincoln University network, I get bombarded with pop-ups, one per new email, displayed as soon as it arrives. It is an insanely annoying default feature (what was Novell thinking?!). I have figured out how to turn it off when logged on through Windows in Virtual PC (below) but I haven't figured it out in OSX. All I can do is stay unconnected to Lincoln network volumes while working.&lt;br />&lt;br />How to turnoff Netware popup messages in Windows&lt;br />&lt;br />Right-click (=Ctrl-click) on the red N logo on the bottom right of the Windows screen.&lt;br />&lt;br />Select Novell Client Properties - Advanced settings - Receive Broadcast Messages.  Set it to None and you will no longer get the pop-ups. &lt;br />&lt;br />This should work for both the NT/2K/XP and the 9x client &lt;br />&lt;br />From&lt;br />&lt;a href="http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/19/pid/871/qid/459098 ">http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/19/pid/871/qid/459098&lt;/a>&lt;/div></description><link>http://www.mollivan.com/weblog/2003/07/turning-off-those-damned-netware-new.html</link><author>mollivan jon</author></item></channel></rss>