Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML automatic reload

Status
Not open for further replies.

pillowsr4u

Programmer
Nov 12, 2008
1
US
I am creating a multimedia project that requires xml data to automatically update when a new video file is added to the server.

The XML file must recognize the new video and assign an incremental number or letter to the file so that our application will stream these new videos as they are uploaded to our server (Flash Media Server)

Thank you in advance for your help.
 
The XML file must recognize the new video and assign an incremental number or letter to the file...
An XML file is simply a file containing data. You will need to use a server-side scripting language (ASP/PHP/JSP/Coldfusion etc.) to dynamically add an element (representing the new video) to the XML file.

The best place to start looking is at the video upload process:
(1) Are new videos manually uploaded via an FTP program?
(2) Or is there already a server-side script that processes the upload?

If (1) then a solution might be to run a server-side script as a scheduled task, which would check the contents of the folder into which new videos are uploaded and dynamically generate an XML file based on the contents.

If (2) then it's possible that, as part of the upload process, the filename is already written to a database. So, you could then write a server-side script to read the appropriate records from the database table and dynamically generate the XML file.

Clive
Runner_1Revised.gif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top