I’m working at a small TV-Station and we are using modx for our corporate website. First of all, I’m still very new to ModX and also my english is not the best, so please forgive me...
We would like to create a online archive where our visitors can watch, every show that we broadcasted as a video file. My problem is, how to organise all the content in an efficient way.
Every day, we create about 10 different videofiles. Each videofile has a description file (txt or xml -> we don’t have a solution for that yet but that’s another problem).
In the ModX Tree, we have already a resource (as container) for every show. Today, we manually update this resource daily with the new text-content. But as I said before, I would like to create an archive solution, where the visitor can see, what was broadcasted e.g. 2 month back. I could now create a new resource in the container on a daily basis and put all nescessary data in manually. But after a short time, there will be hundreds of resources in that container. I can’t imagine, that this is a good solution.
I need kind of this for a proper solution:
I have one resource in Modx for every show. All Videofiles are stored in a folder on the webserver (e.g. assets/videos/showname). We have a xml or txt file with the same name as the video file, also stored on the webserver (e.b. assets/text/showname). Now, I need something like getResource, to load the videofile and the text file into the one resource.
Don’t get me wrong, I don’t want you to present me a complete solution for my problem. I just need a point into the right direction...
...and thanks to everyone, who reads the whole thread. It was a bit longer as expected...
thank you!