1 | <?php |
---|
2 | # ***** BEGIN LICENSE BLOCK ***** |
---|
3 | # Widget SnapMe for DotClear. |
---|
4 | # Copyright (c) 2007 Ludovic Toinel, All rights |
---|
5 | # reserved. |
---|
6 | # |
---|
7 | # DotClear is free software; you can redistribute it and/or modify |
---|
8 | # it under the terms of the GNU General Public License as published by |
---|
9 | # the Free Software Foundation; either version 2 of the License, or |
---|
10 | # (at your option) any later version. |
---|
11 | # |
---|
12 | # DotClear is distributed in the hope that it will be useful, |
---|
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | # GNU General Public License for more details. |
---|
16 | # |
---|
17 | # You should have received a copy of the GNU General Public License |
---|
18 | # along with DotClear; if not, write to the Free Software |
---|
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
20 | # |
---|
21 | # ***** END LICENSE BLOCK ***** |
---|
22 | |
---|
23 | if (!defined('DC_CONTEXT_ADMIN')) { exit; } |
---|
24 | |
---|
25 | ?> |
---|
26 | |
---|
27 | <html> |
---|
28 | <head> |
---|
29 | <title>GoogleSpy</title> |
---|
30 | <?php echo dcPage::jsPageTabs(); ?> |
---|
31 | </head> |
---|
32 | |
---|
33 | <body> |
---|
34 | <h2>GoogleSpy</h2> |
---|
35 | |
---|
36 | <div class="multi-part" title="Installation"> |
---|
37 | |
---|
38 | <p>Après avoir installé ce plugin, éditez le fichier "post.html" de votre thème Dotclear2 et insérez le tag :</p> |
---|
39 | |
---|
40 | <code class="xml">{{tpl:googleSpyPurposePosts num_links="6" num_keywords="3" title="A lire : " description="ce que vous voulez"}}</code><br/><br/> |
---|
41 | |
---|
42 | <p>En dessous de :</p> |
---|
43 | |
---|
44 | <code class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;"><div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"post-content"</span><span style="font-weight: bold; color: black;">></span></span>{{tpl:EntryContent}}<span style="color: #009900;"><span style="font-weight: bold; color: black;"></div<span style="font-weight: bold; color: black;">></span></span></span></code><br/><br/> |
---|
45 | |
---|
46 | <p>Liste des paramètres : </p> |
---|
47 | |
---|
48 | <ul> |
---|
49 | <li><strong>num_links</strong> = Le nombre billets à rechercher dans la base.</li> |
---|
50 | <li><strong>num_keywords</strong> = Les 'n' premiers mots clefs google à utiliser dans la recherche d'article, plus ce chiffre est grand plus le temps d'affichage de la page peut devenir important.</li> |
---|
51 | |
---|
52 | <li><strong>title</strong> = Le titre à positionner au dessus de la liste de liens.</li> |
---|
53 | <li><strong>description</strong> = Le texte qui s'affichera en dessous du titre (title).</li> |
---|
54 | </ul> |
---|
55 | |
---|
56 | </div> |
---|
57 | |
---|
58 | <div class="multi-part" title="A propos"> |
---|
59 | <p> |
---|
60 | Plugin GoogleSpy v0.7 par Ludovic Toinel |
---|
61 | <br /><br /><a href="http://www.geeek.org/post/2007/09/02/Plugin-Dotclear2-%3A-GoogleSpy-v01">Site officiel</a> |
---|
62 | </p> |
---|
63 | </div> |
---|
64 | |
---|
65 | </body> |
---|
66 | </html> |
---|