Team Echo: Difference between revisions
From ICO wiki
Jump to navigationJump to search
| Line 10: | Line 10: | ||
==XML== | ==XML== | ||
<pre> | <pre> | ||
<?xml version="1.0" encoding="utf-8" ?> | |||
<?xml-stylesheet type="text/xsl" href="Echo-html.xslt"?> | |||
<echo> | |||
<videos> | |||
<video id="1" view-count="69" author-id="1"> | |||
<title>Mihkli rännak</title> | |||
<streams> | |||
<stream type="primary"> | |||
<stream-url mime-type="video/webm">https://u.wut.ee/ookutsu.webm</stream-url> | |||
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url> | |||
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url> | |||
</stream> | |||
<stream type="secondary"> | |||
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url> | |||
</stream> | |||
</streams> | |||
<metadata> | |||
<description> | |||
Väga kurb | |||
</description> | |||
</metadata> | |||
<comments> | |||
<comment author-id="1" post-timestamp="1489683470"> | |||
Norm värk | |||
</comment> | |||
</comments> | |||
</video> | |||
<video id="2" view-count="69" author-id="2"> | |||
<title>Lahe video</title> | |||
<streams> | |||
<stream type="primary"> | |||
<stream-url mime-type="video/webm">https://u.wut.ee/youfuckedup.webm</stream-url> | |||
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url> | |||
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url> | |||
</stream> | |||
<stream type="secondary"> | |||
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url> | |||
</stream> | |||
</streams> | |||
<metadata> | |||
<description> | |||
See on väga äge video on see | |||
</description> | |||
</metadata> | |||
<comments> | |||
<comment author-id="1" post-timestamp="1489683470"> | |||
Norm värk | |||
</comment> | |||
<comment author-id="2" post-timestamp="1489683470"> | |||
Norm värk 2 | |||
</comment> | |||
</comments> | |||
</video> | |||
<video id="3" view-count="69" author-id="3"> | |||
<title>Nalja kah</title> | |||
<streams> | |||
<stream type="primary"> | |||
<stream-url mime-type="video/webm">https://u.wut.ee/perlvspython.webm</stream-url> | |||
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url> | |||
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url> | |||
</stream> | |||
<stream type="secondary"> | |||
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url> | |||
</stream> | |||
</streams> | |||
<metadata> | |||
<description> | |||
Väga hea huumor | |||
</description> | |||
</metadata> | |||
<comments> | |||
<comment author-id="1" post-timestamp="1489683470"> | |||
Norm värk | |||
</comment> | |||
</comments> | |||
</video> | |||
<video id="4" view-count="69" author-id="1"> | |||
<title>Arti areng</title> | |||
<streams> | |||
<stream type="primary"> | |||
<stream-url mime-type="video/webm">https://u.wut.ee/sittmissitt.webm</stream-url> | |||
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url> | |||
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url> | |||
</stream> | |||
<stream type="secondary"> | |||
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url> | |||
</stream> | |||
</streams> | |||
<metadata> | |||
<description> | |||
Väga kurb | |||
</description> | |||
</metadata> | |||
<comments> | |||
<comment author-id="1" post-timestamp="1489683470"> | |||
Imelik oli | |||
</comment> | |||
</comments> | |||
</video> | |||
<video id="4" view-count="69" author-id="4"> | |||
<title>Oldja laulud</title> | |||
<streams> | |||
<stream type="primary"> | |||
<stream-url mime-type="video/webm">https://u.wut.ee/healtscare.webm</stream-url> | |||
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url> | |||
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url> | |||
</stream> | |||
<stream type="secondary"> | |||
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url> | |||
</stream> | |||
</streams> | |||
<metadata> | |||
<description> | |||
Draama Queen | |||
</description> | |||
</metadata> | |||
<comments> | |||
<comment author-id="1" post-timestamp="1489683420"> | |||
Norm värk | |||
</comment> | |||
</comments> | |||
</video> | |||
<video id="4" view-count="69" author-id="5"> | |||
<title>Osa 13 ehk Oolo kadumine</title> | |||
<streams> | |||
<stream type="primary"> | |||
<stream-url mime-type="video/webm">https://u.wut.ee/healtscare.webm</stream-url> | |||
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url> | |||
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url> | |||
</stream> | |||
<stream type="secondary"> | |||
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url> | |||
</stream> | |||
</streams> | |||
<metadata> | |||
<description> | |||
Lihtsalt kadus ära | |||
</description> | |||
</metadata> | |||
<comments> | |||
<comment author-id="1" post-timestamp="1489683470"> | |||
Norm värk | |||
</comment> | |||
</comments> | |||
</video> | |||
</videos> | |||
<users> | |||
<user id="1"> | |||
<username>admin</username> | |||
<full-name>Admin</full-name> | |||
</user> | |||
<user id="2"> | |||
<username>oolo</username> | |||
<full-name>Oolo</full-name> | |||
</user> | |||
<user id ="3"> | |||
<username>zirk</username> | |||
<full-name>Hr. Zirk</full-name> | |||
</user> | |||
</users> | |||
<lists> | |||
<list owner-id="1"> | |||
<video id="1" timestamp-added="1489684373"></video> | |||
<video id="3" timestamp-added="1489684379"></video> | |||
</list> | |||
</lists> | |||
</echo> | |||
</pre> | </pre> | ||
Revision as of 16:11, 19 March 2017
Team Echo Võrgurakendused II
- Mihkel Vajak
- Janno Oolo
- Mari-Liis Oldja
- Arti Zirk
- Joosep Voolma
XML
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="Echo-html.xslt"?>
<echo>
<videos>
<video id="1" view-count="69" author-id="1">
<title>Mihkli rännak</title>
<streams>
<stream type="primary">
<stream-url mime-type="video/webm">https://u.wut.ee/ookutsu.webm</stream-url>
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url>
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url>
</stream>
<stream type="secondary">
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url>
</stream>
</streams>
<metadata>
<description>
Väga kurb
</description>
</metadata>
<comments>
<comment author-id="1" post-timestamp="1489683470">
Norm värk
</comment>
</comments>
</video>
<video id="2" view-count="69" author-id="2">
<title>Lahe video</title>
<streams>
<stream type="primary">
<stream-url mime-type="video/webm">https://u.wut.ee/youfuckedup.webm</stream-url>
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url>
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url>
</stream>
<stream type="secondary">
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url>
</stream>
</streams>
<metadata>
<description>
See on väga äge video on see
</description>
</metadata>
<comments>
<comment author-id="1" post-timestamp="1489683470">
Norm värk
</comment>
<comment author-id="2" post-timestamp="1489683470">
Norm värk 2
</comment>
</comments>
</video>
<video id="3" view-count="69" author-id="3">
<title>Nalja kah</title>
<streams>
<stream type="primary">
<stream-url mime-type="video/webm">https://u.wut.ee/perlvspython.webm</stream-url>
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url>
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url>
</stream>
<stream type="secondary">
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url>
</stream>
</streams>
<metadata>
<description>
Väga hea huumor
</description>
</metadata>
<comments>
<comment author-id="1" post-timestamp="1489683470">
Norm värk
</comment>
</comments>
</video>
<video id="4" view-count="69" author-id="1">
<title>Arti areng</title>
<streams>
<stream type="primary">
<stream-url mime-type="video/webm">https://u.wut.ee/sittmissitt.webm</stream-url>
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url>
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url>
</stream>
<stream type="secondary">
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url>
</stream>
</streams>
<metadata>
<description>
Väga kurb
</description>
</metadata>
<comments>
<comment author-id="1" post-timestamp="1489683470">
Imelik oli
</comment>
</comments>
</video>
<video id="4" view-count="69" author-id="4">
<title>Oldja laulud</title>
<streams>
<stream type="primary">
<stream-url mime-type="video/webm">https://u.wut.ee/healtscare.webm</stream-url>
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url>
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url>
</stream>
<stream type="secondary">
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url>
</stream>
</streams>
<metadata>
<description>
Draama Queen
</description>
</metadata>
<comments>
<comment author-id="1" post-timestamp="1489683420">
Norm värk
</comment>
</comments>
</video>
<video id="4" view-count="69" author-id="5">
<title>Osa 13 ehk Oolo kadumine</title>
<streams>
<stream type="primary">
<stream-url mime-type="video/webm">https://u.wut.ee/healtscare.webm</stream-url>
<stream-url mime-type="audio/mp3">https://media/id/audio.mp3</stream-url>
<stream-url mime-type="video/mp4">https://media/id/video.mp4</stream-url>
</stream>
<stream type="secondary">
<stream-url mime-type="audio/*">https://media/id/audio2</stream-url>
</stream>
</streams>
<metadata>
<description>
Lihtsalt kadus ära
</description>
</metadata>
<comments>
<comment author-id="1" post-timestamp="1489683470">
Norm värk
</comment>
</comments>
</video>
</videos>
<users>
<user id="1">
<username>admin</username>
<full-name>Admin</full-name>
</user>
<user id="2">
<username>oolo</username>
<full-name>Oolo</full-name>
</user>
<user id ="3">
<username>zirk</username>
<full-name>Hr. Zirk</full-name>
</user>
</users>
<lists>
<list owner-id="1">
<video id="1" timestamp-added="1489684373"></video>
<video id="3" timestamp-added="1489684379"></video>
</list>
</lists>
</echo>