Changeset 2336
- Timestamp:
- 06/09/10 01:53:13 (13 years ago)
- Location:
- plugins/zoneclearFeedServer
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/zoneclearFeedServer/_define.php
r2263 r2336 17 17 /* Description*/ "Mix your blog with a feeds planet", 18 18 /* Author */ "JC Denis, BG", 19 /* Version */ '0. 7.2',19 /* Version */ '0.8', 20 20 /* Permissions */ 'admin' 21 21 ); 22 /* date */ #20100 52522 /* date */ #20100608 23 23 ?> -
plugins/zoneclearFeedServer/_install.php
r2263 r2336 20 20 try { 21 21 # Check DC version (dev on) 22 if ( !version_compare(DC_VERSION,'2.1.6','>='))22 if (version_compare(DC_VERSION,'2.1.6','<')) 23 23 { 24 24 throw new Exception('Plugin called zoneclearFeedServer requires Dotclear 2.1.6 or higher.'); 25 } 26 if (version_compare(DC_VERSION,'2.2-alpha','>=')) 27 { 28 throw new Exception('Plugin called zoneclearFeedServer requires Dotclear up to 2.2.'); 25 29 } 26 30 if (!$core->plugins->moduleExists('metadata')) … … 93 97 ->feed_feed ('varchar',255,false) 94 98 ->feed_tags ('varchar',255,true) 99 ->feed_get_tags ('smallint',0,false,1) 95 100 ->feed_owner ('varchar',255,false) 101 ->feed_tweeter ('varchar',64,false) // tweeter ident 96 102 ->feed_lang ('varchar',5,true) 97 103 ->feed_nb_out ('integer',0,false,0) -
plugins/zoneclearFeedServer/_prepend.php
r2204 r2336 21 21 $core->url->register('zoneclearFeedsPage','zcfeeds','^zcfeeds(.*?)$',array('zoneclearFeedServerURL','zcFeedsPage')); 22 22 23 # Add personal Twitter class 24 $__autoload['zcfsLibDcTwitter'] = dirname(__FILE__).'/inc/lib.dc.twitter.php'; 25 //$__autoload['zcfsLibDcTwitterSender'] = dirname(__FILE__).'/inc/lib.dc.twitter.php'; 26 23 27 # Add to report on plugin activityReport 24 28 if (defined('ACTIVITY_REPORT')) { -
plugins/zoneclearFeedServer/inc/class.zoneclear.feed.server.php
r2263 r2336 34 34 35 35 public static function settings($core,$namespace='zoneclearFeedServer') { 36 if (!version_compare(DC_VERSION,'2.1.7','<=')) { 36 if (version_compare(DC_VERSION,'2.2-alpha','<')) { 37 $core->blog->settings->setNamespace($namespace); 38 $s =& $core->blog->settings; 39 } else { 37 40 $core->blog->settings->addNamespace($namespace); 38 41 $s =& $core->blog->settings->{$namespace}; 39 } else {40 $core->blog->settings->setNamespace($namespace);41 $s =& $core->blog->settings;42 42 } 43 43 return $s; … … 203 203 $content_req. 204 204 'LOWER(Z.feed_name) as lowername, Z.feed_name, Z.feed_desc, '. 205 'Z.feed_url, Z.feed_feed, '.206 'Z.feed_tags, Z.feed_owner, Z.feed_ lang, '.205 'Z.feed_url, Z.feed_feed, Z.feed_get_tags, '. 206 'Z.feed_tags, Z.feed_owner, Z.feed_tweeter, Z.feed_lang, '. 207 207 'Z.feed_nb_out, Z.feed_nb_in, '. 208 208 'C.cat_title, C.cat_url, C.cat_desc '; … … 276 276 public function lockUpdate() 277 277 { 278 # Cache writable ? 279 if (!is_writable(DC_TPL_CACHE)) { 280 return false; 281 } 282 # Set file path 283 $f_md5 = md5($this->blog); 284 $cached_file = sprintf('%s/%s/%s/%s/%s.txt', 285 DC_TPL_CACHE, 286 'zcfs', 287 substr($f_md5,0,2), 288 substr($f_md5,2,2), 289 $f_md5 290 ); 291 # Make dir 292 if (!is_dir(dirname($cached_file))) { 293 try { 294 files::makeDir(dirname($cached_file),true); 295 } catch (Exception $e) { 296 return false; 297 } 298 } 299 # Make file 300 if (!file_exists($cached_file)) { 301 if (!@file_put_contents($cached_file,'')) { 302 return false; 303 } 304 } 305 # Open file 306 if (!($fp = @fopen($cached_file, 'wb'))) { 307 return false; 308 } 309 # Lock file 310 if (flock($fp,LOCK_EX)) { 278 try 279 { 280 # Need flock function 281 if (!function_exists('flock')) { 282 throw New Exception("Can't call php function named flock"); 283 } 284 # Cache writable ? 285 if (!is_writable(DC_TPL_CACHE)) { 286 throw new Exception("Can't write in cache fodler"); 287 } 288 # Set file path 289 $f_md5 = md5($this->blog); 290 $cached_file = sprintf('%s/%s/%s/%s/%s.txt', 291 DC_TPL_CACHE, 292 'periodical', 293 substr($f_md5,0,2), 294 substr($f_md5,2,2), 295 $f_md5 296 ); 297 # Real path 298 $cached_file = path::real($cached_file,false); 299 # Make dir 300 if (!is_dir(dirname($cached_file))) { 301 files::makeDir(dirname($cached_file),true); 302 } 303 # Make file 304 if (!file_exists($cached_file)) { 305 !$fp = @fopen($cached_file, 'w'); 306 if ($fp === false) { 307 throw New Exception("Can't create file"); 308 } 309 fwrite($fp,'1',strlen('1')); 310 fclose($fp); 311 } 312 # Open file 313 if (!($fp = @fopen($cached_file, 'r+'))) { 314 throw New Exception("Can't open file"); 315 } 316 # Lock file 317 if (!flock($fp,LOCK_EX)) { 318 throw New Exception("Can't lock file"); 319 } 311 320 $this->lock = $fp; 312 321 return true; 313 322 } 323 catch (Exception $e) 324 { 325 throw $e; 326 } 314 327 return false; 315 328 } … … 325 338 { 326 339 # Limit to one update at a time 327 if (!$this->lockUpdate()) { 340 try 341 { 342 $this->lockUpdate(); 343 } 344 catch (Exception $e) 345 { 328 346 return false; 329 347 } … … 345 363 $this->enableUser($s->zoneclearFeedServer_user); 346 364 365 $twitter_msg = zcfsLibDcTwitter::getMessage("zoneclearFeedServer"); 347 366 $meta = new dcMeta($this->core); 348 367 $updates = false; … … 388 407 $item_TS = $item->TS ? $item->TS : $time; 389 408 $item_link = $this->con->escape($item->link); 409 $do_tweet = false; 390 410 391 411 # Not updated since last visit … … 398 418 # Check if entry exists 399 419 $old_post = $this->con->select( 400 'SELECT P.post_id '.420 'SELECT P.post_id, P.post_status '. 401 421 'FROM '.$this->core->prefix.'post P '. 402 422 'INNER JOIN '.$this->core->prefix.'meta M '. … … 429 449 430 450 $post_id = $this->core->auth->sudo(array($this->core->blog,'addPost'),$cur_post); 451 452 # Auto tweet new post 453 if ($cur_post->post_status == 1) 454 { 455 $do_tweet = true; 456 } 431 457 } 432 458 # Update entry … … 435 461 $post_id = $old_post->post_id; 436 462 $this->core->auth->sudo(array($this->core->blog,'updPost'),$post_id,$cur_post); 437 463 464 # Auto tweet updated post 465 if ($old_post->post_status == 1) 466 { 467 //$do_tweet = true; 468 } 469 438 470 # Quick delete old meta 439 471 $this->con->execute( … … 479 511 # Add new tags 480 512 $tags = $meta->splitMetaValues($f->feed_tags); 481 $tags = array_merge($tags,$item->subject); 482 $tags = array_unique($tags); 513 if ($f->feed_get_tags) 514 { 515 $tags = array_merge($tags,$item->subject); 516 $tags = array_unique($tags); 517 } 483 518 foreach ($tags as $tag) 484 519 { 485 520 $this->core->auth->sudo(array($meta,'setPostMeta'),$post_id,'tag',dcMeta::sanitizeMetaID($tag)); 521 } 522 523 # Auto tweet post 524 if ($do_tweet) 525 { 526 $shortposturl = zcfsLibDcTwitterSender::shorten($item->link); 527 $shortposturl = $shortposturl ? $shortposturl : $item->link; 528 $shortsiteurl = zcfsLibDcTwitterSender::shorten($f->feed_url); 529 $shortsiteurl = $shortsiteurl ? $shortsiteurl : $f->feed_url; 530 531 $twitter_msg = str_replace( 532 array('%posttitle%','%postlink%','%postauthor%','%posttweeter%','%sitetitle%','%sitelink%'), 533 array($cur_post->post_title,$shortposturl,$creator,$f->feed_tweeter,$f->feed_name,$shortsiteurl), 534 $twitter_msg 535 ); 536 if (!empty($twitter_msg)) { 537 zcfsLibDcTwitter::sendMessage("zoneclearFeedServer",$twitter_msg); 538 } 486 539 } 487 540 } … … 545 598 { 546 599 if ( 547 (function_exists('filter_var') && !filter_var($url, FILTER_VALIDATE_URL))548 || false !== strpos($url,'localhost')600 /*(function_exists('filter_var') && !filter_var($url, FILTER_VALIDATE_URL)) // pff http://my-url.com is not valid! 601 || */false !== strpos($url,'localhost') 549 602 || false === strpos($url,'http://') 550 603 || false !== strpos($url,'http://192.') -
plugins/zoneclearFeedServer/inc/index.feed.php
r2204 r2336 133 133 $feed_desc = ''; 134 134 $feed_owner = ''; 135 $feed_tweeter = ''; 135 136 $feed_url = ''; 136 137 $feed_feed = ''; 137 138 $feed_lang = $core->auth->getInfo('user_lang'); 138 139 $feed_tags = ''; 140 $feed_get_tags = '0'; 139 141 $feed_cat_id = ''; 140 142 $feed_status = '0'; … … 180 182 $feed_desc = $feed->feed_desc; 181 183 $feed_owner = $feed->feed_owner; 184 $feed_tweeter = $feed->feed_tweeter; 182 185 $feed_url = $feed->feed_url; 183 186 $feed_feed = $feed->feed_feed; 184 187 $feed_lang = $feed->feed_lang; 185 188 $feed_tags = $feed->feed_tags; 189 $feed_get_tags = $feed->feed_get_tags; 186 190 $feed_cat_id = $feed->cat_id; 187 191 $feed_status = $feed->feed_status; … … 221 225 $feed_desc = $_POST['feed_desc']; 222 226 $feed_owner = $_POST['feed_owner']; 227 $feed_tweeter = $_POST['feed_tweeter']; 223 228 $feed_url = $_POST['feed_url']; 224 229 $feed_feed = $_POST['feed_feed']; 225 230 $feed_lang = $_POST['feed_lang']; 226 231 $feed_tags = $_POST['feed_tags']; 232 $feed_get_tags = empty($_POST['feed_get_tags']) ? 0 : 1; 227 233 $feed_cat_id = $_POST['feed_cat_id']; 228 234 if (isset($_POST['feed_status'])) { … … 273 279 $cur->feed_desc = $feed_desc; 274 280 $cur->feed_owner = $feed_owner; 281 $cur->feed_tweeter = $feed_tweeter; 275 282 $cur->feed_url = $feed_url; 276 283 $cur->feed_feed = $feed_feed; 277 284 $cur->feed_lang = $feed_lang; 278 285 $cur->feed_tags = $feed_tags; 286 $cur->feed_get_tags = (integer) $feed_get_tags; 279 287 $cur->cat_id = $feed_cat_id != '' ? (integer) $feed_cat_id : null; 280 288 $cur->feed_status = (integer) $feed_status; … … 600 608 form::combo(array('feed_lang'),$combo_langs,$feed_lang,'maximal',5). 601 609 '</label></p>'. 610 '<p><label class="classic">'. 611 form::checkbox(array('feed_get_tags'),'1',$feed_get_tags,'',3).' '. 612 __('Import tags from feed').'</label></p>'. 602 613 '</div>'. 603 614 '<div id="entry-content"><fieldset class="constrained">'. … … 608 619 '<p><label class="required">'.__('Owner:'). 609 620 form::field(array('feed_owner'),60,255,$feed_owner,'maximal',2). 621 '</label></p>'. 622 '<p><label>'.__('Tweeter or Identica ident:'). 623 form::field(array('feed_tweeter'),60,64,$feed_tweeter,'maximal',2). 610 624 '</label></p>'. 611 625 '<p><label class="required">'.__('Site URL:'). … … 645 659 646 660 echo 647 '<form action="'.$p_url.'&part=feed &tab=entries&feed_id='.$feed_id.'" method="get" id="filters-form">'.661 '<form action="'.$p_url.'&part=feed" method="get" id="filters-form">'. 648 662 '<fieldset><legend>'.__('Filters').'</legend>'. 649 663 '<div class="three-cols">'. … … 673 687 '<p><label class="classic">'. form::field('nb',3,3,$nb_per_page).' '. 674 688 __('Entries per page').'</label> '. 675 '<input type="submit" value="'.__('filter').'" /></p>'. 689 '<input type="submit" value="'.__('filter').'" />'. 690 form::hidden(array('p'),'zoneclearFeedServer'). 691 form::hidden(array('part'),'feed'). 692 form::hidden(array('tab'),'entries'). 693 form::hidden(array('feed_id'),$feed_id).'</p>'. 676 694 '</div>'. 677 695 '</div>'. -
plugins/zoneclearFeedServer/inc/index.setting.php
r2204 r2336 41 41 $s->put('zoneclearFeedServer_user',(string) $_POST['feeduser']); 42 42 43 # special auto tweet 44 zcfsLibDcTwitter::adminAction("zoneclearFeedServer"); 45 43 46 $core->blog->triggerBlog(); 44 47 … … 116 119 </fieldset> 117 120 121 <fieldset id="setting-twitter"><legend>'.__('Twitter').'</legend> 122 <div class="two-cols"><div class="col">'; 123 # Special auto tweet 124 zcfsLibDcTwitter::adminForm("zoneclearFeedServer"); 125 echo ' 126 </div><div class="col"> 127 <ul> 128 <li>'.__('Send automatically message to tweeter on new post only if status of new post is "pusblished".').'</li> 129 <li>'.__('Leave empty "ident" to not use this feature.').'</li> 130 <li>'.__('For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%').'</li> 131 </ul> 132 </div></div> 133 </fieldset> 134 118 135 <fieldset id="setting-display"><legend>'. __('Display').'</legend> 119 136 <div class="two-cols"><div class="col"> -
plugins/zoneclearFeedServer/locales/fr/main.lang.php
r2204 r2336 1 1 <?php 2 2 // Language: français 3 // Module: zoneclearFeedServer - 0. 74 // Date: 2010-0 4-22 19:08:393 // Module: zoneclearFeedServer - 0.8.0.1 4 // Date: 2010-06-08 23:39:55 5 5 // Translated with dcTranslater - 1.3 6 6 7 7 #_admin.php:20 8 #inc/index.feed.php:5 548 #inc/index.feed.php:562 9 9 #inc/index.feeds.php:369 10 #inc/index.setting.php: 6810 #inc/index.setting.php:71 11 11 #index.php:35 12 12 $GLOBALS['__l10n']['Feeds server'] = 'Serveur de flux'; … … 98 98 $GLOBALS['__l10n']['List of feeds'] = 'Liste des flux'; 99 99 100 #inc/class.zoneclear.feed.server.php: 581100 #inc/class.zoneclear.feed.server.php:634 101 101 $GLOBALS['__l10n']['disabled'] = 'désactivé'; 102 102 103 #inc/class.zoneclear.feed.server.php: 582103 #inc/class.zoneclear.feed.server.php:635 104 104 $GLOBALS['__l10n']['enabled'] = 'activé'; 105 105 106 #inc/class.zoneclear.feed.server.php: 589106 #inc/class.zoneclear.feed.server.php:642 107 107 $GLOBALS['__l10n']['every hour'] = 'toutes les heures'; 108 108 109 #inc/class.zoneclear.feed.server.php: 590109 #inc/class.zoneclear.feed.server.php:643 110 110 $GLOBALS['__l10n']['every two hours'] = 'toutes les deux heures'; 111 111 112 #inc/class.zoneclear.feed.server.php: 591112 #inc/class.zoneclear.feed.server.php:644 113 113 $GLOBALS['__l10n']['two times per day'] = 'deux fois par jour'; 114 114 115 #inc/class.zoneclear.feed.server.php: 592115 #inc/class.zoneclear.feed.server.php:645 116 116 $GLOBALS['__l10n']['every day'] = 'tous les jours'; 117 117 118 #inc/class.zoneclear.feed.server.php: 593118 #inc/class.zoneclear.feed.server.php:646 119 119 $GLOBALS['__l10n']['every two days'] = 'tous les deux jours'; 120 120 121 #inc/class.zoneclear.feed.server.php: 594121 #inc/class.zoneclear.feed.server.php:647 122 122 $GLOBALS['__l10n']['every week'] = 'toutes les semaines'; 123 123 124 #inc/class.zoneclear.feed.server.php: 649124 #inc/class.zoneclear.feed.server.php:702 125 125 $GLOBALS['__l10n']['home page'] = 'la page d\'accueil'; 126 126 127 #inc/class.zoneclear.feed.server.php: 650127 #inc/class.zoneclear.feed.server.php:703 128 128 $GLOBALS['__l10n']['post pages'] = 'la page d\'un billet'; 129 129 130 #inc/class.zoneclear.feed.server.php: 651130 #inc/class.zoneclear.feed.server.php:704 131 131 $GLOBALS['__l10n']['tags pages'] = 'les pages des tags'; 132 132 133 #inc/class.zoneclear.feed.server.php: 652133 #inc/class.zoneclear.feed.server.php:705 134 134 $GLOBALS['__l10n']['archives pages'] = 'les pages des archives'; 135 135 136 #inc/class.zoneclear.feed.server.php: 653136 #inc/class.zoneclear.feed.server.php:706 137 137 $GLOBALS['__l10n']['category pages'] = 'les pages de catégorie'; 138 138 139 #inc/class.zoneclear.feed.server.php: 654139 #inc/class.zoneclear.feed.server.php:707 140 140 $GLOBALS['__l10n']['entries feed'] = 'le flux des billets'; 141 141 142 #inc/index.feed.php:17 3142 #inc/index.feed.php:175 143 143 $GLOBALS['__l10n']['This feed does not exist.'] = 'Ce flux n\'existe pas.'; 144 144 145 #inc/index.feed.php:20 3145 #inc/index.feed.php:207 146 146 $GLOBALS['__l10n']['next feed'] = 'flux suivant'; 147 147 148 #inc/index.feed.php:21 0148 #inc/index.feed.php:214 149 149 $GLOBALS['__l10n']['previous feed'] = 'flux précédent'; 150 150 151 #inc/index.feed.php:2 39151 #inc/index.feed.php:245 152 152 $GLOBALS['__l10n']['Record with same feed URL already exists.'] = 'Un enregistrement avec la même URL de flux existe déjà.'; 153 153 154 #inc/index.feed.php:24 3154 #inc/index.feed.php:249 155 155 $GLOBALS['__l10n']['You must provide a name.'] = 'Vous devez indiquer un nom.'; 156 156 157 #inc/index.feed.php:2 47157 #inc/index.feed.php:253 158 158 $GLOBALS['__l10n']['You must provide an owner.'] = 'Vous devez indiquer un propriétaire.'; 159 159 160 #inc/index.feed.php:25 1160 #inc/index.feed.php:257 161 161 $GLOBALS['__l10n']['You must provide valid site URL.'] = 'Vous devez donner une URL de site valide.'; 162 162 163 #inc/index.feed.php:2 55163 #inc/index.feed.php:261 164 164 $GLOBALS['__l10n']['You must provide valid feed URL.'] = 'Vous devez donner une URL de flux valide.'; 165 165 166 #inc/index.feed.php:26 0166 #inc/index.feed.php:266 167 167 $GLOBALS['__l10n']['You must provide valid category.'] = 'Vous devez donner une catégorie valide.'; 168 168 169 #inc/index.feed.php:56 0169 #inc/index.feed.php:568 170 170 #inc/index.feeds.php:374 171 #inc/index.setting.php: 77171 #inc/index.setting.php:80 172 172 $GLOBALS['__l10n']['Feeds'] = 'Fils de syndication'; 173 173 174 #inc/index.feed.php:5 63174 #inc/index.feed.php:571 175 175 $GLOBALS['__l10n']['Edit feed'] = 'Edition de flux'; 176 176 177 #inc/index.feed.php:5 64178 #inc/index.feed.php:5 67177 #inc/index.feed.php:572 178 #inc/index.feed.php:575 179 179 #inc/index.feeds.php:375 180 #inc/index.setting.php: 79180 #inc/index.setting.php:82 181 181 $GLOBALS['__l10n']['New feed'] = 'Nouveau flux'; 182 182 183 #inc/index.feed.php:5 86183 #inc/index.feed.php:594 184 184 #inc/index.feeds.php:34 185 185 $GLOBALS['__l10n']['Feed'] = 'Flux'; 186 186 187 #inc/index.feed.php:5 89187 #inc/index.feed.php:597 188 188 $GLOBALS['__l10n']['Local settings'] = 'Paramètres locaux'; 189 189 190 #inc/index.feed.php: 596190 #inc/index.feed.php:604 191 191 $GLOBALS['__l10n']['Update:'] = 'Mise à jour :'; 192 192 193 #inc/index.feed.php:604 193 #inc/index.feed.php:612 194 $GLOBALS['__l10n']['Import tags from feed'] = 'Importer les tags depuis le flux'; 195 196 #inc/index.feed.php:615 194 197 $GLOBALS['__l10n']['Feed information'] = 'Information sur le flux'; 195 198 196 #inc/index.feed.php:6 08199 #inc/index.feed.php:619 197 200 $GLOBALS['__l10n']['Owner:'] = 'Propriétaire :'; 198 201 199 #inc/index.feed.php:611 202 #inc/index.feed.php:622 203 $GLOBALS['__l10n']['Tweeter or Identica ident:'] = 'Identifiant Twiiter ou Identi.ca :'; 204 205 #inc/index.feed.php:625 200 206 $GLOBALS['__l10n']['Site URL:'] = 'URL du site :'; 201 207 … … 261 267 $GLOBALS['__l10n']['Select a frequency:'] = 'Sélectionner une fréquence :'; 262 268 263 #inc/index.feeds.php:47 3269 #inc/index.feeds.php:477 264 270 $GLOBALS['__l10n']['Selected feeds action:'] = 'Action sur les flux sélectionnés :'; 265 271 266 #inc/index.setting.php:5 4272 #inc/index.setting.php:57 267 273 $GLOBALS['__l10n']['disable'] = 'désactiver'; 268 274 269 #inc/index.setting.php:5 5275 #inc/index.setting.php:58 270 276 $GLOBALS['__l10n']['before display'] = 'avant l\'affichage'; 271 277 272 #inc/index.setting.php:5 6278 #inc/index.setting.php:59 273 279 $GLOBALS['__l10n']['after display'] = 'après l\'affichage'; 274 280 275 #inc/index.setting.php: 57281 #inc/index.setting.php:60 276 282 $GLOBALS['__l10n']['through Ajax'] = 'A travers Ajax'; 277 283 278 #inc/index.setting.php: 78284 #inc/index.setting.php:81 279 285 #index.php:33 280 286 $GLOBALS['__l10n']['Settings'] = 'Paramètres'; 281 287 282 #inc/index.setting.php:8 3288 #inc/index.setting.php:86 283 289 $GLOBALS['__l10n']['Plugin activation'] = 'Activation de l\'extension'; 284 290 285 #inc/index.setting.php:8 6291 #inc/index.setting.php:89 286 292 $GLOBALS['__l10n']['Enable plugin'] = 'Activer l\'extension'; 287 293 288 #inc/index.setting.php: 89294 #inc/index.setting.php:92 289 295 $GLOBALS['__l10n']['General rules'] = 'Réglages'; 290 296 291 #inc/index.setting.php:9 2297 #inc/index.setting.php:95 292 298 $GLOBALS['__l10n']['Status of new posts:'] = 'Status des nouveaux billets :'; 293 299 294 #inc/index.setting.php:9 5300 #inc/index.setting.php:98 295 301 $GLOBALS['__l10n']['Owner of entries created by zoneclearFeedServer:'] = 'Propriétaire des billets créés par zoneclearFeedServer :'; 296 302 297 #inc/index.setting.php: 98303 #inc/index.setting.php:101 298 304 $GLOBALS['__l10n']['Update feeds on public side:'] = 'Mettre à jour les flux depuis la partie publique :'; 299 305 300 #inc/index.setting.php:10 1306 #inc/index.setting.php:104 301 307 $GLOBALS['__l10n']['Number of feeds to update at one time:'] = 'Nombre de flux à mettre à jour à la fois :'; 302 308 303 #inc/index.setting.php:10 5309 #inc/index.setting.php:108 304 310 $GLOBALS['__l10n']['Enable public page'] = 'Activer la page publique'; 305 311 306 #inc/index.setting.php:1 09312 #inc/index.setting.php:112 307 313 $GLOBALS['__l10n']['A writable cache folder is required to use this extension.'] = 'Un dossier de cache accessible en écriture est nécessaire pour utiliser cette extension.'; 308 314 309 #inc/index.setting.php:11 0315 #inc/index.setting.php:113 310 316 $GLOBALS['__l10n']['If you set a large number of feeds to update at one time, this may cause a timeout error. We recommand to keep it to one.'] = 'Si vous paramètrez un grand nombre de flux à mettre à jour, ceci peut causer une erreur de timeout. Il est recommandé de laisser cette valeur à 1.'; 311 317 312 #inc/index.setting.php:11 1318 #inc/index.setting.php:114 313 319 $GLOBALS['__l10n']['If you use cron script, you can disable public update.'] = 'Si vous utilisez un script cron, vous pouvez désactiver la mise à jour publique.'; 314 320 315 #inc/index.setting.php:11 2321 #inc/index.setting.php:115 316 322 $GLOBALS['__l10n']['If active, a public list of feeds are available at "%s".'] = 'Si activé, une page publique de la liste des flux est disponible à l\'adresse %s .'; 317 323 318 #inc/index.setting.php:11 3324 #inc/index.setting.php:116 319 325 $GLOBALS['__l10n']['In order to do update through Ajax, your theme must have behavior publicHeadContent.'] = 'Pour utiliser la mise à jour depuis Ajax, votre thème doit avoir le behavior publicheadContent.'; 320 326 321 #inc/index.setting.php:118 327 #inc/index.setting.php:128 328 $GLOBALS['__l10n']['Send automatically message to tweeter on new post only if status of new post is "pusblished".'] = 'Envoie automatiquement un message a twitter lors d\'jout de billet si le status des nouveaux billets est "publié".'; 329 330 #inc/index.setting.php:129 331 $GLOBALS['__l10n']['Leave empty "ident" to not use this feature.'] = 'Laisser vide votre identifiant pour ne pas envoyer de tweet.'; 332 333 #inc/index.setting.php:130 334 $GLOBALS['__l10n']['For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%'] = 'Pour le message utiliser les jokers: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%'; 335 336 #inc/index.setting.php:135 322 337 $GLOBALS['__l10n']['Display'] = 'Affichage'; 323 338 324 #inc/index.setting.php:1 21339 #inc/index.setting.php:138 325 340 $GLOBALS['__l10n']['Show full content on:'] = 'Afficher le contenu complet sur :'; 326 341 327 #inc/index.setting.php:1 32342 #inc/index.setting.php:149 328 343 $GLOBALS['__l10n']['Entries title'] = 'Titre des billets'; 329 344 330 #inc/index.setting.php:1 33345 #inc/index.setting.php:150 331 346 $GLOBALS['__l10n']['Redirect to original post on:'] = 'Rediriger vers le billet original sur :'; 347 348 #inc/lib.dc.twitter.php:171 349 $GLOBALS['__l10n']['Twitter account'] = 'Compte Twitter'; 350 351 #inc/lib.dc.twitter.php:172 352 #inc/lib.dc.twitter.php:180 353 $GLOBALS['__l10n']['Login:'] = 'Identifiant :'; 354 355 #inc/lib.dc.twitter.php:178 356 #inc/lib.dc.twitter.php:186 357 $GLOBALS['__l10n']['Type a password only to change old one.'] = 'Entrer un mot de passe uniquement pour changer l\'ancien.'; 358 359 #inc/lib.dc.twitter.php:179 360 $GLOBALS['__l10n']['Identi.ca account'] = 'Compte Identi.ca'; 361 362 #inc/lib.dc.twitter.php:187 363 $GLOBALS['__l10n']['Message'] = 'Message'; 364 365 #inc/lib.dc.twitter.php:298 366 $GLOBALS['__l10n']['User is not set.'] = 'L\'utilisateur est pas renseigné.'; 367 368 #inc/lib.dc.twitter.php:306 369 $GLOBALS['__l10n']['Nothing to send.'] = 'Il n\'y a rien à envoyer.'; 370 371 #inc/lib.dc.twitter.php:330 372 $GLOBALS['__l10n']['Failed to send message (%s)'] = 'Impossible d\'envoyer le message (%s)'; 373 374 #inc/lib.dc.twitter.php:390 375 $GLOBALS['__l10n']['Failed to get short url (%s)'] = 'Impossible de récupérer le lien court (%s)'; 376 377 #inc/lib.dc.twitter.php:396 378 $GLOBALS['__l10n']['Failed to get short url'] = 'Impossible de récupérer le lien court'; 332 379 333 380 #inc/lib.zoneclear.feed.server.activityreport.php:16 -
plugins/zoneclearFeedServer/locales/fr/main.po
r2204 r2336 1 1 # Language: français 2 # Module: zoneclearFeedServer - 0. 73 # Date: 2010-0 4-22 19:08:392 # Module: zoneclearFeedServer - 0.8.0.1 3 # Date: 2010-06-08 23:39:55 4 4 # Translated with translater 1.3 5 5 … … 7 7 msgstr "" 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 "Project-Id-Version: zoneclearFeedServer 0. 7\n"9 "Project-Id-Version: zoneclearFeedServer 0.8.0.1\n" 10 10 "POT-Creation-Date: \n" 11 "PO-Revision-Date: 2010-0 4-22T19:08:39+00:00\n"11 "PO-Revision-Date: 2010-06-08T23:39:55+00:00\n" 12 12 "Last-Translator: JC Denis\n" 13 13 "Language-Team: \n" … … 16 16 17 17 #: _admin.php:20 18 #: inc/index.feed.php:5 5418 #: inc/index.feed.php:562 19 19 #: inc/index.feeds.php:369 20 #: inc/index.setting.php: 6820 #: inc/index.setting.php:71 21 21 #: index.php:35 22 22 msgid "Feeds server" … … 137 137 msgstr "Liste des flux" 138 138 139 #: inc/class.zoneclear.feed.server.php: 581139 #: inc/class.zoneclear.feed.server.php:634 140 140 msgid "disabled" 141 141 msgstr "désactivé" 142 142 143 #: inc/class.zoneclear.feed.server.php: 582143 #: inc/class.zoneclear.feed.server.php:635 144 144 msgid "enabled" 145 145 msgstr "activé" 146 146 147 #: inc/class.zoneclear.feed.server.php: 589147 #: inc/class.zoneclear.feed.server.php:642 148 148 msgid "every hour" 149 149 msgstr "toutes les heures" 150 150 151 #: inc/class.zoneclear.feed.server.php: 590151 #: inc/class.zoneclear.feed.server.php:643 152 152 msgid "every two hours" 153 153 msgstr "toutes les deux heures" 154 154 155 #: inc/class.zoneclear.feed.server.php: 591155 #: inc/class.zoneclear.feed.server.php:644 156 156 msgid "two times per day" 157 157 msgstr "deux fois par jour" 158 158 159 #: inc/class.zoneclear.feed.server.php: 592159 #: inc/class.zoneclear.feed.server.php:645 160 160 msgid "every day" 161 161 msgstr "tous les jours" 162 162 163 #: inc/class.zoneclear.feed.server.php: 593163 #: inc/class.zoneclear.feed.server.php:646 164 164 msgid "every two days" 165 165 msgstr "tous les deux jours" 166 166 167 #: inc/class.zoneclear.feed.server.php: 594167 #: inc/class.zoneclear.feed.server.php:647 168 168 msgid "every week" 169 169 msgstr "toutes les semaines" 170 170 171 #: inc/class.zoneclear.feed.server.php: 649171 #: inc/class.zoneclear.feed.server.php:702 172 172 msgid "home page" 173 173 msgstr "la page d'accueil" 174 174 175 #: inc/class.zoneclear.feed.server.php: 650175 #: inc/class.zoneclear.feed.server.php:703 176 176 msgid "post pages" 177 177 msgstr "la page d'un billet" 178 178 179 #: inc/class.zoneclear.feed.server.php: 651179 #: inc/class.zoneclear.feed.server.php:704 180 180 msgid "tags pages" 181 181 msgstr "les pages des tags" 182 182 183 #: inc/class.zoneclear.feed.server.php: 652183 #: inc/class.zoneclear.feed.server.php:705 184 184 msgid "archives pages" 185 185 msgstr "les pages des archives" 186 186 187 #: inc/class.zoneclear.feed.server.php: 653187 #: inc/class.zoneclear.feed.server.php:706 188 188 msgid "category pages" 189 189 msgstr "les pages de catégorie" 190 190 191 #: inc/class.zoneclear.feed.server.php: 654191 #: inc/class.zoneclear.feed.server.php:707 192 192 msgid "entries feed" 193 193 msgstr "le flux des billets" 194 194 195 #: inc/index.feed.php:17 3195 #: inc/index.feed.php:175 196 196 msgid "This feed does not exist." 197 197 msgstr "Ce flux n'existe pas." 198 198 199 #: inc/index.feed.php:20 3199 #: inc/index.feed.php:207 200 200 msgid "next feed" 201 201 msgstr "flux suivant" 202 202 203 #: inc/index.feed.php:21 0203 #: inc/index.feed.php:214 204 204 msgid "previous feed" 205 205 msgstr "flux précédent" 206 206 207 #: inc/index.feed.php:2 39207 #: inc/index.feed.php:245 208 208 msgid "Record with same feed URL already exists." 209 209 msgstr "Un enregistrement avec la même URL de flux existe déjà." 210 210 211 #: inc/index.feed.php:24 3211 #: inc/index.feed.php:249 212 212 msgid "You must provide a name." 213 213 msgstr "Vous devez indiquer un nom." 214 214 215 #: inc/index.feed.php:2 47215 #: inc/index.feed.php:253 216 216 msgid "You must provide an owner." 217 217 msgstr "Vous devez indiquer un propriétaire." 218 218 219 #: inc/index.feed.php:25 1219 #: inc/index.feed.php:257 220 220 msgid "You must provide valid site URL." 221 221 msgstr "Vous devez donner une URL de site valide." 222 222 223 #: inc/index.feed.php:2 55223 #: inc/index.feed.php:261 224 224 msgid "You must provide valid feed URL." 225 225 msgstr "Vous devez donner une URL de flux valide." 226 226 227 #: inc/index.feed.php:26 0227 #: inc/index.feed.php:266 228 228 msgid "You must provide valid category." 229 229 msgstr "Vous devez donner une catégorie valide." 230 230 231 #: inc/index.feed.php:56 0231 #: inc/index.feed.php:568 232 232 #: inc/index.feeds.php:374 233 #: inc/index.setting.php: 77233 #: inc/index.setting.php:80 234 234 msgid "Feeds" 235 235 msgstr "Fils de syndication" 236 236 237 #: inc/index.feed.php:5 63237 #: inc/index.feed.php:571 238 238 msgid "Edit feed" 239 239 msgstr "Edition de flux" 240 240 241 #: inc/index.feed.php:5 64242 #: inc/index.feed.php:5 67241 #: inc/index.feed.php:572 242 #: inc/index.feed.php:575 243 243 #: inc/index.feeds.php:375 244 #: inc/index.setting.php: 79244 #: inc/index.setting.php:82 245 245 msgid "New feed" 246 246 msgstr "Nouveau flux" 247 247 248 #: inc/index.feed.php:5 86248 #: inc/index.feed.php:594 249 249 #: inc/index.feeds.php:34 250 250 msgid "Feed" 251 251 msgstr "Flux" 252 252 253 #: inc/index.feed.php:5 89253 #: inc/index.feed.php:597 254 254 msgid "Local settings" 255 255 msgstr "Paramètres locaux" 256 256 257 #: inc/index.feed.php: 596257 #: inc/index.feed.php:604 258 258 msgid "Update:" 259 259 msgstr "Mise à jour :" 260 260 261 #: inc/index.feed.php:604 261 #: inc/index.feed.php:612 262 msgid "Import tags from feed" 263 msgstr "Importer les tags depuis le flux" 264 265 #: inc/index.feed.php:615 262 266 msgid "Feed information" 263 267 msgstr "Information sur le flux" 264 268 265 #: inc/index.feed.php:6 08269 #: inc/index.feed.php:619 266 270 msgid "Owner:" 267 271 msgstr "Propriétaire :" 268 272 269 #: inc/index.feed.php:611 273 #: inc/index.feed.php:622 274 msgid "Tweeter or Identica ident:" 275 msgstr "Identifiant Twiiter ou Identi.ca :" 276 277 #: inc/index.feed.php:625 270 278 msgid "Site URL:" 271 279 msgstr "URL du site :" … … 352 360 msgstr "Sélectionner une fréquence :" 353 361 354 #: inc/index.feeds.php:47 3362 #: inc/index.feeds.php:477 355 363 msgid "Selected feeds action:" 356 364 msgstr "Action sur les flux sélectionnés :" 357 365 358 #: inc/index.setting.php:5 4366 #: inc/index.setting.php:57 359 367 msgid "disable" 360 368 msgstr "désactiver" 361 369 362 #: inc/index.setting.php:5 5370 #: inc/index.setting.php:58 363 371 msgid "before display" 364 372 msgstr "avant l'affichage" 365 373 366 #: inc/index.setting.php:5 6374 #: inc/index.setting.php:59 367 375 msgid "after display" 368 376 msgstr "après l'affichage" 369 377 370 #: inc/index.setting.php: 57378 #: inc/index.setting.php:60 371 379 msgid "through Ajax" 372 380 msgstr "A travers Ajax" 373 381 374 #: inc/index.setting.php: 78382 #: inc/index.setting.php:81 375 383 #: index.php:33 376 384 msgid "Settings" 377 385 msgstr "Paramètres" 378 386 379 #: inc/index.setting.php:8 3387 #: inc/index.setting.php:86 380 388 msgid "Plugin activation" 381 389 msgstr "Activation de l'extension" 382 390 383 #: inc/index.setting.php:8 6391 #: inc/index.setting.php:89 384 392 msgid "Enable plugin" 385 393 msgstr "Activer l'extension" 386 394 387 #: inc/index.setting.php: 89395 #: inc/index.setting.php:92 388 396 msgid "General rules" 389 397 msgstr "Réglages" 390 398 391 #: inc/index.setting.php:9 2399 #: inc/index.setting.php:95 392 400 msgid "Status of new posts:" 393 401 msgstr "Status des nouveaux billets :" 394 402 395 #: inc/index.setting.php:9 5403 #: inc/index.setting.php:98 396 404 msgid "Owner of entries created by zoneclearFeedServer:" 397 405 msgstr "Propriétaire des billets créés par zoneclearFeedServer :" 398 406 399 #: inc/index.setting.php: 98407 #: inc/index.setting.php:101 400 408 msgid "Update feeds on public side:" 401 409 msgstr "Mettre à jour les flux depuis la partie publique :" 402 410 403 #: inc/index.setting.php:10 1411 #: inc/index.setting.php:104 404 412 msgid "Number of feeds to update at one time:" 405 413 msgstr "Nombre de flux à mettre à jour à la fois :" 406 414 407 #: inc/index.setting.php:10 5415 #: inc/index.setting.php:108 408 416 msgid "Enable public page" 409 417 msgstr "Activer la page publique" 410 418 411 #: inc/index.setting.php:1 09419 #: inc/index.setting.php:112 412 420 msgid "A writable cache folder is required to use this extension." 413 421 msgstr "Un dossier de cache accessible en écriture est nécessaire pour utiliser cette extension." 414 422 415 #: inc/index.setting.php:11 0423 #: inc/index.setting.php:113 416 424 msgid "If you set a large number of feeds to update at one time, this may cause a timeout error. We recommand to keep it to one." 417 425 msgstr "Si vous paramètrez un grand nombre de flux à mettre à jour, ceci peut causer une erreur de timeout. Il est recommandé de laisser cette valeur à 1." 418 426 419 #: inc/index.setting.php:11 1427 #: inc/index.setting.php:114 420 428 msgid "If you use cron script, you can disable public update." 421 429 msgstr "Si vous utilisez un script cron, vous pouvez désactiver la mise à jour publique." 422 430 423 #: inc/index.setting.php:11 2431 #: inc/index.setting.php:115 424 432 msgid "If active, a public list of feeds are available at \"%s\"." 425 433 msgstr "Si activé, une page publique de la liste des flux est disponible à l'adresse %s ." 426 434 427 #: inc/index.setting.php:11 3435 #: inc/index.setting.php:116 428 436 msgid "In order to do update through Ajax, your theme must have behavior publicHeadContent." 429 437 msgstr "Pour utiliser la mise à jour depuis Ajax, votre thème doit avoir le behavior publicheadContent." 430 438 431 #: inc/index.setting.php:118 439 #: inc/index.setting.php:128 440 msgid "Send automatically message to tweeter on new post only if status of new post is \"pusblished\"." 441 msgstr "Envoie automatiquement un message a twitter lors d'jout de billet si le status des nouveaux billets est \"publié\"." 442 443 #: inc/index.setting.php:129 444 msgid "Leave empty \"ident\" to not use this feature." 445 msgstr "Laisser vide votre identifiant pour ne pas envoyer de tweet." 446 447 #: inc/index.setting.php:130 448 msgid "For message, use wildcard: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%" 449 msgstr "Pour le message utiliser les jokers: %posttitle%, %postlink%, %postauthor%, %posttweeter%, %sitetitle%, %sitelink%" 450 451 #: inc/index.setting.php:135 432 452 msgid "Display" 433 453 msgstr "Affichage" 434 454 435 #: inc/index.setting.php:1 21455 #: inc/index.setting.php:138 436 456 msgid "Show full content on:" 437 457 msgstr "Afficher le contenu complet sur :" 438 458 439 #: inc/index.setting.php:1 32459 #: inc/index.setting.php:149 440 460 msgid "Entries title" 441 461 msgstr "Titre des billets" 442 462 443 #: inc/index.setting.php:1 33463 #: inc/index.setting.php:150 444 464 msgid "Redirect to original post on:" 445 465 msgstr "Rediriger vers le billet original sur :" 466 467 #: inc/lib.dc.twitter.php:171 468 msgid "Twitter account" 469 msgstr "Compte Twitter" 470 471 #: inc/lib.dc.twitter.php:172 472 #: inc/lib.dc.twitter.php:180 473 msgid "Login:" 474 msgstr "Identifiant :" 475 476 #: inc/lib.dc.twitter.php:178 477 #: inc/lib.dc.twitter.php:186 478 msgid "Type a password only to change old one." 479 msgstr "Entrer un mot de passe uniquement pour changer l'ancien." 480 481 #: inc/lib.dc.twitter.php:179 482 msgid "Identi.ca account" 483 msgstr "Compte Identi.ca" 484 485 #: inc/lib.dc.twitter.php:187 486 msgid "Message" 487 msgstr "Message" 488 489 #: inc/lib.dc.twitter.php:298 490 msgid "User is not set." 491 msgstr "L'utilisateur est pas renseigné." 492 493 #: inc/lib.dc.twitter.php:306 494 msgid "Nothing to send." 495 msgstr "Il n'y a rien à envoyer." 496 497 #: inc/lib.dc.twitter.php:330 498 msgid "Failed to send message (%s)" 499 msgstr "Impossible d'envoyer le message (%s)" 500 501 #: inc/lib.dc.twitter.php:390 502 msgid "Failed to get short url (%s)" 503 msgstr "Impossible de récupérer le lien court (%s)" 504 505 #: inc/lib.dc.twitter.php:396 506 msgid "Failed to get short url" 507 msgstr "Impossible de récupérer le lien court" 446 508 447 509 #: inc/lib.zoneclear.feed.server.activityreport.php:16 -
plugins/zoneclearFeedServer/release.txt
r2212 r2336 1 1 x.x xxxxxxxx 2 2 * Not fixed disallow self blog feeds 3 4 0.8 20100608 5 * Added auto tweet new post 6 * Added option to import tags from feed (or not) 7 * Fixed filters on admin list (closes #466) 8 * Enhanced lockUpdate() function 9 10 0.7.2 20100525 11 * Fixed minor bugs 12 * Fixed DC 2.1.7 3 13 4 14 0.7.1 20100501
Note: See TracChangeset
for help on using the changeset viewer.