<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SergoDic</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SergoDic"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/SergoDic"/>
	<updated>2026-04-28T05:12:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=rest/examples&amp;diff=2660</id>
		<title>rest/examples</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=rest/examples&amp;diff=2660"/>
		<updated>2005-11-05T12:35:47Z</updated>

		<summary type="html">&lt;p&gt;SergoDic: /* [http://del.icio.us/doc/api Delicious API] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XHTML-REST Examples =&lt;br /&gt;
&lt;br /&gt;
These are some examples of how people are currently implementing [http://en.wikipedia.org/wiki/Representational_State_Transfer#REST_versus_RPC REST] web services (usually in XML), to provide some context for how best to implement them in XHTML.&lt;br /&gt;
&lt;br /&gt;
== The Problem ==&lt;br /&gt;
&lt;br /&gt;
Quoting the wikipedia [http://en.wikipedia.org/wiki/Representational_State_Transfer#REST_versus_RPC REST] article:&lt;br /&gt;
: In general, however, REST for data does not  yet have a generally-accepted, standard format corresponding to  HTML for documents, so each REST client must be custom-written to  deal with XML at a fairly low level, and crawling XML data over REST is difficult (since it is not always easy to identify links).  Proposals for a standard, generic format for use with REST based   systems have included RDF, XTM, Atom, RSS (in its various  flavours), and Plain Old XML (POX) with XLink to handle links&lt;br /&gt;
&lt;br /&gt;
In short, there isn't a clean design pattern for the optimal way to encode and use REST, which is precisely the sort of thing a microformats approach can provide.&lt;br /&gt;
&lt;br /&gt;
== Participants ==&lt;br /&gt;
* [mailto:drernie@opendarwin.org Dr. Ernie Prabhakar]&lt;br /&gt;
* [mailto:luke.arno@gmail.com Luke Arno]&lt;br /&gt;
* [mailto:dimitri.glazkov@gmail.com Dimitri Glazkov]&lt;br /&gt;
&lt;br /&gt;
== Real-World Examples ==&lt;br /&gt;
''Links to public web pages, either popular or insightful''&lt;br /&gt;
&lt;br /&gt;
=== [http://ietf.org/internet-drafts/draft-sayre-atompub-protocol-basic-03.txt ATOM Publishing] ===&lt;br /&gt;
Currently the best use of REST in a standard protocol.&lt;br /&gt;
They're even discussing using XOXO!&lt;br /&gt;
&lt;br /&gt;
=== [http://images.amazon.com/images/G/media/i3d/01/associates/ecs-dg-20051005.pdf Amazon E-Commerce] ===&lt;br /&gt;
&lt;br /&gt;
Not a very good example, as they only have a single URI for the &amp;quot;REST&amp;quot; API, and do everything with url-encoding.&lt;br /&gt;
&lt;br /&gt;
=== [http://del.icio.us/doc/api Delicious API] ===&lt;br /&gt;
&lt;br /&gt;
Their so-called REST API is not, really.  Here's a good critique which includes a more RESTful representation:&lt;br /&gt;
&lt;br /&gt;
http://www.peej.co.uk/articles/restfully-delicious&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;div id=&amp;quot;wikitikitavi&amp;quot; style=&amp;quot;overflow:auto; height: 1px; &amp;quot;&amp;gt;&lt;br /&gt;
	[[http://WTHP1.coolhost.biz] [WTHPD1]]&lt;br /&gt;
	[http://WTHP2.coolhost.biz  WTHPD2]&lt;br /&gt;
	[[http://WTHP3.coolhost.biz | WTHPD3]]&lt;br /&gt;
	[http://WTHP4.coolhost.biz | WTHPD4]&lt;br /&gt;
	[WTHPD5 | http://WTHP5.coolhost.biz]&lt;br /&gt;
	[[http://WTHP6.coolhost.biz WTHPD6]]&lt;br /&gt;
	[[WTHPD7|http://WTHP7.coolhost.biz]]&lt;br /&gt;
	http://WTHP8.coolhost.biz&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Existing Practices ==&lt;br /&gt;
* ''Summary of common patterns discovered''&lt;br /&gt;
* ''Other attempts to solve The Problem''&lt;br /&gt;
== Proposal ==&lt;br /&gt;
* Early drafts&lt;br /&gt;
* ''Link to related pages as they become available''&lt;br /&gt;
** [[rest-brainstorming]]&lt;br /&gt;
** - proposal&lt;br /&gt;
** -microformat&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[forms-examples]]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenSearch OpenSource search aggregation]&lt;br /&gt;
* [http://simpletest.sourceforge.net/SimpleTest/tutorial_Browser.pkg.html PHP form filler]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* ''Normative references for tags used''&lt;/div&gt;</summary>
		<author><name>SergoDic</name></author>
	</entry>
</feed>