<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Small fixes to import script</title> 
  <pubDate>Fri, 10 Apr 2026 09:21:12 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8929</link> 
  <atom:link rel="self" type="application/rss+xml" title="Small fixes to import script" href="https://bugs.horde.org/ticket/8929/rss" /> 
  <description>Small fixes to import script</description> 
 
   
   
  <item> 
   <title>I have made some trivial but important changes in Ansel&#039;s im</title> 
   <description>I have made some trivial but important changes in Ansel&#039;s import script.

First, it fixes the hard-coding of the installation path of ansel.
Second, it sorts alphabetically the galleries/pictures when importing them.

I have also written a script to import comments from text-files into Ansel, but I guess this is too system specific.</description> 
   <pubDate>Tue, 23 Mar 2010 08:57:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58282</link> 
  </item> 
   
  <item> 
   <title>Duplicate of Bug: 8760</title> 
   <description>Duplicate of Bug: 8760</description> 
   <pubDate>Wed, 24 Mar 2010 21:52:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58291</link> 
  </item> 
   
  <item> 
   <title>Eh, sorry, not a duplicate, but I don&#039;t really understand wh</title> 
   <description>Eh, sorry, not a duplicate, but I don&#039;t really understand what you are attempting to fix.  The definition of ANSEL_BASE should be fine as is.  Why is the ANSEL_BASE definition that is built from HORDE_BASE not working for you?

Regarding the sorting, I&#039;m inclined to reject this. It&#039;s assuming that the user wants images sorted by filename when importing. Not always the case. At the very least if you really want this feature to be included you should make it a configuration switch on the command line.</description> 
   <pubDate>Wed, 24 Mar 2010 22:02:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58292</link> 
  </item> 
   
  <item> 
   <title>&gt; Eh, sorry, not a duplicate, but I don&#039;t really understand </title> 
   <description>&gt; Eh, sorry, not a duplicate, but I don&#039;t really understand what you 
&gt; are attempting to fix.  The definition of ANSEL_BASE should be fine 
&gt; as is.  Why is the ANSEL_BASE definition that is built from 
&gt; HORDE_BASE not working for you?

If you install ansel in a different directory (rather than HORDE_BASE . &#039;/ansel&#039;), the script won&#039;t work.
With my change, it always works.

&gt; Regarding the sorting, I&#039;m inclined to reject this. It&#039;s assuming 
&gt; that the user wants images sorted by filename when importing. Not 
&gt; always the case. At the very least if you really want this feature to 
&gt; be included you should make it a configuration switch on the command 
&gt; line.

I think most people would rather have an alphabetical order rather than no order at all (which is how it works now).

</description> 
   <pubDate>Thu, 25 Mar 2010 13:16:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58303</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Fix import s</title> 
   <description>Changes have been made in CVS for this ticket:

Fix import script for installations where Ansel is not installed under
horde root.
Bug: 8929
Submitted by: lameventanas (at) gmail (dot) com
http://cvs.horde.org/diff.php/ansel/scripts/recursive_import.php?rt=horde&amp;r1=1.11.2.1&amp;r2=1.11.2.2&amp;ty=u</description> 
   <pubDate>Thu, 25 Mar 2010 13:31:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58304</link> 
  </item> 
   
  <item> 
   <title>&gt; If you install ansel in a different directory (rather than</title> 
   <description>&gt; If you install ansel in a different directory (rather than HORDE_BASE 
&gt; . &#039;/ansel&#039;), the script won&#039;t work.
&gt; With my change, it always works.

True...committed, thanks.

&gt; I think most people would rather have an alphabetical order rather 
&gt; than no order at all (which is how it works now).

It&#039;s not &quot;no order at all&quot; - it&#039;s the order that the files are returned by readdir(), which should be the order that they are stored on the filesystem. http://php.net/readdir

Additionally, I wouldn&#039;t want my images imported sorted alphabetically by default. If anything, I&#039;d want them sorted by the image DateCreated time.  If you add a switch for this, I&#039;d be willing to commit it.</description> 
   <pubDate>Thu, 25 Mar 2010 13:38:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58305</link> 
  </item> 
   
  <item> 
   <title>Would you want to add a switch for this, or should I mark th</title> 
   <description>Would you want to add a switch for this, or should I mark this as resolved?</description> 
   <pubDate>Tue, 13 Apr 2010 15:30:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58470</link> 
  </item> 
   
  <item> 
   <title>This patch adds the desired sorting functionality.</title> 
   <description>This patch adds the desired sorting functionality.</description> 
   <pubDate>Wed, 14 Apr 2010 06:27:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t58483</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Add sort ord</title> 
   <description>Changes have been made in CVS for this ticket:

Add sort order parameter to import script.
Request: 8929
Submitted by: lameventanas (at) gmail (dot) com
http://cvs.horde.org/diff.php/ansel/scripts/recursive_import.php?rt=horder1=1.11.2.2r2=1.11.2.3ty=u</description> 
   <pubDate>Sun, 12 Sep 2010 22:38:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t60013</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

MFB Request:</title> 
   <description>Changes have been made in Git for this ticket:

MFB Request: 8929

http://git.horde.org/diff.php/ansel/scripts/recursive_import.php?rt=horde-git&amp;r1=a0ce9ace9c3114b59d4926dd43c89cd19f4794c4&amp;r2=7035ce3cf00beb7175264b1687b72c0b12b2b0fa</description> 
   <pubDate>Sun, 12 Sep 2010 22:48:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t60014</link> 
  </item> 
   
  <item> 
   <title>Sorry for the delay, but finally tweaked and committed to bo</title> 
   <description>Sorry for the delay, but finally tweaked and committed to both FW_3 and git master.

Thanks!</description> 
   <pubDate>Sun, 12 Sep 2010 22:48:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8929#t60015</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
