Monday, September 15, 2008

Build a Web Page Monitor with Google Docs and Track Changes Automatically

Source: http://www.labnol.org/internet/monitor-web-pages-changes-with-google-docs/4536/

monitor shopping websites RSS feeds have completely changed the way we consume information on the web. You no longer have to visit The New York Times or CNN every hour of the day to check news headlines because the feed reader is doing that for you behind the scenes.

The only problem is that not all web content is available via feeds. For instance, Amazon, eBay and Google Product Search (Froggle) are good places to find discount deals on books and electronic gadgets but unfortunately, none of these shopping sites publish feeds.


Monitor Web Pages with Google Docs

Problem: Let’s say you are looking for some discount deals on iPod Nano. An option here is that you open Google Products page and search for iPod Nano. If you don’t find the right price, repeat the same cycle next day. This may sound easy but imagine doing this for ten other products on five different shopping sites. Tedious, right?

Solution: What we can do here is build a simple spreadsheet in Google Docs that will monitor prices across all these search pages and will present them in a table so you don’t just track prices but also compare them at the same time.

To get started, you need access to Google Docs and some basic knowledge of XPath. Don’t let this scare you - XPath is a simple way to access information contained inside HTML web pages. For instance, if you want to know about all URLs that are mentioned on any web page, the XPath expression would be //a[@href]. Some more examples:

//strong means all the items in the web page with strong html tags

//@href means all the items in the web page with href element, i.e., the URLs in that page.

If you feel that writing XPath expressions is a tricky job, get the XPath checker add-on for Firefox that will help you easily determine the XPath of any element on a web page.

Import Data from Websites into Google Docs using XPath

This is the search page for ‘ipod nano’ inside Google Products. As you may noticed already, the result title is formatted with CSS class "ps-large-t" while the the product price using the class "ps-larger-t" - you can easily find these class names via Firebug or  from the HTML source.

google-product-search 

Now we’ll create a table inside Google spreadsheet that will have the name, price and URL that will link to that product listing in Google Docs. You can use the same approach to get product data from other sites like Amazon, eBay, Buy.com, etc.

Here’s how the final spreadsheet looks like - all this is live data and will update automatically if the corresponding information is updated on Google Products.

google-docs-sheet

Get External Data in Google Docs with ImportXML

As you may have seen in the previous tutorial on Google Docs, there’re built-in spreadsheet functions to help you easily import external data into Google Docs. One such useful function is ImportXML that, like ImportHTML, can be used for screen-scrapping.

The syntax is =ImportXML("web page URL", "XPath Expression")

Coming back to the spreadsheet, in order to fetch the price of ‘ipod nano’, we type the following formula:

=ImportXML("www.google.com/products?q=ipod+nano","//b[@class='ps-larger-t']")

You may replace ‘ipod nano’ with any other product name like ‘harry+potter’, ‘nikon+d60′, etc.

To enter this function into Google Docs, click an empty cell, press F2 and paste. See this Google Docs movie:

google-docs-movie

Similarly, for the product name, we use this formula:

=ImportXML("www.google.com/products?q=ipod+nano","//a[@class='ps-large-t']")

And for the URL (product hyperlink), the formula is:

=ImportXML("http://www.google.com/products?q=ipod+nano","//a[@class='ps-large-t']//@href")

You need to concatenate this with ‘http://www.google.com’ since Google Products uses relative URLs. This can be easily fixed by adding another column with the formula

=HYPERLINK("http://www.google.com/"&B3,"click here")

Related: Import data from HTML Web Pages into Excel

Subscribe to Web Page Changes via Feeds

web-page-feed

You don’t have to check this Google Docs Spreadsheet manually to see if prices have since yesterday - just select publish   followed by "Automatically re-publish when changes are made" and subscribe to the document in your favorite RSS reader.

The author is an Excel whiz kid and blogs at Pointy Haired Dilbert, a virtual gold mine of tips related to data manipulation & visualization through Excel and other spreadsheet programs.

Build a Web Page Monitor with Google Docs and Track Changes Automatically - Digital Inspiration

Read More...

Peugeot Concept Cars of Tomorrow Have Propellers, Joysticks [Future Cars]

Source: http://feeds.gawker.com/~r/gizmodo/full/~3/391703946/peugeot-concept-cars-of-tomorrow-have-propellers-joysticks

If Gundam mated with Will Smith's Audi in I, Robot, the offspring would resemble these futuristic concept cars from European brand Peugeot. The cars car-like vehicles were all entries in the 2008 Peugeot Design Contest. Designers were asked by organizers to create vehicles for that ambiguous but tantalizing "city of the future." Areas of focus included environmental awareness, "social harmony," interactive mobility and efficiency. As you can see in the "Blade" vehicle above, efficiency is improved with the wind turbine that designer Ying Hui Choo added to charge an on-board electric battery.

The 888, designed by Oskar Johansen, pivots at the center and reduces its size for "easier parking, maneuverability and increased visibility."

Emre Yazici's "EGO" has two wheels and is controlled Atari-style with a joystick. The windshield doubles as the door. [Telegraph]


Read More...

iPhone Modem App Promises 10 Second iPhone Tethering [Jailbreak Apps]

Source: http://feeds.gawker.com/~r/gizmodo/full/~3/391814937/iphone-modem-app-promises-10-second-iphone-tethering

Just released yesterday, iPhone Modem for the Cydia jailbreak application repository promises tethering your laptop to your iPhone in just ten seconds. We haven't gotten around to jailbreaking our own yet, but this one is supposedly even easier than the official NetShare tethering app in the official App Store. ModMyiPhone forum says it works just fine on both MacBook and MacBook Pro. Careful using this on AT&T, since too much tethering data usage you're not actively "paying" for will get you neutered. [modmyiphone]


Read More...

3M reveals MPro110 pocket projector: ships this month

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/391384947/

Filed under:


It's official: the age of the pico projector has arrived. And we're not talking the age of pico projector announcements, we're talking about launches. Just after Toshiba came clean with its LED Pico Projector, along comes 3M (of all companies) with one of its own. The MPro110 pocket beamer got handled by PopSci, and the results were pretty much as we'd expect. Decently bright, extraordinarily novel, but not exactly world-class. Brightness (the lack thereof, actually) was an issue, and a few movie scenes were deemed "indecipherable." Additionally, it has no built-in speaker, but for just $359, we suppose that's an omission we can live with. Best of all, this one's set to ship on September 30th. To America. Woo!

[Via AboutProjectors]
Read | Permalink | Email this | Comments

Read More...

Dell's Mini 9 netbook gets unboxed on video

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/391721719/

Filed under:


We already found that Dell was shipping out the first wave of Mini 9s to eager consumers, so it's perfectly logical to see that at least one particular owner was able to stifle his excitement long enough to video the unboxing process and upload it to the intartubez. Not like there's anything there you'll be shocked about, but the comparison shots with a much beefier sibling really puts things in perspective. Check it out in the read link.
Read | Permalink | Email this | Comments

Read More...

SSD shootout, round II: OCZ, Super Talent and Mtron do battle

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/391805488/

Filed under:


If you'll recall, a slew of prohibitively expensive SSDs were pit against one another last summer in a battle royale of pricey HDD replacements. Fast forward a year and change, and the barrier to entry for one of these heralded devices has dropped significantly. That being the case, we've a feeling HotHardware's latest shootout will be a whole lot more relevant for the average joe / jane. The aforementioned test simultaneously reviews the OCZ Core Series 64GB MLC, OCZ 64GB Standard SLC, Super Talent MasterDrive MX 64GB MLC and the Mtron MSP 7500 32GB SLC. Interestingly, the writeup didn't conclude with a medal ceremony, but rather, it elaborated on the merits of each and where it would likely fit best. You know what that means -- time to bust out the spectacles and get to readin'. Chop chop!
Read | Permalink | Email this | Comments

Read More...

Voodoo can't just come clean, has to tease yet another new product

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/392482874/

Filed under: ,


Most everyone digs a surprise, but the novelty tends to wear off after the third or fourth iteration of the same trick, wouldn't you say? Rather than just coming right out and showing us the wares, Voodoo's Rahul Sood is playing the tease card again with an obviously undisclosed new product. In an apparent attempt to keep the wave (started by the Omen and Envy 133, by the way) rolling, Mr. Sood has dropped a sliver of a hint on The Next Bench. He states that "there's also this other thing [Voodoo is] working on right now," but he very purposefully fails to elaborate. Just keep it sexy and overpowered and we won't kvetch about the build up... too much.

[Thanks, William]
Read | Permalink | Email this | Comments

Read More...

Is ASUS prepping a 5-megapixel Omnia challenger?

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/392641759/

Filed under:


It looks like ASUS has more in store when it comes to touchscreen phones than that P552w we saw the other day. According to pictures leaked to the Mobile01 forums, the company is planning an Omnia-esque device that will feature a large (WQVGA or WVGA) touchscreen, a 5-megapixel camera, a trackball for non-touch navigation, and the predictable 3G radios / WiFi. Not much is known about the device at this point, though speculation is running rampant on the forum as to CPU specs and on-board memory. It's likely this will be at least competitive in comparison to recent Window Mobile devices we've seen of this variety, though nothing's certain till we get word from ASUS... which we're waiting patiently for, fellas.

[Via wmpoweruser]
Read | Permalink | Email this | Comments

Read More...

Dell's E4300 and E4200 Latitude laptops available this Tuesday

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/392715399/

Filed under:


Hey, remember those totally slick Latitude E4300 and E4200 13.3- or 12.1-inch laptops we told you about last month? Well if you've been itching to get your hands on one, they're going to be available very, very soon (September 16th, that is). If you'll recall, these little dudes boast Dell's new Latitude ON feature, the SplashTop-esque, instant-on desktop that gives you quick access to Firefox and a handful of other Linux-based apps. They also happen to tread that fine line between geek-lust design and hard-nose business machine guts. The systems will be available with Core 2 Duo CPUs, DDR3 RAM up to 8GB, hard drives up to 250GB (or a 64GB SSD), WiFi, and sport 1280 x 800 widescreen displays. Hit the read link for more details, and make sure to double check your account balances.

[Thanks, Filip]
Read | Permalink | Email this | Comments

Read More...

Sunday, September 14, 2008

OnionMap Maps Interactive Guides of Popular Destinations [Travel]

Source: http://feeds.feedburner.com/~r/lifehacker/full/~3/391039057/onionmap-maps-interactive-guides-of-popular-destinations


Web site OnionMap hosts interactive, high-resolution tourist maps of popular destination cities across the globe. From New York to Tokyo and San Francisco to London, OnionMap brings the look and feel common to tourist maps to a Google Maps-like drag-and-drop interface. You can browse popular attractions, find your hotel, pick out a restaurant, and in general just find your way around. It's probably not what you want to use to map out your entire trip, but if you're in search of tourist traps and trappings, OnionMap might be worth a look.


Read More...

Speed.io Measures Your Bandwidth and More [Bandwidth]

Source: http://feeds.feedburner.com/~r/lifehacker/full/~3/391071507/speedio-measures-your-bandwidth-and-more

Web site Speed.io is a web-based speed-testing tool for measuring your upload and download bandwidth. Speed tests like this aren't really new—for example, I've always been partial to Speakeasy's Speed Test—but Speed.io rounds out its test with a few other cool measurements, including number of connections per minute and average ping time. It's always useful to have a bandwidth test like this in your bookmarks when you're troubleshooting your connection (and making sure your ISP is giving you what you're paying for), and Speed.io certainly looks bookmarkable. Don't like it? Share your favorite bandwidth test in the comments.


Read More...