Changeset 16940 for extensions
- Timestamp:
- Jul 23, 2012, 7:09:43 PM (12 years ago)
- Location:
- extensions/rv_sitemap
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_sitemap/main.inc.php
r16005 r16940 1 1 <?php /* 2 2 Plugin Name: RV sitemap 3 Version: 2.4. a3 Version: 2.4.b 4 4 Description: Creates a sitemap for your gallery. Sitemaps are used to inform search engines about pages that are available for crawling. 5 5 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=78 -
extensions/rv_sitemap/sitemap.php
r16301 r16940 65 65 if ( isset($images_xml) ) 66 66 $xml .= "\n".$images_xml; 67 67 68 68 $xml .= ' 69 69 </url>'; … … 101 101 'never', 102 102 ); 103 103 104 104 $specials = array( 105 105 'categories' => array('L'=>l10n('Home'), 'P'=>0.9), … … 164 164 165 165 $photo_count = intval($_POST['photo_count']); 166 166 167 167 set_make_full_url(); 168 168 … … 225 225 } 226 226 } 227 227 228 228 if ($photo_count > 0) 229 229 { 230 230 $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 232 232 '.get_sql_condition_FandF( array('forbidden_categories' => 'category_id', 'forbidden_images'=>'i.id'), 'WHERE ' ).' 233 233 ORDER BY date_available DESC … … 279 279 $freq_tags = 'monthly'; 280 280 $photo_count = 0; 281 281 282 282 $conf_file_name = sitemaps_get_config_file_name(); 283 283 $old_file = dirname(__FILE__).'/_sitemap.dat';
Note: See TracChangeset
for help on using the changeset viewer.