nextwebgen.com

The Next Generation Web Now

Ajax man charged for stabbing beau – Toronto Sun

Filed under: Uncategorized — Ajax - Google News at 11:15 am on Thursday, April 30, 2009
Ajax man charged for stabbing beau
Toronto Sun,  Canada
By TAMARA CHERRY, SUN MEDIA An Ajax man is accused of holding his girlfriend captive for several hours yesterday, before she escaped with stab wounds to a police station last night. The 35-year-old woman told police she was held captive "all afternoon"
Woman walks into Pickering police station after being stabbed Newsdurhamregion.com
all 2 news articles

Business is the loser if you shun “experimental” web 2.0 (Silicon.com)

Filed under: Uncategorized — Yahoo! News Search Results for web 2.0 at 9:55 am on Thursday, April 30, 2009

Web 2.0 can help companies reduce costs but businesses that have not yet taken advantage of such technologies are unlikely to do so in the current downturn as they view investments in such projects as an “experimental” cost, say analysts. Steve Hodgkinson, public sector research director at Ovum, said companies which already deploy web 2.0 do realise its potential as a cost-saver. However, he …

YQL execute now allows you to convert scraped data with server side JavaScript

Filed under: Uncategorized — Chris Heilmann at 9:28 am on Thursday, April 30, 2009

I am a big fan of YQL, a terribly easy and fuss-free way to access APIs and mix data retrieved from them in a simple, SQL style language. Say for example you want photos of Paris,France from Flickr that are licensed with Creative Commons attribution, you can do this with a single command:

CODE:

  1. select * from flickr.photos.info where photo_id in (select id from flickr.photos.search where woe_id in (select woeid from geo.places where text=‘paris,france’) and license=4)

Try it out here and you see what I mean.

The next step of this interface was to open it out to the public. You can define an “Open Table” as a simple XML schema and bring your own API into this interface with that.

One thing that’s been burning on my tongue to tell the world about has been finally released now: YQL execute. Instead of making the YQL language itself much more complex (and thus running in circles) we now allow you to embed JavaScript in the Open Table XML that will run on the YQL server and allow you to access other web services, authenticate and scrape HTML with JavaScript and E4X. As Simon Willison put it:

This is nuts (in a good way). Yahoo!’s intriguing universal SQL-style XML/JSONP web service interface now supports JavaScript as a kind of stored procedure language, meaning you can use JavaScript and E4X to screen-scrape web pages, then query the results with YQL.

Using this, you can augment the original functionality of YQL to whatever you need. For example, you can scrape HTML with YQL using XPATH, but there was no way to use CSS selectors. Using an open table that invokes James Padolsey’s css2xpath JavaScript on the server side, this is now possible.

CODE:

  1. use ‘http://yqlblog.net/samples/data.html.cssselect.xml’ as data.html.cssselect; select * from data.html.cssselect where url=“www.yahoo.com” and css=“#news a”

Run this query in YQL

The data table is pretty easy:

XML:

  1. <?xml version=“1.0″ encoding=“UTF-8″ ?>
  2. <table xmlns=“http://query.yahooapis.com/v1/schema/table.xsd”>
  3.   <meta>
  4.     <samplequery>select * from {table} where url="www.yahoo.com" and css="#news a"</samplequery>
  5.   </meta>
  6.   <bindings>
  7.   <select itemPath=“” produces=“XML”>
  8.     <urls>
  9.       <url></url>
  10.  
  11.     </urls>
  12.     <inputs>
  13.       <key id=“url” type=“xs:string” paramType=“variable” required=“true” />
  14.       <key id=“css” type=“xs:string” paramType=“variable” />
  15.     </inputs>
  16.       <execute><![CDATA[
  17.    //include css to xpath convert function
  18.    y.include("http://james.padolsey.com/scripts/javascript/css2xpath.js");
  19.    var query = null;
  20.    if (css) {
  21.       var xpath = CSS2XPATH(css);
  22.       y.log("xpath "+xpath);
  23.       query = y.query("select * from html where url=@url and xpath=\""+xpath+"\"",{url:url});
  24.    } else {
  25.       query = y.query("select * from html where url=@url",{url:url});
  26.    }
  27.    response.object = query.results;
  28.       ]]></execute>
  29.     </select>
  30.   </bindings>
  31. </table>

Check the official Yahoo Developer Network blog post on YQL execute for more examples, including authentication examples for flickr and netflix.

960 Gridder: Easy to use layout design tool

Filed under: Uncategorized — Dion Almaer at 8:16 am on Thursday, April 30, 2009

Andrée Hansson has created 960 Gridder, a grid layout tool for web developers that you can either use as an integrated component to layout your websites or use it as a bookmarklet. The grid is fully customizable but it defaults to the “960px grid standard”.

960 Gridder will automatically identify if jQuery is present at the website and if it is not, it will include it.

It injects your website of choice and you can then work with this tool to help you out with whichever layout/design task you find it useful for.

By default, it is set to work with 12 columns, 60 pixel wide columns with a 10 pixel spacer left and right of the column, making it a 20 pixel wide gutter (which actually is the ones this gridder renders).

You can see and read about the “960 standard” at http://960.gs.

Van to drive out of Everton – SkySports

Filed under: Uncategorized — Ajax - Google News at 7:58 am on Thursday, April 30, 2009

Football365.com
Van to drive out of Everton
SkySports
The former Ajax and Inter Milan ace does not figure in David Moyes' first-team plans and he will be looking for a new club in the summer. Van der Meyde's agent Chiel Dekker has confirmed the player is set to leave Goodison Park and that he would like
Van der Meyde exit close The Press Association
all 117 news articles

Twiggler, a sample app for the LM Framework

Filed under: Uncategorized — Dion Almaer at 6:24 am on Thursday, April 30, 2009

David Semeria has been working on LM, another Ajax framework, for a number of years and has just announced it.

The first demo app is a highly customizable Twitter client, Twiggler, that runs in the browser.

Unfortunately nothing is public on the framework so we can’t see how it actually works. It looks kinda like Squeak or X from an interface perspective, and you can see an interesting designer view.

Chiefs' Isaacs solid as a rock – Independent Online

Filed under: Uncategorized — Ajax - Google News at 3:22 am on Thursday, April 30, 2009
Chiefs' Isaacs solid as a rock
Independent Online, South Africa - Nkareng Matshe
It seemed one of the thoughtless transactions of the season when Dominic Isaacs joined Kaizer Chiefs in a swop deal that included Mabhuti Khenyeza heading in the other direction to Ajax Cape Town. As Khenyeza's career blossomed almost instantly at Ajax
Soweto Derby War Of Words Begins Goal.com
Soweto Derby fever mounts Weekend Post
Expect a Soweto Derby fireworks Dispatch Online
Independent Online
all 70 news articles

Ajax Cape Town And Platinum Stars Share The Spoils – Goal.com

Filed under: Uncategorized — Ajax - Google News at 3:16 am on Thursday, April 30, 2009

Goal.com
Ajax Cape Town And Platinum Stars Share The Spoils
Goal.com, Switzerland
Platinum Stars earned a valuable point as they held Ajax Cape Town to a 1-1 draw at the Newlands Stadium on Wednesday night. Bradley Grobler scored for Stars and the Ajax goal was scored by Cole Alexander. The visiting side scored first in the first
Ajax CT v Platinum Stars Football365.co.za
Khenyeza can stretch his lead Kickoff
Ajax Cape Town Aiming For Top-Eight Finish Goal.com
Football365.co.za
all 20 news articles

« Previous PageNext Page »