Author: crossley
Date: Mon Sep 4 18:53:03 2006
New Revision: 440217
URL: http://svn.apache.org/viewvc?view=rev&rev=440217
Log:
Exclude the .DS_Store file used by Mac OS X.
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap?view=diff&rev=440217&r1=440216&r2=440217
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/input.xmap
Mon Sep 4 18:53:03 2006
@@ -34,7 +34,7 @@
<map:parameter name="xpath" value="/albuminfo/*"/>
<map:parameter name="sort" value="lastmodified"/>
<map:parameter name="reverse" value="true"/>
- <map:parameter name="exclude"
value="(\.svn$|\w\.thumb.jpg|\w\.small.jpg|Thumbs.db|album.xml)"/>
+ <map:parameter name="exclude"
value="(\.svn$|\w\.thumb.jpg|\w\.small.jpg|Thumbs.db|\.DS_Store|album.xml)"/>
<map:parameter name="xmlFiles" value="album\.xml"/>
</map:generate>
<map:serialize type="xml"/>
@@ -46,7 +46,7 @@
<map:parameter name="xpath" value="/albuminfo/*"/>
<map:parameter name="sort" value="lastmodified"/>
<map:parameter name="reverse" value="true"/>
- <map:parameter name="exclude"
value="(\.svn$|\w\.thumb.jpg|\w\.small.jpg|Thumbs.db)"/>
+ <map:parameter name="exclude"
value="(\.svn$|\w\.thumb.jpg|\w\.small.jpg|Thumbs.db|\.DS_Store)"/>
<map:parameter name="xmlFiles" value="\.xml$"/>
</map:generate>
<map:transform src="{lm:photoGallery.transform.dir.galleryHome}"/>
@@ -60,7 +60,7 @@
<!-- HELP: I'd like to be able to have more dynamic image variants
(e.g. thumb)
without having them hardcoded like the are but I suck at regex.
-->
- <map:parameter name="exclude"
value="(\w\.thumb.jpg|\w\.small.jpg|Thumbs.db|album.xml)"/>
+ <map:parameter name="exclude"
value="(\w\.thumb.jpg|\w\.small.jpg|Thumbs.db|\.DS_Store|album.xml)"/>
</map:generate>
<map:serialize type="xml" />
</map:match>