Skip to content

Basic presentation example in JSON

agordillo edited this page Jan 21, 2013 · 9 revisions
var basic_samples = {
	//LO metadata
	"id":"1",
	"title":"Welcome to Vish Editor",
	"description":"An definition example of a Vish Editor presentation",
	"author":"Vish Editor Team",
	"language":"en",
	"avatar":"http://localhost/vishEditor/images/excursion_thumbnails/excursion-00.png",
	"tags":["VishEditor","Presentation"],
	//Pedagogical metadata
	"age_range":"5 - 20",
	"subject":["Science"],
	"educational_objectives":"Learn about Vish Editor",
	"adquired_competencies":"Basic knowledge about the definitions of Vish Editor presentations",
	//Vish Editor metadata
	"VEVersion":"0.2",
	"type":"presentation",
	"theme":"theme1",
	"slides":[
		{
			"id":"article1",
			"type":"standard",
			"template":"t2",
			"elements":[
				{
					"id":"article1_zone1",
					"type":"text",
					"areaid":"left",
					"body":"Hello World!"
				}
			]
		},{
			"id":"article2",
			"type":"standard",
			"template":"t5",
			"elements":[
				{
					"id":"article2_zone1",
					"type":"text",
					"areaid":"header",
					"body":"Write the title of your second slide here"
				},{
						"id":"article2_zone2",
						"type":"text",
						"areaid":"left",
						"body":"This is a basic presentation example"
				},{
					"id":"article2_zone3",
					"type":"image",
					"areaid":"right",
					"body":"http://localhost/vishEditor/images/background1.png",
					"style":"position: relative; width:85%; height:26%; top:36%; 
                                                 left:10%"
				}
			]
		}
	]
}