Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

HTML posts

Filed under: Tips and tricks, Odds and ends, Internet Tools

Auto refresh any web page

Last night when the Apple store went down, I got tired of hitting refresh in Safari every few minutes while waiting for it to come back up, and went searching for something that would do the job for free.

Now, this is not for coders who will laugh hysterically at my incompetence, but for those of you that are either lazy or don't program at all. I fit both categories.

Back in 2005 someone going by the moniker of Biovizier posted the solution on Macosxhints.com. It's a little html snippet that will refresh any web page as frequently as you'd like, and its easily customizable for any page at all.

Here it is:

<html>
<head>
<**** **********="refresh" content="60">
</head>
<body>
<FRAMESET>
<FRAME src="http://www.tuaw.com">
</FRAMESET>
</body>
</html>



Copy this into TextEdit and save it with an .html extension. Then just double click it.

You can change the refresh time from 60 to the amount of seconds you want to wait before the page refreshes, and you can change the URL to anything you want. I was using: http://apple.com/store and having it refresh every 20 seconds which must make me a certifiable fanatic.

Since I saw this I've found a ton of uses for it, like refreshing eBay auctions in the last few minutes, or just leaving it set for TUAW to see new stories coming up when I'm doing something else. At present I have four or five of these snippets in a folder on my desktop for different purposes.

Give it a try and see if you don't find a handful of uses for it.

Okay, you coders can stop laughing now.

Note: TJ Luoma just let me know that this tip won't work with Twitter which intentionally blocks this sort of thing.


Thanks to macosxhints.com and Biovizier wherever you are.

Filed under: Odds and ends, iTunes, Graphic Design

Inside the new iTunes LP format

With the release of iTunes 9 came iTunes LP. Our own Dave Caolo gave iTunes LP a glowing review, but if you're wondering just how Apple worked their magic with the new format, web developer Jay Robinson has picked it apart thoroughly. As it turns out, simply replacing the ".itlp" extension with ".zip" reveals the contents of the package, which are actually HTML, CSS, and a little JavaScript. The Flash-like interfaces really use no Flash, but instead rely on the proposed CSS3 animation properties. If you're a web developer like yours truly (or a few other TUAW bloggers), you'll definitely want to check out Jay's analysis of the format.

We've also been informed by a loyal tipster that if you take that unzipped folder of content and put it in your Sites directory (with Web sharing turned on, naturally), you might try browsing to it from your iPhone or iPod touch and seeing what shows up in Mobile Safari. Fascinating.

Filed under: Software, Cool tools, Developer

Developer Color Picker: For your pickiest developer

Wade Cosgrove, code ninja over at Panic, has released a freeware Developer Color Picker that helps developers of all stripes pick and paste color declarations for a variety of languages.

Any color picker will let you choose a color from anywhere on your screen, but Developer Color Picker turns that into usable code for your Xcode and web development projects. Developer Color Picker generates code suitable for NSColor, UIColor, CGColorRef, CSS and HTML declarations.

Depending on what you want, you can copy just the value for the color itself, or an entire declaration including the color. Imagine the time you save not having to type UIColor *aColor = [UIColor colorWithRed:0.282 green:0.569 blue:0.894 alpha:1.000]; again!

Developer Color Picker is available on Panic's website.

Filed under: Analysis / Opinion, Odds and ends, Internet, iPhone, iPod touch

iPhone nabs 59% of smartphone 'net traffic, 43% of mobile web traffic


Fortune has the results of an AdMob survey up, and they're pretty surprising -- Apple has apparently taken over 59% of smartphone traffic on the Internet, and in the mobile category in general, they've got a giant 43% of 'net traffic surveyed. But there's another side here: the report doesn't just point out that Apple accounts for the lion's share of mobile 'net traffic, but it states that smartphone traffic, and specifically the iPhone in general, hugely overshadows the actual sales numbers. The iPhone has 8% global market share, but accounts for 65% of HTML traffic. And smartphones in general overshadow their sales to a lesser degree: smartphones represent about 12% of mobile device sales, but AdMob calculates them at around 35% of their traffic last month.

