rss max number fixed

This commit is contained in:
Tom Canac 2014-04-30 23:08:23 +02:00
parent 10cb4eb47e
commit 778a610c7d
5 changed files with 12 additions and 436 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
photos/ photos/
thumbs/ thumbs/
db_feed_source
db_old_files

View file

@ -38,13 +38,13 @@ $label_noimages = "No images"; //Empty folder text
$label_loading = "Loading..."; //Thumbnail loading text $label_loading = "Loading..."; //Thumbnail loading text
//RSS SETTINGS //RSS SETTINGS
$gallery_link = "./"; $gallery_link = "./"; //don't forget the final / !
$description = "MiniGal Nano"; $description = "MiniGal Nano";
$nb_items_rss = 25; $nb_items_rss = 25; //number ef elements to display in the feed. If you add a lot of pictures at the time, consider increasing this number
$SkipExts = array('html', 'txt', 'php'); //Files with one of this extension will not be displayed on the RSS feed $SkipExts = array('html', 'txt', 'php', "gitignore"); //Files with one of this extension will not be displayed on the RSS feed
$SkipObjects = array('UnDossier', 'UnFichier'); //Those files and folders will not be displayed on the RSS feed $SkipObjects = array('UnDossier', 'UnFichier'); //Those files and folders will not be displayed on the RSS feed
//ADVANCED SETTINGS //ADVANCED SETTINGS
$thumb_size = 320; //Thumbnail height/width (square thumbs). Changing this will most likely require manual altering of the template file to make it look properly! $thumb_size = 320; //Thumbnail height/width (square thumbs). Changing this will most likely require manual altering of the template file to make it look properly!
$label_max_length = 40; //Maximum chars of a folder name that will be displayed on the folder thumbnail $label_max_length = 40; //Maximum chars of a folder name that will be displayed on the folder thumbnail
$display_exif = 0; //Take care, even if not diplayed EXIF are still readable for visitors. May be a good idea to erase EXIF datas... $display_exif = 0; //Take care, even if not diplayed EXIF are still readable for visitors. May be a good idea to erase EXIF data...
?> ?>

View file

