 |
? |
Author |
Message |
cmrowney
Joined: 23 May 2006
Posts: 2
|
Posted: Tue May 23, 2006 12:01 pm |

|
is there a way to add to the rss2html.php script so that it can extract the file size from the rss(xml) info and show it after (for example) the date information in the html view?
Thanks
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2216
|
Posted: Tue May 23, 2006 12:14 pm |

|
cmrowney wrote: |
is there a way to add to the rss2html.php script so that it can extract the file size from the rss(xml) info and show it after (for example) the date information in the html view?
Thanks |
If you mean the size of the file as specified in the enclosure, that is not to hard to add.
Jim
|
|
|
 
|
 |
cmrowney
Joined: 23 May 2006
Posts: 2
|
Posted: Sun May 28, 2006 4:30 am |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2216
|
Posted: Sun May 28, 2006 10:48 am |

|
cmrowney wrote: |
Can you tell me how? |
If you know PHP, then just mirror the code for the enclosure URL and it is no that hard. Otherwise you will have to wait until I can add it.
Jim
|
|
|
 
|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 2216
|
Posted: Tue May 30, 2006 12:09 pm |

|
cmrowney wrote: |
is there a way to add to the rss2html.php script so that it can extract the file size from the rss(xml) info and show it after (for example) the date information in the html view?
Thanks |
I have added this feature, and it will be available in the next release. If the enclosure length is specified as "1123434" then ~~~ItemEnclosureLength~~~ would produce "1123434", while ~~~ItemEnclosureLengthFormatted~~~ would produce "1.1 MBytes". I am not sure of the exact date it will be released, but keep an eye on the forum.
Jim
|
|
|
 
|
 |
|
|
|