In honor of some brand new iPhone features today, I thought I’d release a theme for easy viewing of any Textpattern site on the iPhone. It’s a little more difficult to put in place than a Tumblr theme, but I’ll try to make it easy. Here’s what the theme looks like at pixelspread.com/iphone. No graphics, just simple and easy to read.
First you’ll have to create a section for this, because this doesn’t replace your current theme, it an addition to your site. You also have to make sure that your install of textpattern is setup to use clean URLs, so you can navigate to specific sections. Here’s what your section should look like.

Now we’ve got to make the page, the style, and the form. You can download the iphone_page as a text file, but take note that you may have to make a few small edits to the txp:article_custom tag inside.
<txp:article_custom allowoverride="0" limit="10" pgonly="0" section="blog" sort="Posted desc" form="iphone"/>
The section I post all my blog posts into is called blog. If yours is set up differently, change section=“blog”.
You can change the style if you want to, but it’s not required. Here’s the text file: iphone_style
Create a new style sheet called iphone and paste the text file into it.
Finally, you’ll notice the form override in the txp:article_custom tag. You’ll have to create a new form called iphone, and paste in this text file: iphone_form
That should do it. Your iphone friendly site should now be available at yourdomain.com/iphone.