@ -1,214 +0,0 @@
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_blackandwhite.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_black_white_planes.jpg
http://yougalleryadress.domain/folder/photos/machines/20140329-1745_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2122_vapeur-carosse.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2306_loco.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0926_omg.gif
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_munvy7wZaa1rowc13o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131201-1049_sabre.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2307_rotonde.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_mw73g4ugDL1shqs68o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_submarine.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0736_milwaukee-road-class F7.jpg
http://yougalleryadress.domain/folder/photos/machines/20140114-1612_steam.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_railway.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_vapeur_01.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_steam.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2326_ohio.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2123_fix-it.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_bombrdiers_chasse.jpg
http://yougalleryadress.domain/folder/photos/machines/20140405-1320_boat.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_boat.gif
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_avion_eg.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_boat_concept.png
http://yougalleryadress.domain/folder/photos/machines/20131125-2120_buenos-aires.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2244_hk1.jpg
http://yougalleryadress.domain/folder/photos/machines/20140209-1033_P-38-glacier-girl.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_6754281089_78bd52a018_b.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_train _vapeur.jpg
http://yougalleryadress.domain/folder/photos/machines/20140202-1140_adirondack.jpg
http://yougalleryadress.domain/folder/photos/machines/20140323-1052_tumblr_pensilvania_500.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2249_f22.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_mo38aq1euV1r1vfbso1_500.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_planes_hunters.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_oldies_car_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0924_nigth-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131127-2001_us-air-horce.png
http://yougalleryadress.domain/folder/photos/machines/20131216-2124_train-affiche.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2242_silver-pilot.jpg
http://yougalleryadress.domain/folder/photos/machines/20140322-2124_mumbay.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0916_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_ferrari.png
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_planes_four.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2125_hell-of-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140205-0936_boat.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2122_that-track.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2255_double-heigth.jpg
http://yougalleryadress.domain/folder/photos/machines/20140209-1034_japan.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_ignition.jpg
http://yougalleryadress.domain/folder/photos/machines/20131215-1603_old-meet-new.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_rsilanka.jpg
http://yougalleryadress.domain/folder/photos/machines/20131220-0034_snow-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140323-1048_orangeworkshop.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2248_billibrds-balls.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2245_fucked-up-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_planes_.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_ops.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_old_ferrari.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_cleaning-the-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2323_inside_the_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140322-2123_trainandplane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2120_queen-is-burning.png
http://yougalleryadress.domain/folder/photos/machines/20140114-1610_metro.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2123_eyes.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_red.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0730_london-mail-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0915_lokomotion-662.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2123_Amtrak-Southbound-GG-1.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_snow-train-saxony-anhalt-germany.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0730_london-mail-tunnel.jpg
http://yougalleryadress.domain/folder/photos/machines/20131220-0724_pensilvaniajpg.jpg
http://yougalleryadress.domain/folder/photos/machines/20131221-1403_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131201-1054_uss-roosevelt.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2329_bnsf.png
http://yougalleryadress.domain/folder/photos/machines/20140114-1613_soo.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2301_challenger-1986.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_metro_01.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2248_xf92-b36.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2249_flying-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_lx1km0wKTL1qm86t3o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20140211-2033_jessDixon.jpg
http://yougalleryadress.domain/folder/photos/machines/20140114-1622_cars.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2239_Bernina-spiral-bridge.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2240_snoz-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0924_b52.jpg
http://yougalleryadress.domain/folder/photos/machines/20131130-2338_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_moaos7qKxV1qelkf9o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2236_red-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_lpn8adDuuB1qznavao1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_train_in_japan.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_mi5ep3XlfN1r0gmhdo1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131215-1601_santa-express.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0007_steam-in-bavaria.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2245_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2304_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131127-2001_tumblr.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2326_fl9_Milwaukee.jpg
http://yougalleryadress.domain/folder/photos/machines/20140205-0936_old.jpg
http://yougalleryadress.domain/folder/photos/machines/20140301-2233_c0051a062c455d5e41db2310c80bc79f.jpg
http://yougalleryadress.domain/folder/photos/machines/20131201-1110_1958.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2245_train2.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2125_amtrak-turbo-train-1976.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140102-2047_grim.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2111_Legend_of_Grimrock_2_screenshot_3.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2112_LoG_2_logo_small.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2111_Legend_of_Grimrock_2_screenshot_2.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2111_Legend_of_Grimrock_2_screenshot_1.jpg
http://yougalleryadress.domain/folder/photos/jeux/trine2.png
http://yougalleryadress.domain/folder/photos/.gitignore
http://yougalleryadress.domain/folder/photos/space/20131126-0018_solar-eclipse.jpg
http://yougalleryadress.domain/folder/photos/space/20140323-1047_jupiter.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars5.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_lights-of-the-western-hemisphere.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0018_Mercure_cratere_tyagaraja.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0014_triton.gif
http://yougalleryadress.domain/folder/photos/space/20131125-2113_earth.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars2.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars9.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_Saturne2013-annote.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0018_luna.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0015_iss.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_galaxy03.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars4.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_galaxy01.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0017_cratere_lunaire_Giordano_Bruno.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_mission_kepler.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars1.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0021_mars7.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_lores.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0021_mars6.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0021_mars8.jpg
http://yougalleryadress.domain/folder/photos/space/20140204-1626_527-wheelhole.jpg
http://yougalleryadress.domain/folder/photos/space/20140208-1726_Mars-crater.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_eclipse_soleil.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_galaxy02.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_Saturne2013.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars3.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_milky_way.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0016_radiant_meteor_storm_of_9_October_1933.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars10.jpg
http://yougalleryadress.domain/folder/photos/nature/20140114-1623_volcane-and-lights.jpg
http://yougalleryadress.domain/folder/photos/nature/20131216-2123_montagneux.jpg
http://yougalleryadress.domain/folder/photos/nature/20140112-1125_zion3.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland4.jpeg
http://yougalleryadress.domain/folder/photos/nature/20140106-2250_fire.jpg
http://yougalleryadress.domain/folder/photos/nature/20140114-1626_bird.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_water-fall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131201-1050_landscape.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_lake-tahoe-sierra-nevada-united-states.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland1.jpg
http://yougalleryadress.domain/folder/photos/nature/20131126-2325_colorado.jpg
http://yougalleryadress.domain/folder/photos/nature/20140322-2142_TianziMountainsChina.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland3.jpg
http://yougalleryadress.domain/folder/photos/nature/20140209-1022_river.jpg
http://yougalleryadress.domain/folder/photos/nature/20140129-2259_indian-summer.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland2.jpg
http://yougalleryadress.domain/folder/photos/nature/20140129-2257_alpinism.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_bridge-mount-tai-china.jpg
http://yougalleryadress.domain/folder/photos/nature/20140405-1320_yucatanjpg.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_volcano.jpg
http://yougalleryadress.domain/folder/photos/nature/20140106-2246_dolomites.png
http://yougalleryadress.domain/folder/photos/nature/20131213-1836_bear.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_ecureuil.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0918_vicoriafalls-mozambique.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_mountain.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_lake_hd.jpg
http://yougalleryadress.domain/folder/photos/nature/20140106-2245_volcano_500.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_mountain_flowers.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_meteora_monastere.jpg
http://yougalleryadress.domain/folder/photos/nature/20131219-0724_yukon.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Mountain-Tianmen-National-Park-Zhangjiajie-Hunan-Province-China.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Autumn-Railway.png
http://yougalleryadress.domain/folder/photos/nature/20131216-2123_fluvial.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0915_jeju.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland5.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0914_iceland.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0914_waterfall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_switzerlan.jpg
http://yougalleryadress.domain/folder/photos/nature/20140112-1125_zion.jpg
http://yougalleryadress.domain/folder/photos/nature/20140106-2248_sunpawatajpg.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_biche.jpg
http://yougalleryadress.domain/folder/photos/nature/20140329-1747_norway.png
http://yougalleryadress.domain/folder/photos/nature/20131126-2326_colorado.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0937_vietnam.jpg
http://yougalleryadress.domain/folder/photos/nature/20140112-1124_nature.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_forest.jpg
http://yougalleryadress.domain/folder/photos/nature/20131216-2123_relief.jpg
http://yougalleryadress.domain/folder/photos/nature/20140228-2106_iceland3.jpg
http://yougalleryadress.domain/folder/photos/nature/20131126-2327_sky.jpg
http://yougalleryadress.domain/folder/photos/nature/iceland2.jpg
http://yougalleryadress.domain/folder/photos/nature/20131216-2124_fall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_giant-tortoises-galpagos-island.jpg
http://yougalleryadress.domain/folder/photos/nature/20140322-2142_HitachiSeasideParkJapan.jpg
http://yougalleryadress.domain/folder/photos/nature/20140207-2027_ice.jpg
http://yougalleryadress.domain/folder/photos/nature/20140228-2106_island.jpg
http://yougalleryadress.domain/folder/photos/nature/20140326-2013_e29f77497c4b15fb8df10770d8d0fe45.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0916_guilin-china.jpg
http://yougalleryadress.domain/folder/photos/nature/20140405-1320_cloud.png
http://yougalleryadress.domain/folder/photos/nature/20140114-1610_mountain.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_mountain.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_heaven_sky.jpg
http://yougalleryadress.domain/folder/photos/nature/20131221-1403_volcan.jpg
http://yougalleryadress.domain/folder/photos/nature/20140326-2011_australia.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_autumn_forest.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_entwined.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0918_water-fall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_volcano_02.png
http://yougalleryadress.domain/folder/photos/nature/20140119-0958_china-karst.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0919_turquey.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_lake.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0916_medusa.jpg
http://yougalleryadress.domain/folder/photos/nature/20131130-1339_etna.jpg

