FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?showing file size of podcasts View next topic
View previous topic
Post new topicReply to topic
Author Message
cmrowney



Joined: 23 May 2006
Posts: 2

PostPosted: Tue May 23, 2006 12:01 pm Reply with quoteBack to top

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
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 2216

PostPosted: Tue May 23, 2006 12:14 pm Reply with quoteBack to top

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
View user's profileSend private messageVisit poster's website
cmrowney



Joined: 23 May 2006
Posts: 2

PostPosted: Sun May 28, 2006 4:30 am Reply with quoteBack to top

Can you tell me how?
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 2216

PostPosted: Sun May 28, 2006 10:48 am Reply with quoteBack to top

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
View user's profileSend private messageVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 2216

PostPosted: Tue May 30, 2006 12:09 pm Reply with quoteBack to top

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
View user's profileSend private messageVisit poster's website
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme