<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://notiz.blog/?pretty-feed-stylesheet=4" type="text/xsl" media="screen" ?>


<!--

	Feeds whisper secrets,
	In the RSS Club's embrace,
	Knowledge blooms in grace.

-->

<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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
xmlns:source="https://source.scripting.com/"
>

<channel>
	<title>Ajax &#8211; notizBlog</title>
	<atom:link href="https://notiz.blog/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>https://notiz.blog</link>
	<description>a weblog mainly about the open, portable, interoperable, small, social, synaptic, semantic, structured, distributed, (re-)decentralized, independent, microformatted and federated social web</description>
	<lastBuildDate>Wed, 21 Oct 2020 07:39:01 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://notiz.blog/wp-content/uploads/2019/10/cropped-notizblog-icon-1-32x32.png</url>
	<title>Ajax &#8211; notizBlog</title>
	<link>https://notiz.blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<creativeCommons:license>https://creativecommons.org/licenses/by-sa/4.0/</creativeCommons:license>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://switchboard.p3k.io/"/>
<atom:link rel="self" href="https://notiz.blog/tag/ajax/feed/"/>
<atom:link rel="search" type="application/opensearchdescription+xml" title="Search notizBlog" href="https://notiz.blog/wp-api/opensearch/1.1/document" />
	<source:account service="rss.chat">notizBlog</source:account>
	<source:self>https://notiz.blog/tag/ajax/feed/</source:self>
<source:blogroll>https://notiz.blog/blogroll/?opml</source:blogroll>
	<item>
		<title>hCard Mapper</title>
		<link>https://notiz.blog/2008/03/28/hcard-mapper/</link>
					<comments>https://notiz.blog/2008/03/28/hcard-mapper/#respond</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Fri, 28 Mar 2008 08:41:36 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[FediBlog]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[microJSON]]></category>
		<guid isPermaLink="false">http://notizblog.org/2008/03/28/hcard-mapper/</guid>

					<description><![CDATA[&#8230;oder How to use hCards to fill in forms. hCardMapper ist eine JavaScript-Klasse (basierend auf Prototype) um Kontakt- oder Profil-Formulare mit Hilfe einer hCard automatisch zu füllen, ähnlich wie bei bragster.com oder getsatisfaction.com. Das schöne an hCardMapper ist seine flexible Struktur. Die JavaScript Klasse ist so aufgebaut, dass sie eigentlich Microformats-Parser unabhängig funktionieren sollte, da [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">&#8230;oder <em>How to use hCards to fill in forms</em>.</p>



<p class="wp-block-paragraph"><a href="https://web.archive.org/web/20090211121813/http://lib.omnia-computing.de:80/hcardmapper">hCardMapper</a> ist eine JavaScript-Klasse (basierend auf <a href="http://www.prototypejs.org/">Prototype</a>) um Kontakt- oder Profil-Formulare mit Hilfe einer hCard automatisch zu füllen, ähnlich wie bei bragster.com oder <a href="https://web.archive.org/web/20080831104943/http://getsatisfaction.com/people/new">getsatisfaction.com</a>.</p>



<p class="wp-block-paragraph">Das schöne an hCardMapper ist seine flexible Struktur. Die JavaScript Klasse ist so aufgebaut, dass sie eigentlich <a href="https://notiz.blog/2007/05/24/microformats-parser/">Microformats-Parser</a> unabhängig funktionieren sollte, da sie die Daten über einen &#8222;Proxy&#8220; abfrägt. Die einzige Vorgabe ist, dass dieser Proxy eine <a href="https://notiz.blog/2007/09/16/microjson-microformats-in-json/">JSON formatierte hCard</a> (<a href="https://web.archive.org/web/20080516043808/http://microjson.org:80/wiki/JCard">jCard</a>) zurückgibt. Das Problematische an dieser Variante ist, dass jeder Parser unterschiedliche Ergebnisse liefert&#8230; ich werde es heute abend mal mit dem <a href="https://github.com/drewm/hkit">hKit</a>-Parser testen.</p>



<p class="wp-block-paragraph">Ein weiter Vorteil ist die Formular-Unabhängige Programmierung die es ermöglicht, das Script auch problemlos auf vorhandene Formulare anzuwenden. Über <code>mappnings</code> werden die hCard-Attribute den entsprechenden Formular-Felder zugeordnet.</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">Event.observe(<span class="hljs-built_in">window</span>, <span class="hljs-string">'load'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>) </span>{
  hcr = <span class="hljs-keyword">new</span> com.omniacomputing.HCardMapper({
    <span class="hljs-attr">register</span>: <span class="hljs-literal">true</span>,
    <span class="hljs-attr">proxy</span>: <span class="hljs-string">'/hcardmapper/hcard?uri='</span>,
    <span class="hljs-attr">insertBelowEl</span>: <span class="hljs-string">'hcr-hook'</span>,
    <span class="hljs-attr">mappings</span>: {
      <span class="hljs-attr">given_name</span>: <span class="hljs-string">'first'</span>,
      <span class="hljs-attr">family_name</span>: <span class="hljs-string">'last'</span>,
      <span class="hljs-attr">tel</span>: {<span class="hljs-attr">tel</span>: <span class="hljs-string">'phone'</span>, <span class="hljs-attr">work</span>: <span class="hljs-string">'phone'</span>, <span class="hljs-attr">cell</span>:<span class="hljs-string">'phone'</span>},
      <span class="hljs-attr">email</span>: <span class="hljs-string">'email'</span>,
      <span class="hljs-attr">org</span>: {<span class="hljs-attr">org</span>: <span class="hljs-string">'company'</span>, <span class="hljs-attr">organization_name</span>: <span class="hljs-string">'company'</span>},
      <span class="hljs-attr">url</span>: <span class="hljs-string">'website'</span>,
      <span class="hljs-attr">street_address</span>: <span class="hljs-string">'street'</span>,
      <span class="hljs-attr">postal_code</span>: <span class="hljs-string">'zip'</span>,
      <span class="hljs-attr">locality</span>: <span class="hljs-string">'town'</span> 
    }
  })
});</code></span></pre>


