[TYPO3-english] Get file size with typoscript? or some other way?
Kay Strobach
typo3 at kay-strobach.de
Sun Sep 4 16:07:03 CEST 2011
Hi,
please take a look in the TS for the filelinks content element in css
styled content ;)
There should be an example ;)
Regards
Kay
Am 04.09.2011 16:01, schrieb Morten Kjems:
> Hi.
>
> I am building a podcast feed from tt_news records with typoscript.
>
> Everything is working fine except one thing.
>
> To make a valid feed I need to set the 'length' value for the sound
> file. The 'length' is simply the file size in bytes. It could look like
> this for a 2mb file: length="2000000"
>
> I could make an extra field in tt_news and enter the file size manually
> but I would rather that the file size is detected and inserted
> automatically.
>
> Is there a way to get the size of a file with typoscript?
>
> Or are there other solutions?
>
> All suggestions are most welcome.
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answere was usefull: https://flattr.com/profile/kaystrobach
More information about the TYPO3-english
mailing list