What does this mean? AdMob suggests it's a phase -- right now, because we're so early in the development stages of this platform, mobile web makes up the main chunk of traffic. But in the future, we may go through applications to get data, or use push notifications, and/or come up with other, more streamlined ways to get information out to mobile devices. But for now, iPhone and iPod touch users are still browsing the web, and as a result, they are accounting for way more traffic than their sales hint at.

Filed under: Software, Internet Tools

Freeway 5.2 available with new MobileSafari support

Softpress Systems has released Freeway 5.2, which includes new tools for building web pages for iPhone and iPod touch. Freeway is WYSIWYG website creation software that features a traditional, page-layout approach and omits the need to write any code (unless, you know, you really want to handcraft your HTML).

New in version 5.2 is the ability to create iPhone home screen icons and custom links to iPhone applications like Mail, Phone, Maps, and YouTube. Also, Freeway helps prepare QuickTime videos for playback on iPhone under a variety of network conditions.

Additionally, Softpress has published a best practices document for publishing web sites for the iPhone and iPod touch. The "Building websites for the iPhone with Freeway" document can be found on the Softpress website.

The update is free for registered users of Freeway 5 or higher. For new users, it's available in two flavors: Freeway 5 Express ($79) and Freeway 5 Pro ($249). The differences between the two versions are available here.

Filed under: Software, How-tos, Tips and tricks, Internet, Internet Tools, .Mac

Embed .Mac Web Gallery thumbnails in RapidWeaver pages

The new .Mac Web Galleries are great, but they unfortunately can only be built by iPhoto '08 and integrated into iWeb pages. Thanks to this RapidWeaver forum post from Günter, however, RW users have a trick for embedding those slick scrolling .Mac Web Gallery thumbnails into their pages. The trick more or less involves creating at least one or more .Mac Web Galleries, opening iWeb and using its new widgets feature to embed one of your galleries in an iWeb page, publishing to a folder and copying the specific piece of .Mac Web Gallery code out of that iWeb page and into a RapidWeaver Blocks page.

It isn't exactly pretty, but I think I know of a way to simplify this process, at least for some of you. The way I figure it, if you're already publishing an iWeb page to your .Mac account with your galleries embedded in them, you can just open your iDisk and drill down to Web/Sites, find the page you published with that gallery code and simply grab it from there. No publishing to a folder and creating more junk to manage and delete, since you're already publishing those pages and code somewhere.

As far as looking at the code on those pages, you can of course simply open them in a browser and use the View Source command, or you can find a text editor like TUAW favorite TextMate or even the free Taco HTML. For more questions on this you can try in the comments here since I know a good number of TUAW readers are also RapidWeaver lovers, but the original RapidWeaver support thread where I found this tip might be a better place if you want to get more thorough answers faster.

Filed under: Software, Tips and tricks, Developer, iPhone

Create your own iPhone remote application

One of the good things about the "very sweet solution" of iPhone development is that you don't need any special tools or too much knowhow to create neat applications-- if you know a little HTML, a little PHP, and have access to a text editor, you can come up with some pretty cool stuff. This tutorial from IBM's DeveloperWorks is about as simple as it gets, and yet it shows you how you can use your iPhone as a remote for iTunes, Keynote, or any other AppleScript-able applications on your Mac, with no jailbreakin' necessary.

Of course, as he mentions at the end, Telekinesis did most of this stuff early on, so if you've got something standard that you want to do (like control iTunes), you don't need to write the code yourself any more. But combine the tutorial with any other custom AppleScripts you've written (or might write), and a lot of possibilities open up in terms of what you can do with your computer, straight from your iPhone.

[ via MacBytes ]

Filed under: Software, Odds and ends, Internet Tools

BBEdit version 8.7 released


BBEdit 8.7, the latest version of the triple-A HTML editor, has been released.

Update: OK, so the reason I originally thought that all the "new" 8.7 features sounded familiar is because I actually was looking at the release list for version 8.5. The 8.7 release notice is here, and it includes Lua programming support, an option to remember which documents and browsers are open after closing BBEdit, and a Python language module and lots of other fixes and improvements. Sorry about the mistake, and thanks to all our commenters (and to Bare Bones Software themselves) for the heads up.

8.7 is a free update for 8.5 and 8.6 customers. If you haven't picked up BBEdit yet, you can try out the free demo here.

Filed under: Software, Internet Tools

Copy as HTML plug-in, amongst others, for VoodooPad

