Re: cvs: peardoc /fr/package/webservices/services-delicious example.xml intro.xml

From: Date: Mon, 24 Apr 2006 17:37:35 +0000
Subject: Re: cvs: peardoc /fr/package/webservices/services-delicious example.xml intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7821@lists.php.net to get a copy of this message
gh -----Original Message----- From: "Christophe Gesché" <moosh@php.net> Sent: April 24, 2006 1:49 PM To: pear-doc@lists.php.net Subject: [PEAR-DOC] cvs: peardoc /fr/package/webservices/services-delicious example.xml intro.xml moosh Mon Apr 24 16:19:39 2006 UTC Added files: /peardoc/fr/package/webservices/services-delicious intro.xml example.xml Log: - services-delicious http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/webservices/services-delicious/intro.xml?view=markup&rev=1.1 Index: peardoc/fr/package/webservices/services-delicious/intro.xml +++ peardoc/fr/package/webservices/services-delicious/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: moosh Status: ready --> <refentry id="package.webservices.services-delicious.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose>Introduction &agrave; Services_Delicious</refpurpose> </refnamediv> <refsect1 id="package.webservices.services-delicious.intro.refsect1"> <title>Introduction &agrave; Services_Delicious</title> <para> Services_Delicious est une abstraction pour le webservice du site <ulink url="&url.delicious;">del.icio.us</ulink> qui permet un partage et classement social de ses favoris. del.icio.us permet de facilement ajouter des sites que vous aimez dans votre collection personnelle de liens, de les classer en cat&eacute;gories avec des mots-cl&eacute;, et de partager cette collection non seulement entre les clients web de votre ordinateur mais avec tous les autres. </para> <para> del.icio.us utlise des &quot;tags&quot; pour classer les signets et permets aux autres les d&eacute;couvrir par sujets. </para> <para> Services_Delicious vous permet d'acc&egrave;der, ajouter et m&ecirc;me effacer vos signets en utilisant la classe <classname>Services_Delicious</classname> qui fourni des m&eacute;thodes telles que <function>getAllPosts</function>, <function>addPost</function> ou <function>deletePost</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=webservices fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/peardoc/fr/package/webservices/services-delicious/example.xml?view=markup&rev=1.1 Index: peardoc/fr/package/webservices/services-delicious/example.xml +++ peardoc/fr/package/webservices/services-delicious/example.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: moosh Status: ready --> <refentry id="package.webservices.services-delicious.example"> <refnamediv> <refname>Exemple</refname> <refpurpose>Exemples simples pour Services_Delicious</refpurpose> </refnamediv> <refsect1 id="package.webservices.services-delicious.example.refsect1"> <title>Exemples simples pour Services_Delicious</title> <simpara> Les exemples suivantsmontrent comment utiliser les fonctionnalit&eacute;s de base de Services_Delicious: </simpara> <example> <title>R&eacute;cuperer les ajouts r&eacute;cents</title> <programlisting role="php"> <![CDATA[require_once 'Services/Delicious.php'; $dlc = &new Services_Delicious($username, $password); $mesSignets = $dlc->getRecentPosts(); echo '<pre>'; print_r($mesSignets); echo '</pre>'; ]]> </programlisting> </example> <example> <title>Getting all tags that you used in your bookmarks</title> <programlisting role="php"> <![CDATA[require_once 'Services/Delicious.php'; $dlc = &new Services_Delicious($username, $password); $mesTags = $dlc->getTags(); echo '<pre>'; print_r($mesTags); echo '</pre>'; ]]> </programlisting> </example> <example> <title>Ajouter un nouveau signet</title> <programlisting role="php"> <![CDATA[require_once 'Services/Delicious.php'; $dlc = &new Services_Delicious($username, $password); $resultat = $dlc->addPost('http://pear.php.net', 'PEAR', 'Le site de PEAR', 'php'); if (PEAR::isError($resultat)) { die($result->getMessage()); } else { echo 'Success'; } ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=webservices fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> -- PEAR Documentation List Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.doc (#7821) next »