From emyr at teuluthomas.com Wed Feb 7 17:20:46 2007 From: emyr at teuluthomas.com (Emyr Thomas) Date: Wed, 7 Feb 2007 16:20:46 +0000 Subject: [Tramline-dev] a Plone file-Field with tramline and JUpload ? In-Reply-To: <43E76974.6070403@infrae.com> References: <43DDF95A.6040304@imperia.info> <43DDFA5C.7070406@netsight.co.uk> <43E76974.6070403@infrae.com> Message-ID: <8fb874820702070820m594c1b4el58860ec5c655088f@mail.gmail.com> Are there any plans to integrate the work done by Matt Hamilton to using sha-1 hashes for tramline filenames? Regards, Emyr On 06/02/06, Martijn Faassen wrote: > Matt Hamilton wrote: > > Dirk, > > Good timing :) I am currently at the Snow Sprint in Austria with Nate > > working on improving the Tramline support. I agree with you that the > > best approach will be to set a specific header to only invoke tramline > > for specific content types. Tramline itself does not currently support > > this, but I am looking to add it in -- either in tramline or perhaps as > > a conditional directive in the apache config. > > > > Other items we are working on here: > > > > * Getting ATAudio and other media types to be tramline aware > > * Conditional invoking of the tramline filter for specific media types > > * Using sha-1 hash for tramline filenames so as to be compatible > > with Limewire 'magnet links'. This could allow content from Plone to > > be served directly out onto the gnutella network > > Looking forward to seeing patches for some of this to appear for tramline! > > Regards, > > Martijn > _______________________________________________ > Tramline-dev mailing list > Tramline-dev at codespeak.net > http://codespeak.net/mailman/listinfo/tramline-dev > From beedee at uni-koblenz.de Fri Feb 9 17:01:09 2007 From: beedee at uni-koblenz.de (Benjamin Durth) Date: Fri, 09 Feb 2007 17:01:09 +0100 Subject: [Tramline-dev] Tramline with attramline/PloneTramline and Plone Archetypes ? Message-ID: <45CC9AC5.8060907@uni-koblenz.de> Hi ! I'm trying to use tramline to store big files in the filesystem. My configuration : Plone 2.5, Zope (Zope 2.8.7-final, python 2.4.3, linux2), PIL 1.1.5 Apache 2.2-3 attramline (SVN) By now I followed the instructions provided at http://plone.org/events/sprints/snow-sprint-2007/tramline At that point tramline still does nothing at all for me. I added a new "typewithtramlinesupport"-type (the example type from the "attramline" product) within Plone and uploaded various kinds of files. Tramline is not invoked, neither "Tramline_file: ok" does appear in the HTTP header, nor are there files stored in the repository on the file-system. Only after installing the Product "PloneTramline" I'm able to upload various files as an "typewithtramlinesupport" and tramline stores them on the file-system. Shouldn't that be already by provided by "attramline"? That wouldn't hurt too much, but when adding an Image file, say an .jpg, it is not displayed instantly in the browser when calling the view-URL like it's the case when you add an ATImage. Selecting the link to the image ("image_xy.jpg (JPEG image 0Kb)") results in no image being displayed and the size is always 0KB. An interesting fact : If you keep reloading (F5 or ALT+R) you will see the image, then you don't, next time you can see it again etc (only in Firefox/Camino). Also : Trying to "save link as" suggests saving to TramlineFile.htm every time. So my questions are : * How can ATImage and other Archetypes be used with tramline? * How can certain file types (e.g., by MIME type) be excluded from the usage of tramline? Can it be made dependent on the file _size_? Or better still: can one install an arbitrary expression that says whether a file is to be 'tramlined' or not? * How can the real file size be displayed in Plone? It works with ATFile and after uploading binary files (e.g., PDF), but not with plain text or images. * How can a tramline file be saved to the correct filename? * Do you know of somebody who is using tramline successfully and could give me a few hints? Thank you very much, Greetings, Torsten and Ben