View file

@ -1,214 +0,0 @@
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_blackandwhite.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_black_white_planes.jpg
http://yougalleryadress.domain/folder/photos/machines/20140329-1745_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2122_vapeur-carosse.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2306_loco.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0926_omg.gif
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_munvy7wZaa1rowc13o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131201-1049_sabre.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2307_rotonde.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_mw73g4ugDL1shqs68o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_submarine.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0736_milwaukee-road-class F7.jpg
http://yougalleryadress.domain/folder/photos/machines/20140114-1612_steam.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_railway.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_vapeur_01.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_steam.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2326_ohio.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2123_fix-it.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_bombrdiers_chasse.jpg
http://yougalleryadress.domain/folder/photos/machines/20140405-1320_boat.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_boat.gif
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_avion_eg.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_boat_concept.png
http://yougalleryadress.domain/folder/photos/machines/20131125-2120_buenos-aires.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2244_hk1.jpg
http://yougalleryadress.domain/folder/photos/machines/20140209-1033_P-38-glacier-girl.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_6754281089_78bd52a018_b.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_train _vapeur.jpg
http://yougalleryadress.domain/folder/photos/machines/20140202-1140_adirondack.jpg
http://yougalleryadress.domain/folder/photos/machines/20140323-1052_tumblr_pensilvania_500.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2249_f22.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_mo38aq1euV1r1vfbso1_500.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_planes_hunters.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_oldies_car_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0924_nigth-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131127-2001_us-air-horce.png
http://yougalleryadress.domain/folder/photos/machines/20131216-2124_train-affiche.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2242_silver-pilot.jpg
http://yougalleryadress.domain/folder/photos/machines/20140322-2124_mumbay.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0916_plane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_ferrari.png
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_planes_four.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2125_hell-of-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140205-0936_boat.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2122_that-track.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2255_double-heigth.jpg
http://yougalleryadress.domain/folder/photos/machines/20140209-1034_japan.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_ignition.jpg
http://yougalleryadress.domain/folder/photos/machines/20131215-1603_old-meet-new.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_rsilanka.jpg
http://yougalleryadress.domain/folder/photos/machines/20131220-0034_snow-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140323-1048_orangeworkshop.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2248_billibrds-balls.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2245_fucked-up-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_planes_.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_ops.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_old_ferrari.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2247_cleaning-the-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2323_inside_the_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140322-2123_trainandplane.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2120_queen-is-burning.png
http://yougalleryadress.domain/folder/photos/machines/20140114-1610_metro.jpg
http://yougalleryadress.domain/folder/photos/machines/20131216-2123_eyes.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_red.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0730_london-mail-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0915_lokomotion-662.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2123_Amtrak-Southbound-GG-1.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_snow-train-saxony-anhalt-germany.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0730_london-mail-tunnel.jpg
http://yougalleryadress.domain/folder/photos/machines/20131220-0724_pensilvaniajpg.jpg
http://yougalleryadress.domain/folder/photos/machines/20131221-1403_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131201-1054_uss-roosevelt.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2329_bnsf.png
http://yougalleryadress.domain/folder/photos/machines/20140114-1613_soo.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2301_challenger-1986.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_metro_01.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2248_xf92-b36.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2249_flying-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_lx1km0wKTL1qm86t3o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20140211-2033_jessDixon.jpg
http://yougalleryadress.domain/folder/photos/machines/20140114-1622_cars.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2239_Bernina-spiral-bridge.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2240_snoz-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140201-0924_b52.jpg
http://yougalleryadress.domain/folder/photos/machines/20131130-2338_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_moaos7qKxV1qelkf9o1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20140206-2236_red-train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_lpn8adDuuB1qznavao1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_train_in_japan.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2013_tumblr_mi5ep3XlfN1r0gmhdo1_1280.jpg
http://yougalleryadress.domain/folder/photos/machines/20131215-1601_santa-express.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-0007_steam-in-bavaria.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2245_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20140129-2304_train.jpg
http://yougalleryadress.domain/folder/photos/machines/20131127-2001_tumblr.jpg
http://yougalleryadress.domain/folder/photos/machines/20131126-2326_fl9_Milwaukee.jpg
http://yougalleryadress.domain/folder/photos/machines/20140205-0936_old.jpg
http://yougalleryadress.domain/folder/photos/machines/20140301-2233_c0051a062c455d5e41db2310c80bc79f.jpg
http://yougalleryadress.domain/folder/photos/machines/20131201-1110_1958.jpg
http://yougalleryadress.domain/folder/photos/machines/20140106-2245_train2.jpg
http://yougalleryadress.domain/folder/photos/machines/20131125-2125_amtrak-turbo-train-1976.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140102-2047_grim.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2111_Legend_of_Grimrock_2_screenshot_3.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2112_LoG_2_logo_small.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2111_Legend_of_Grimrock_2_screenshot_2.jpg
http://yougalleryadress.domain/folder/photos/jeux/20140127-2111_Legend_of_Grimrock_2_screenshot_1.jpg
http://yougalleryadress.domain/folder/photos/jeux/trine2.png
http://yougalleryadress.domain/folder/photos/.gitignore
http://yougalleryadress.domain/folder/photos/space/20131126-0018_solar-eclipse.jpg
http://yougalleryadress.domain/folder/photos/space/20140323-1047_jupiter.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars5.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_lights-of-the-western-hemisphere.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0018_Mercure_cratere_tyagaraja.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0014_triton.gif
http://yougalleryadress.domain/folder/photos/space/20131125-2113_earth.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars2.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars9.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_Saturne2013-annote.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0018_luna.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0015_iss.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_galaxy03.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars4.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_galaxy01.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0017_cratere_lunaire_Giordano_Bruno.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_mission_kepler.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars1.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0021_mars7.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_lores.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0021_mars6.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0021_mars8.jpg
http://yougalleryadress.domain/folder/photos/space/20140204-1626_527-wheelhole.jpg
http://yougalleryadress.domain/folder/photos/space/20140208-1726_Mars-crater.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_eclipse_soleil.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_galaxy02.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_Saturne2013.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars3.jpg
http://yougalleryadress.domain/folder/photos/space/20131125-2113_milky_way.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0016_radiant_meteor_storm_of_9_October_1933.jpg
http://yougalleryadress.domain/folder/photos/space/20131126-0022_mars10.jpg
http://yougalleryadress.domain/folder/photos/nature/20140114-1623_volcane-and-lights.jpg
http://yougalleryadress.domain/folder/photos/nature/20131216-2123_montagneux.jpg
http://yougalleryadress.domain/folder/photos/nature/20140112-1125_zion3.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland4.jpeg
http://yougalleryadress.domain/folder/photos/nature/20140106-2250_fire.jpg
http://yougalleryadress.domain/folder/photos/nature/20140114-1626_bird.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_water-fall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131201-1050_landscape.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_lake-tahoe-sierra-nevada-united-states.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland1.jpg
http://yougalleryadress.domain/folder/photos/nature/20131126-2325_colorado.jpg
http://yougalleryadress.domain/folder/photos/nature/20140322-2142_TianziMountainsChina.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland3.jpg
http://yougalleryadress.domain/folder/photos/nature/20140209-1022_river.jpg
http://yougalleryadress.domain/folder/photos/nature/20140129-2259_indian-summer.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland2.jpg
http://yougalleryadress.domain/folder/photos/nature/20140129-2257_alpinism.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_bridge-mount-tai-china.jpg
http://yougalleryadress.domain/folder/photos/nature/20140405-1320_yucatanjpg.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_volcano.jpg
http://yougalleryadress.domain/folder/photos/nature/20140106-2246_dolomites.png
http://yougalleryadress.domain/folder/photos/nature/20131213-1836_bear.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_ecureuil.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0918_vicoriafalls-mozambique.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_mountain.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_lake_hd.jpg
http://yougalleryadress.domain/folder/photos/nature/20140106-2245_volcano_500.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_mountain_flowers.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_meteora_monastere.jpg
http://yougalleryadress.domain/folder/photos/nature/20131219-0724_yukon.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Mountain-Tianmen-National-Park-Zhangjiajie-Hunan-Province-China.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Autumn-Railway.png
http://yougalleryadress.domain/folder/photos/nature/20131216-2123_fluvial.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0915_jeju.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_Landwasser-Viaduct-Graubunden-Switzerland5.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0914_iceland.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0914_waterfall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_switzerlan.jpg
http://yougalleryadress.domain/folder/photos/nature/20140112-1125_zion.jpg
http://yougalleryadress.domain/folder/photos/nature/20140106-2248_sunpawatajpg.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_biche.jpg
http://yougalleryadress.domain/folder/photos/nature/20140329-1747_norway.png
http://yougalleryadress.domain/folder/photos/nature/20131126-2326_colorado.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0937_vietnam.jpg
http://yougalleryadress.domain/folder/photos/nature/20140112-1124_nature.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_forest.jpg
http://yougalleryadress.domain/folder/photos/nature/20131216-2123_relief.jpg
http://yougalleryadress.domain/folder/photos/nature/20140228-2106_iceland3.jpg
http://yougalleryadress.domain/folder/photos/nature/20131126-2327_sky.jpg
http://yougalleryadress.domain/folder/photos/nature/iceland2.jpg
http://yougalleryadress.domain/folder/photos/nature/20131216-2124_fall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_giant-tortoises-galpagos-island.jpg
http://yougalleryadress.domain/folder/photos/nature/20140322-2142_HitachiSeasideParkJapan.jpg
http://yougalleryadress.domain/folder/photos/nature/20140207-2027_ice.jpg
http://yougalleryadress.domain/folder/photos/nature/20140228-2106_island.jpg
http://yougalleryadress.domain/folder/photos/nature/20140326-2013_e29f77497c4b15fb8df10770d8d0fe45.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0916_guilin-china.jpg
http://yougalleryadress.domain/folder/photos/nature/20140405-1320_cloud.png
http://yougalleryadress.domain/folder/photos/nature/20140114-1610_mountain.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_mountain.png
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_heaven_sky.jpg
http://yougalleryadress.domain/folder/photos/nature/20131221-1403_volcan.jpg
http://yougalleryadress.domain/folder/photos/nature/20140326-2011_australia.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_autumn_forest.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_entwined.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0918_water-fall.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_volcano_02.png
http://yougalleryadress.domain/folder/photos/nature/20140119-0958_china-karst.jpg
http://yougalleryadress.domain/folder/photos/nature/20140205-0919_turquey.jpg
http://yougalleryadress.domain/folder/photos/nature/20131125-1913_lake.jpg
http://yougalleryadress.domain/folder/photos/nature/20140201-0916_medusa.jpg
http://yougalleryadress.domain/folder/photos/nature/20131130-1339_etna.jpg

