<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.oxphp.com/docs/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.oxphp.com/docs/feed.php">
        <title>OXPHP oxml:addons</title>
        <description></description>
        <link>http://www.oxphp.com/docs/</link>
        <image rdf:resource="http://www.oxphp.com/docs/lib/images/favicon.ico" />
       <dc:date>2009-11-04T23:21:27+01:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/last_search?rev=1253631471&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/moteur_recherche?rev=1253631385&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/search_highlight?rev=1255079945&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/sitemap?rev=1256746214&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/tag_cloud?rev=1253696201&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/top_search?rev=1253198986&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/tri?rev=1253631365&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.oxphp.com/docs/oxml/addons/xml_perso?rev=1254843198&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.oxphp.com/docs/lib/images/favicon.ico">
        <title>OXPHP</title>
        <link>http://www.oxphp.com/docs/</link>
        <url>http://www.oxphp.com/docs/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/last_search?rev=1253631471&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-22T16:57:51+01:00</dc:date>
        <title>oxml:addons:last_search</title>
        <link>http://www.oxphp.com/docs/oxml/addons/last_search?rev=1253631471&amp;do=diff</link>
        <description>Vous devez placer le code suivant dans votre template, à l'endroit où vous souhaitez voir l'historique des dernieres recherches :



&lt;?php
$dsn2 = new DB();
$sql2 = &quot;SELECT DISTINCT `key` FROM `&quot;.DB_SEARCH.&quot;` ORDER by id DESC LIMIT 0,18&quot;;
$dsn2-&gt;query($sql2);
while ($result = $dsn2-&gt;next_record()) {
      $print_search .= &quot;&lt;a href='&quot; . perm_search($result['key']) . &quot;'&gt;&lt;font size=1&gt;&quot; . stripslashes($result['key']) . &quot;&lt;/font&gt;&lt;/a&gt; - &quot;;
} 
$print_search = substr($print_search, 0, -3);
echo $print_se…</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/moteur_recherche?rev=1253631385&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-22T16:56:25+01:00</dc:date>
        <title>oxml:addons:moteur_recherche</title>
        <link>http://www.oxphp.com/docs/oxml/addons/moteur_recherche?rev=1253631385&amp;do=diff</link>
        <description>Il vous suffit d'insérer le code HTML suivant dans votre template :



&lt;form action=&quot;&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;&quot; method=&quot;post&quot;&gt;
&lt;input name=&quot;search&quot; type=&quot;text&quot; id=&quot;search&quot; class=&quot;search&quot; value=&quot;&lt;?=$search?&gt;&quot; /&gt;&lt;br /&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Chercher !&quot; /&gt;
&lt;/form&gt;</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/search_highlight?rev=1255079945&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-09T11:19:05+01:00</dc:date>
        <title>oxml:addons:search_highlight</title>
        <link>http://www.oxphp.com/docs/oxml/addons/search_highlight?rev=1255079945&amp;do=diff</link>
        <description>Si vous souhaitez mettre en valeur le terme recherché dans les descriptions lors d'une recherche sur votre archive vidéos, une simple modification au niveau du template est nécessaire.

Dans le template “Vidéos” de votre site, vous devez remplacer le marqueur #desc# par :</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/sitemap?rev=1256746214&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-28T17:10:14+01:00</dc:date>
        <title>oxml:addons:sitemap</title>
        <link>http://www.oxphp.com/docs/oxml/addons/sitemap?rev=1256746214&amp;do=diff</link>
        <description>Un sitemap est un plan de votre site compréhensible par les robots d'indexation, rédigé sous forme d'un fichier XML qui répertorie les URL de votre site.
 La mise en place d'un sitemap permet d'améliorer l'indexation de votre site par les moteurs de recherche.</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/tag_cloud?rev=1253696201&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-23T10:56:41+01:00</dc:date>
        <title>oxml:addons:tag_cloud</title>
        <link>http://www.oxphp.com/docs/oxml/addons/tag_cloud?rev=1253696201&amp;do=diff</link>
        <description>Vous devez ensuite créer un nouveau fichier, au même niveau que oxml.php, que nous appellerons 'tag_cloud.php' dans notre exemple.

Voici son contenu :


&lt;style type=&quot;text/css&quot;&gt;
#tagcloud {
        background-color: #EAEAEA;
        width: 600px;
        border: 1px solid #BFBFBF;
        padding: 10px;
        text-align: center;
        margin-top: 2px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        font-family: Arial, Helvetica, sans-serif;
        …</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/top_search?rev=1253198986&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T16:49:46+01:00</dc:date>
        <title>oxml:addons:top_search</title>
        <link>http://www.oxphp.com/docs/oxml/addons/top_search?rev=1253198986&amp;do=diff</link>
        <description>Afficher le TOP des mots clés tapés




&lt;?php
$i = 0;
$dsn2 = new DB();
$sql2 = &quot;SELECT `key`, `n` FROM `&quot;.DB_SEARCH_TOP.&quot;` ORDER by n DESC LIMIT 0,100&quot;;
$dsn2-&gt;query($sql2);
while ($result = $dsn2-&gt;next_record()) {
	echo &quot;&lt;a href='&quot; . perm_search($result['key']) . &quot;'&gt;&quot; . stripslashes($result['key']) . &quot;&lt;/a&gt; (&quot; . $result['n'] . &quot;)&lt;br /&gt;&quot;;
	$i++;
}
?&gt;</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/tri?rev=1253631365&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-22T16:56:05+01:00</dc:date>
        <title>oxml:addons:tri</title>
        <link>http://www.oxphp.com/docs/oxml/addons/tri?rev=1253631365&amp;do=diff</link>
        <description>Il vous suffit d'insérer le code HTML suivant dans votre template :



&lt;form action=&quot;&quot;&gt;
Afficher &lt;select name=&quot;v&quot; onchange=&quot;window.location.replace('x.php?v=' + this.form.v.value + '&amp;amp;cat=&lt;?php echo $cat; ?&gt;');&quot;&gt;
&lt;option value=&quot;5&quot;&lt;? if($v == '5'){ echo ' selected=&quot;selected&quot;'; } ?&gt;&gt;5&lt;/option&gt;
&lt;option value=&quot;8&quot;&lt;? if($v == '8'){ echo ' selected=&quot;selected&quot;'; } ?&gt;&gt;8&lt;/option&gt;
&lt;option value=&quot;10&quot;&lt;? if($v == '10'){ echo ' selected=&quot;selected&quot;'; } ?&gt;&gt;10&lt;/option&gt;
&lt;option value=&quot;12&quot;&lt;? if($v == '12'){ echo…</description>
    </item>
    <item rdf:about="http://www.oxphp.com/docs/oxml/addons/xml_perso?rev=1254843198&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-06T17:33:18+01:00</dc:date>
        <title>oxml:addons:xml_perso</title>
        <link>http://www.oxphp.com/docs/oxml/addons/xml_perso?rev=1254843198&amp;do=diff</link>
        <description>&lt;?php

require_once('data/function.inc.php');
require_once('data/config.inc.php');
require_once('data/class/mysql.php');

define('NB_ITEMS', 500);

$dsn = new DB();

$sql = &quot;SELECT * FROM `&quot;.DB_CONFIG.&quot;`&quot;;
$dsn-&gt;query($sql);
$config = $dsn-&gt;next_record();

$sponsor_sql = get_sponsors_list();
$liste_cat_sql = get_cats_list();

/* LISTE DES REMPLACEMENTS */
$sql = &quot;SELECT * FROM `&quot;.DB_SEARCH_REPLACE.&quot;` WHERE `active` = '1'&quot;;
$dsn-&gt;query($sql);

while ($result = $dsn-&gt;next_record()) {
    $search[]…</description>
    </item>
</rdf:RDF>
