Well the problem in this case is that it's being fetched from various
sources on the web so it's not in a file to begin with.
Hey maybe I could use (tmp) to put it in a temporary file and then use
that file? It doesn't feel right but should work.
On Sat, Aug 15, 2009 at 3:04 PM, Tomas Hlavaty<t...@logand.com> wrote:
> Hi Henrik,
>> To me it seems you need to pass some kind of file name, for instance
>> in the app/item.l form, the name of the tempfile. And then the file
>> is opened and copied to the blobfile.
> yes, a blob is a file. =A0I think it is stored as a flag indicating it's
> presence. =A0If it is present, the function 'blob' will return a
> filename where you can find its content.
>> However I simply want to do like this: (put> Article 'body "a really
>> long text here, not a file...") and have the text end up in an
>> automatically generated blob file. As far as I can see the current
>> put> and/or blob! functions working with +Blob can't be made to work
>> like this?
> Well, if the text is really "really long" then it probably should not
> be represented as a string in the first place. =A0If it is not that
> long, I would either use +String instead of +Blob or use +Blob the way
> Alex uses it.
> I haven't looked at the sources, but maybe there is a way adding such
> abstraction/method as you aim for.
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe