<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MarkupAsAnApi &#187; Javascript</title>
	<atom:link href="http://www.markupasanapi.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markupasanapi.com</link>
	<description>Publish once, publish everywhere</description>
	<lastBuildDate>Mon, 07 Sep 2009 03:56:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Custom non-visible data in HTML 5</title>
		<link>http://www.markupasanapi.com/2008/07/14/custom-non-visible-data-in-html-5/</link>
		<comments>http://www.markupasanapi.com/2008/07/14/custom-non-visible-data-in-html-5/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 12:43:36 +0000</pubDate>
		<dc:creator>halans</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[semweb]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.markupasanapi.com/?p=12</guid>
		<description><![CDATA[Short and sweet: HTML 5 offers custom data attributes on HTML elements, intended to store custom data, which can then be handled on-page by JavaScript, or off-page by other (web-)applications. John Resig discusses a number of useful benefits. Post from Jean-Jacques Halans MarkupAsAnApi blog.Custom non-visible data in HTML 5<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2008/07/14/custom-non-visible-data-in-html-5/">Custom non-visible data in HTML 5</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Short and sweet: HTML 5 offers <a title="HTML 5" href="http://www.w3.org/html/wg/html5/#custom">custom data attributes</a> on HTML elements, intended to store custom data, which can then be handled on-page by JavaScript, or off-page by other (web-)applications.</p>
<p>John Resig discusses  <a title="Data attributes" href="http://ejohn.org/blog/html-5-data-attributes/">a number of useful benefits</a>.</p>
<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2008/07/14/custom-non-visible-data-in-html-5/">Custom non-visible data in HTML 5</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markupasanapi.com/2008/07/14/custom-non-visible-data-in-html-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PodiPodi/Catalog web-based CLI</title>
		<link>http://www.markupasanapi.com/2008/06/15/podipodi_web_based_commandlineinterface/</link>
		<comments>http://www.markupasanapi.com/2008/06/15/podipodi_web_based_commandlineinterface/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 03:04:44 +0000</pubDate>
		<dc:creator>halans</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[web developers]]></category>
		<category><![CDATA[web-tasks]]></category>

		<guid isPermaLink="false">http://www.markupasanapi.com/?p=7</guid>
		<description><![CDATA[PodiPodi is a web-based command line interface like Quicksilver (on Mac) or Enso (on Win) for the desktop: &#8220;A special widget which integrates a smart command line interface and a bunch of additional services directly into your website to perform common web-tasks&#8221; PodiPodi offers an alternative UI to your website for power-users. By hitting a [...]<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2008/06/15/podipodi_web_based_commandlineinterface/">PodiPodi/Catalog web-based CLI</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a title="PodiPodi" href="http://www.podipodi.com/">PodiPodi</a> is a web-based command line interface like <a title="Quicksilver" href="http://docs.blacktree.com/quicksilver">Quicksilver</a> (on Mac) or <a title="Enso" href="http://humanized.com/enso/">Enso</a> (on Win) for the desktop:</p>
<blockquote><p>&#8220;A special widget which integrates a smart command line interface and a bunch of additional services directly into your website to perform common web-tasks&#8221;</p></blockquote>
<p><strong>PodiPodi offers an alternative UI to your website for power-users.</strong> By hitting a shortcut like Ctrl+z you get a jQuery powered command line widget which gives you additional information on the site, a sitemap, Flickr pictures, google search,&#8230; Have a play at their <a title="CLI playground" href="http://www.podipodi.com/playground/">playground</a>.</p>
<p>&#8220;PodiPodi&#8221; doesn&#8217;t really roll of the tongue very well though&#8230;</p>
<p>An alternative to PodiPodi (which requires web developers to integrate this into their site) could be a Firefox extention like <a title="Catalog extention" href="http://abcdefu.wordpress.com/2007/09/22/catalog/">Catalog</a> which <strong>puts the same powerful command line interface under your fingers</strong>, but then for every webpage you visit. Unfortunately active development seem to be stalled.</p>
<p>Both apps show<strong> the power of extending your website</strong> under the hood, giving your visitors more power on how they navigate and use your website.</p>
<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2008/06/15/podipodi_web_based_commandlineinterface/">PodiPodi/Catalog web-based CLI</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markupasanapi.com/2008/06/15/podipodi_web_based_commandlineinterface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Markup as an API</title>
		<link>http://www.markupasanapi.com/2007/10/08/markup-as-an-api/</link>
		<comments>http://www.markupasanapi.com/2007/10/08/markup-as-an-api/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 10:26:16 +0000</pubDate>
		<dc:creator>halans</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[screenscraping]]></category>
		<category><![CDATA[semweb]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.markupasanapi.com/?p=4</guid>
		<description><![CDATA[HTML describes documents, and the link between documents. We read these documents, we print them, bookmark them for later retrieval. We might copy/paste content into another document, constructing a new one. If we wanted to automate this, we&#8217;d resort tot screen scraping. But this easily breaks, as there&#8217;s no standard or &#8220;contract&#8221; between the original [...]<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2007/10/08/markup-as-an-api/">Markup as an API</a></p>
]]></description>
			<content:encoded><![CDATA[<p>HTML describes documents, and the link between documents.</p>
<p>
We read these documents, we print them, bookmark them for later retrieval. We might copy/paste content into another document, constructing a new one.
</p>
<p>
If we wanted to automate this, we&#8217;d resort tot screen scraping. But this easily breaks, as there&#8217;s no standard or &#8220;contract&#8221; between the original site and the screen scraper.
</p>
<p>
Or we&#8217;d go for duplicating content into a new format like XML, with an agreed upon format. That way we could build product price aggregators using SOA Web Services with SOAP, WSDL,&#8230; Or use a REST architecture which takes us a bit closer back to our original HTTP request.
</p>
<p>
Most popular formats for sharing (XML) data is RSS and Atom, were again we duplicate the content we publish online.
</p>
<p>
But we&#8217;ve come a long way last couple of years, towards Web Standards, pushed by organisations like the Web Standards Project (WaSP) and Web Standards Group (WSG). They promote standards for separation of content, styling and behaviour, and the use of semantic HTML.
</p>
<p>
And then there&#8217;s the W3C, who promotes the Semantic Web as knowledge representation, using Resource Description Framework. RDF is a general method of modelling information making statements about resources in triples. Triples represent a subject-predicate-object expression, for example JJ &#8211; isBornIn &#8211; Belgium.
</p>
<p>The W3C&#8217;s Web Ontology Language, or OWL, provides additional vocabulary and formal semantics, providing greater machine interpretability of Web content, but with added complexity.</p>
<p>But as of yet there isn&#8217;t much RDF data online, or ontologies are missing for many application domains. The W3C&#8217;s projects are rather academic, and aren&#8217;t close to any web developer&#8217;s mindset.</p>
<p>What is closer to the web developer though is semantic HTML, the correct use of heading levels and paragraphs to introduce structure, blockquotes and correct use of tables, for tabular data.</p>
<p>Now we add rich semantics, standardised Microformats. They are small pieces of metadata, within the markup, using CSS. They are discoverable, interpreted by machines.</p></p>
<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2007/10/08/markup-as-an-api/">Markup as an API</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markupasanapi.com/2007/10/08/markup-as-an-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scraping HTML with innerHTML or jQuery</title>
		<link>http://www.markupasanapi.com/2007/09/11/scraping-html-with-innerhtml-or-jquery/</link>
		<comments>http://www.markupasanapi.com/2007/09/11/scraping-html-with-innerhtml-or-jquery/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 08:54:30 +0000</pubDate>
		<dc:creator>halans</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[innerHTML]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[screen scraping]]></category>
		<category><![CDATA[screenscraping]]></category>

		<guid isPermaLink="false">http://www.markupasanapi.com/?p=5</guid>
		<description><![CDATA[A couple of nice write-ups on how to scrape HTML using innerHTML at Pathfinder Development: A common solution has been to proxy and scrape an application with a combination of XQuery and TagSoup (to fix the ugly, broken HTML, dontcha know), but it is possible to do this purely in the browser. or with jQuery, [...]<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2007/09/11/scraping-html-with-innerhtml-or-jquery/">Scraping HTML with innerHTML or jQuery</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A couple of nice write-ups on how to scrape HTML using innerHTML at <a title="Pathfinder" href="http://www.pathf.com/blogs/2007/09/parsing-html-wi/">Pathfinder Development</a>:</p>
<blockquote><p>A common solution has been to proxy and scrape an application with a combination of XQuery and TagSoup (to fix the ugly, broken HTML, dontcha know), but it is possible to do this purely in the browser.</p></blockquote>
<p>or with jQuery, as <a title="Scraping with jQuery" href="http://jan.varwig.org/archiv/scraping-pages-with-jquery">Jan Varwig</a> describes:</p>
<blockquote><p>Fortunately, just the day before, I discovered <a href="http://www.jquery.com/">jQuery</a>, a Javascript framework with strong support for <a href="http://docs.jquery.com/DOM/Traversing/Selectors">finding DOM-Nodes via CSS, XPath and some custom selectors</a>. The tricky part now was to get jQuery to access the DOM-Tree of the schedule page on kino.de.</p></blockquote>
<p>Of course, screen scraping would be so much easier using Web Standards.</p>
<p>Post from <a href="http://www.halans.com">Jean-Jacques Halans</a> <a href="http://www.markupasanapi.com">MarkupAsAnApi</a> blog.<br/><br/><a href="http://www.markupasanapi.com/2007/09/11/scraping-html-with-innerhtml-or-jquery/">Scraping HTML with innerHTML or jQuery</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markupasanapi.com/2007/09/11/scraping-html-with-innerhtml-or-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