<p class="wp-block-paragraph">Quelle: <a href="https://web.archive.org/web/20090211121813/http://lib.omnia-computing.de:80/hcardmapper">http://lib.omnia-computing.de/hcardmapper</a></p>



<p class="wp-block-paragraph">Tolle Idee, mal schau&#8217;n wie gut das Script mit den (oben schon erwähnten) unterschiedlichen Verarbeitungsweisen der Parser umgeht&#8230;</p>
<p>Glückwunsch, du liest per RSS! Du gehörst zu einer kleinen, feinen Gruppe, die stilvoll auf dem Laufenden bleibt.</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/03/28/hcard-mapper/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Navigation 2.0</title>
		<link>https://notiz.blog/2007/05/25/navigation-20/</link>
					<comments>https://notiz.blog/2007/05/25/navigation-20/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Fri, 25 May 2007 19:25:47 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Navigation]]></category>
		<guid isPermaLink="false">http://notizblog.org/2007/05/25/navigation-20/</guid>

					<description><![CDATA[Stephan Gerbeth hat auf seiner Webseite &#8222;scheinwohnsitz.de&#8220; eine wirklich tolle Idee für eine Navigation gehabt. Die ganze Seite lässt sich komplett über das kleine Häuschen steuern (JavaScript/Ajax).]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image aligncenter"><img decoding="async" src="https://notiz.blog/wp-content/uploads/2007/05/scheinwohnsitz.jpg" alt="Scheinwohnsitz" /></figure>



<p class="wp-block-paragraph">Stephan Gerbeth hat auf seiner Webseite &#8222;<a href="https://web.archive.org/web/20070530125513/http://www.scheinwohnsitz.de/">scheinwohnsitz.de</a>&#8220; eine wirklich tolle Idee für eine Navigation gehabt. Die ganze Seite lässt sich komplett über das kleine Häuschen steuern (JavaScript/Ajax).</p>
<p>Hey, RSS-Fan! Du gehörst zu den wenigen Besonderen, die diesen altbewährten und trotzdem großartigen Weg wählen, um informiert zu bleiben. Hut ab!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2007/05/25/navigation-20/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