As I am finally wrapping my head around just how useful Gus Mueller's VoodooPad can actually be, I'm getting more interested in tinkering with how it can be extended and made to do my bidding. Dubbed as a "garden for your thoughts," VodooPad is a great place to jot down ideas, lists and notes with a wiki-like document format that makes it dead-simple to link one page to another. Out of the box VoodooPad comes with a lot of great features, but Gus also maintains a VoodooPad plug-ins page with a number of add-ons for making VoodooPad do everything from adding some handy keyboard shortcuts to more complex abilities like rendering math in your documents and allowing plug-in authors to use Python for writing VoodooPad plug-ins.

At the top of my list, however, is the HTML Tools plug-in which allows you to preview the current VoodooPad page as rendered HTML, Textile or Markdown, as well as copy the text you've written as HTML (with styling attributes and all) or Simple HTML with just the plain markup. It's a handy plug-in for anyone who, like me, prefers to compose blog posts (or of course websites) in desktop software in order to take advantage of all the power Mac OS X has to offer, then simply copy and paste the blog post as HTML into their blogging engine or CMS. This Simple HTML feature needs a little work, however, as it isn't creating entirely proper HTML just yet. Lists, for example, are created simply with <br> tags instead of actual <ul> and <li> tags, but it could do the trick for those who aren't exactly trying to pass every HTML validation test available across the web.

The VoodooPad plug-ins are provided for free, though some of them are still PowerPC-only. Demos of the $29.95 VoodooPad are of course available, with a $49.95 VoodoPad Pro version that offers a few key features for power users, as well as a free VoodooPad Lite version for those who don't need quite as much.

Filed under: OS, Software, Odds and ends, Internet, Apple, Apple History

Hypercard's history

SiliconUser takes a short look at ye olde Hypercard technology, Apple's precursor to the concepts that eventually became HTML and the World Wide Web. The project was originally created in 1985 as an easier way to create programs on the Macintosh-- it consisted of a "cards and stacks" metaphor, as in you created one card that linked to another card in the stack, and so on. Early Hypercard stacks just worked as organized information databases, but eventually Hypercard ended up doing more and more-- cards could work as applications in themselves, and the links between them served as a precursor to hyperlinks and what we know as the Internet today. Personally, I only used Hypercard very minimally, and it's hard for me to imagine as much functionality coming out of Hypercard as we've got with CSS, HTML, and PHP today. But Hypercard faithful (of which the numbers seem to be not quite known), held onto the application for a long time.

Hypercard's downfall came arguably not because it failed to stand up to new concepts, but because Apple, in a blunder, passed the program away to Claris, who tried to sell it rather than include it free in Macs. By the time Apple took it back, in 1993, the momentum was lost, and after a short period with Apple's Quicktime division, Hypercard was discontinued in 2004. Previous to that, Hypercard 3.0 was shown at WWDC 1996 (including the ability to display Hypercard stacks in a web browser, which might have been the key to keeping Hypercard alive), but that release never came. There are a few traces of Hypercard left on Apple's site, but as a technology, it's as dead as dead gets.

Thanks, Thomas!

Filed under: Analysis / Opinion, Hacks, iPhone

Saving iPhone applications inside data URLs

This is really basically the same theory as the iPhone bookmarklets Mat posted earlier (squeezing content into a URL), but it's a little less about function and a little more about storage. Currently, the iPhone doesn't allow you to save actual files locally, but it does allow you save URLs, so the idea here is to save entire applications (or other HTML content) in the form of a data URL.

It's a pretty wonky hack, but it works-- you can convert whole HTML pages, or even applications, depending on the URL length the iPhone's bookmarks allow, into data URLs (with the Perl script on that page if you don't want to do it manually), and then those data URLs can be loaded into MobileSafari on the iPhone, even in Airplane mode. The suggestion is made that this could allow persistent storage for web applications on the iPhone, but wouldn't that require allowing the HTML page to write to and read from the iPhone's bookmarks? Is that possible?

At any rate, maybe it's a good thing, for a little while at least, that Apple didn't release a "real" SDK for the iPhone. Web programmers are making their code do all kinds of flips and tricks to get every bit of access they can on the iPhone. People have been talking about browser-based, OS independent applications for years-- maybe Apple's insistence that iPhone developers go through the browser will bring about that world sooner than we thought.

[via DF]

Filed under: Software, Internet Tools

RapidWeaver 3.6 released



Realmac Software today has released the much-anticipated new version of RapidWeaver, their powerful WYSIWYG software that does a great job of filling the gap between iWeb and Dreamweaver. This new v3.6 ushers in a significant list of new features, such as:

  • Themes Styles - no more digging in HTML and CSS to customize your theme (unless you really want to)
  • 6 completely new themes
  • Snippets - manage chunks of frequently used code instead of copy/pasting or constantly re-typing
  • New Flash Slideshow - completely rewritten and can now pull images from a Flickr feed
  • Improved blog, including tags and inline comment support
  • Easy creation of Lists
  • Detailed Publishing
  • And much, much more

Also, due to RapidWeaver's "skyrocketing" popularity, RealMac Software introduced a redesigned website today that includes a full-featured add-ons section where users can browse themes, plug-ins and code snippets, which of course also means 3rd parties nowhave one central RapidWeaver community where the can highlight their products.

With everything involved, I can completely understand Realmac Software's decision to make v3.6 a paid upgrade - current users (including MacHeist owners) can purchase a v3.6 license for $25, while a full license costs $49. A demo is of course available, so head over to the shiny new Realmac Software site to see everything RapidWeaver has to offer.

Filed under: Software, Productivity, Internet Tools

Free HTML snippet file for TextExpander

TextExpander is another favorite utility in the TUAW tool belt, as it can save a boatload of time with repeatedly typing anything from email signatures to canned customer service replies and even code. In fact, SmileOnMyMac just made HTML coding a bit easier on web designers and hackers everywhere by posting an HTML snippet file that contains abbreviations for over 60 common pieces of HTML, ripe for cutting down on the time it takes to hand code your sites. This file should serve as a great example of the power of TextExpander, since SmileOnMyMac made sure to use some of the app's tricks that insert the cursor in a useful place after expanding a snippet, such as in between the quotes of: <a href=""></a>, allowing you to easily fill in the blanks. But don't stop there - a little exploring of how these snippets are put together should enable you to build your own for the specific kinds of work and code you use.

This snippet file is free from SmileOnMyMac's site, and the highly recommended TextExpander sells for $29.95 with a whopping 90 day money-back guarantee.

Filed under: Software, Internet Tools

iWebFlinger - the HTML and FTP uploading tool


iWebFlinger is great for those who want to use HTML to customize their iWeb sites, but they neither have nor want a .Mac account with which to publish.

On the customization front, this useful tool allows you to insert code into your iWeb sites by wrapping it in a specific tag, as well as customizing the site-wide header and footer with dedicated chunks of code (pictured).

As far as getting your recently-created iWeb site to where it's going, iWebFlinger's FTP features are pretty handy. Your password is stored in the system-wide Keychain, and you can even upload a favicon (the neat little custom icons that appear alongside a site's URL in the address bar). iWebFlinger also has the option to be smart about exactly which files it needs to upload and replace, which can save a lot of time when you make additions or changes to your site.

iWebFlinger is donationware from Chris J. Shull, and it's available at his site.

Filed under: OS, Software, Odds and ends

Apple posts Mail stationery templates galleries

We're all excited about Leopard, Apple's next major release of OS X. Steve has shown us some of the features, but Apple is keeping a pretty tight lid on everything that will be included in 10.5.

One of the features that made Steve's WWDC keynote is Stationery Templates in Mail. Basically, this makes it very easy to create snazzy HTML emails right within Mail. You can live preview templates, and drag and drop images from iPhoto. Tim Gaden points out that Apple, at some point, put up a little gallery with a bunch of the templates that will soon be unleashed upon the world.

I don't know about you, but HTML email is the bane of my existence. The first thing I do when I am configuring any email client is figure out how to convert all incoming emails to plain text. I might be a little extreme in my dislike of HTML emails, but I seriously hope that when Leopard is released I don't start receiving a deluge of HTML emails.

Tip of the Day

Reply in the Mail.app with a specific quote.
Select the text you want quoted and then hit the reply button.
Only your selected text will copied to the reply email.


Follow us on Twitter!
 TUAW [Cafepress]

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

More Apple Analysis

AOL Radio TUAW on Stitcher