10
rss.php
View file

@ -2,7 +2,7 @@
/*===================*/ /*===================*/
/*Functions*/ /*Functions*/
/*===================*/ /*===================*/
# Hardly inspired from here : codes-sources.commentcamarche.net/source/35937-creation-d-une-arborescenceI # Hardly inspired from here : codes-sources.commentcamarche.net/source/35937-creation-d-une-arborescenceI
# Listing all files of a folder and sub folders. # Listing all files of a folder and sub folders.
function ListFiles($gallery_link, &$content, $Folder, $SkipFileExts, $SkipObjects) function ListFiles($gallery_link, &$content, $Folder, $SkipFileExts, $SkipObjects)
{ {
@ -29,7 +29,7 @@
return $content; return $content;
} }
# Paul's Simple Diff Algorithm v 0.1 : http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/ # Paul's Simple Diff Algorithm v 0.1 : http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/
function diff($old, $new){ function diff($old, $new){
$matrix = array(); $matrix = array();
$maxlen = 0; $maxlen = 0;
@ -77,7 +77,7 @@
/*===================*/ /*===================*/
/*Computing*/ /*Computing*/
/*===================*/ /*===================*/
#Todo : ajouter une condition : dois-je regénérer le flux ou utiliser les anciens fichiers ? #Todo : ajouter une condition : dois-je regénérer le flux ou utiliser les anciens fichiers ?
// Load the list from files. // Load the list from files.
$old_files_list_content = explode("\n", file_get_contents($old_files_list)); $old_files_list_content = explode("\n", file_get_contents($old_files_list));
@ -115,7 +115,7 @@
<link>".$gallery_link."</link> <link>".$gallery_link."</link>
<description>".$description."</description> <description>".$description."</description>
"; ";
for ($i=0; $i <= $nb_items_rss; $i++) { for ($i=0; $i < $nb_items_rss; $i++) {
$pieceOfTitle = strrchr ($temp[$i] , "/"); $pieceOfTitle = strrchr ($temp[$i] , "/");
$titleLenght = strlen($pieceOfTitle) - strlen(strrchr($pieceOfTitle, ".")); $titleLenght = strlen($pieceOfTitle) - strlen(strrchr($pieceOfTitle, "."));
echo echo
@ -127,6 +127,8 @@
</description> </description>
</item>" </item>"
; ;
if ($temp[$i+1] == NULL)
break;
} }
echo" echo"
</channel> </channel>