source: spip-zone/_plugins_/socialtags/socialtags_fonctions.php @ 28930

Last change on this file since 28930 was 26863, checked in by fil@…, 12 years ago

une version pur javascript, compatibilite ascendante (plus ou moins) assuree

File size: 542 bytes
Line 
1<?php
2 
3//
4// ajout feuille de stylle
5//
6function socialtags_insert_head($flux){
7  $flux .= '<link rel="stylesheet" type="text/css" href="'.find_in_path('socialtags.css').'" media="all" />';
8
9  $jsFile = generer_url_public('socialtags.js');
10  $flux .= "<script src='$jsFile' type='text/javascript'></script>";
11
12  return $flux;
13}
14
15
16// La liste est stockee en format RSS
17function socialtags_liste() {
18        include_spip('inc/syndic');
19        lire_fichier(find_in_path('socialtags.xml'), $rss);
20        return analyser_backend($rss);
21}
22
23?>
Note: See TracBrowser for help on using the repository browser.