|
|
| Line 24: |
Line 24: |
| ===== XML Grammar===== | | ===== XML Grammar===== |
|
| |
|
| We are trying to derived the best possible structure for all of the information needed to be stored about the video. We also do not want to repeat information, here is what we identified would be repeating data (we called this the manifest): | | We are trying to derived the best possible structure for all of the information needed to be stored about the video. We also do not want to repeat information, here is what we identified would be repeating data (we called this the manifest):<br/> |
| Source
| | See the most current XML API structure [http://api.popcornjs.org here]. |
| - ID
| |
| - Name of Work
| |
| - Copyright Holder
| |
| - License (free form text)
| |
| - License (machine readable URL)
| |
| | |
| Person
| |
| - URLs?? (twitter, facebook, flickr) and a Type
| |
| - Personal Info
| |
| - name (fullname)
| |
| - ID
| |
| - Title (job description)
| |
| - Salutation
| |
| - Role
| |
| | |
| Place
| |
| - Geotag (single)
| |
| - Type (building)
| |
| - URLs, type
| |
| - Name
| |
| - ID
| |
| | |
| Object
| |
| - ID
| |
| - Name
| |
| - URLS, Type
| |
| | |
| | |
| Here is what we cam up with for tags:
| |
| | |
| Text
| |
| -(for times when you want really fine control over placement of the text)
| |
| - x, y postion
| |
| - target div where it's going to get put
| |
| - class - font (css) -- class, css transitions (state and state and duration)
| |
| - effects - space separated
| |
| | |
| Subtitles
| |
| -Always at the bottom
| |
| | |
| Lower-Third Text (need a name)
| |
| - would need a default duration, but user configurable, and overridable
| |
| - in="x"
| |
| - Show
| |
| - Defaults (3 seconds)
| |
| - Person's Salutation + Name\n Title
| |
| - lower thirds
| |
|
| |
| Subtitle
| |
| - text to display
| |
| - in="x" and out="y"
| |
| - position in lower area
| |
| Transctipt
| |
| - original language
| |
| - language its in
| |
| - name of person who is talking
| |
| - imported from external file
| |
|
| |
| Credits
| |
| -<credit role="…" person="…">
| |
| -<credit role="…" person="…">
| |
| | |
| Attribution
| |
| - Name of Work, Copyright holder, License, License URL
| |
| - in="x" and out="x"
| |
| - lower third
| |
| - <attribution title="The Mona Lisa" by="Leonardo" license=">
| |
| - each
| |
| | |
| Caption
| |
| - (x,y) and (width,height)
| |
| - class (background, colour, etc.)
| |
| - text
| |
| - display:none until we show it
| |
| - in="x" and out="y"
| |
| - a <div> we put on the page
| |
| - <caption in="36" out="56 person="shaver">
| |
| | |
| Thought Bubble
| |
| - cloud with dots above the head
| |
| | |
| Speech Bubble
| |
| - straight lines like youtube
| |
| | |
| Pointer
| |
| - rectangle with arrow pointing to something
| |
| | |
| Picture
| |
| - specify a div for where to put the image
| |
| - img src
| |
| | |
| Data/Content
| |
| - something to load from external and show
| |
| - in="x" and out="y"
| |
| - src="…."
| |
| - target div to put it in
| |
| | |
| Audio
| |
| - src
| |
| - in="x" and out="y"
| |
| | |
| Change
| |
| - id of new div where to put it
| |
| - new size -- have it adopt the size of the div it is going into
| |
| | |
| Map
| |
| - in="x" and out="y" (if blank stay untill something replaces it)
| |
| - maybe specify map backend (google, open street map, bing)
| |
| - target div to put it in
| |
| - placeId linked back to <place>
| |
|
| |
|
|
| |
|