Changeset 16940 for extensions


Ignore:
Timestamp:
Jul 23, 2012, 7:09:43 PM (12 years ago)
Author:
rvelices
Message:

updated sitemap version

Location:
extensions/rv_sitemap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_sitemap/main.inc.php

    r16005 r16940  
    11<?php /*
    22Plugin Name: RV sitemap
    3 Version: 2.4.a
     3Version: 2.4.b
    44Description: Creates a sitemap for your gallery. Sitemaps are used to inform search engines about pages that are available for crawling.
    55Plugin URI: http://piwigo.org/ext/extension_view.php?eid=78
  • extensions/rv_sitemap/sitemap.php

    r16301 r16940  
    6565  if ( isset($images_xml) )
    6666    $xml .= "\n".$images_xml;
    67  
     67
    6868  $xml .= '
    6969</url>';
     
    101101    'never',
    102102  );
    103  
     103
    104104$specials = array(
    105105  'categories' => array('L'=>l10n('Home'), 'P'=>0.9),
     
    164164
    165165  $photo_count = intval($_POST['photo_count']);
    166  
     166
    167167  set_make_full_url();
    168168
     
    225225    }
    226226  }
    227  
     227
    228228  if ($photo_count > 0)
    229229  {
    230230    $query = 'SELECT DISTINCT i.* FROM '.IMAGES_TABLE.' i
    231   INNER JOIN '.IMAGE_CATEGORY_TABLE.' on i.id=image_id 
     231  INNER JOIN '.IMAGE_CATEGORY_TABLE.' on i.id=image_id
    232232'.get_sql_condition_FandF( array('forbidden_categories' => 'category_id', 'forbidden_images'=>'i.id'), 'WHERE ' ).'
    233233  ORDER BY date_available DESC
     
    279279  $freq_tags = 'monthly';
    280280  $photo_count = 0;
    281  
     281
    282282  $conf_file_name = sitemaps_get_config_file_name();
    283283  $old_file = dirname(__FILE__).'/_sitemap.dat';
Note: See TracChangeset for help on using the changeset viewer.