client/render-test.html
changeset 78 af9e716b01bc
parent 73 cc9deb3b3e13
child 114 110f99eb417e
equal deleted inserted replaced
77:4f2511a70880 78:af9e716b01bc
    26             $(function() {
    26             $(function() {
    27                 _renkan = new Rkns.Renkan({
    27                 _renkan = new Rkns.Renkan({
    28                     url: "data/simple-persist.php",
    28                     url: "data/simple-persist.php",
    29                     bins: [
    29                     bins: [
    30                     	{
    30                     	{
    31                     		bin: Rkns.ListBin,
    31                             title: "Projet Lignes de Temps",
       
    32                             type: "Ldt",
       
    33                             ldt_type: "Project",
       
    34                             project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
       
    35                             ldt_platform: "http://ldt.iri.centrepompidou.fr/"
       
    36                        },
       
    37                     	{
       
    38                     		type: "ResourceList",
    32                     		title: "Ressources",
    39                     		title: "Ressources",
    33                     		list: [
    40                     		list: [
    34                     			{
    41                     			{
    35                     				url: "http://www.google.com/",
    42                     				url: "http://www.google.com/",
    36                     				title: "Google",
    43                     				title: "Google",
    37                     				description: "Search engine",
    44                     				description: "Search engine",
    38                     				image: "http://www.google.fr/images/srpr/logo4w.png"
    45                     				image: "http://www.google.fr/images/srpr/logo4w.png"
    39                     			}, {
    46                     			},
    40                     				url: "http://www.twitter.com/"
    47                     			"Polemic Tweet http://www.polemictweet.com",
    41                     			}
    48                     			"Twitter http://www.twitter.com/"
    42                     		]
    49                     		]
    43                     	}
    50                     	}
    44                     ],
    51                     ],
    45                     search: [
    52                     search: [
    46                         {
    53                         {
    47                             type: Rkns.Ldt.Search
    54                             type: "Ldt"
    48                         },
    55                         },
    49                         {
    56                         {
    50                             type: Rkns.Wikipedia.Search,
    57                             type: "Wikipedia",
    51                             lang: "fr"
    58                             lang: "fr"
    52                         }, 
    59                         }, 
    53                         {
    60                         {
    54                             type: Rkns.Wikipedia.Search,
    61                             type: "Twitter"
    55                             lang: "en"
       
    56                         }, 
       
    57                         {
       
    58                             type: Rkns.Wikipedia.Search,
       
    59                             lang: "ja"
       
    60                         },
       
    61                         {
       
    62                             type: Rkns.Twitter.Search
       
    63                         }
    62                         }
    64                     ],
    63                     ],
    65                     property_files: [ "data/properties.json" ],
    64                     property_files: [ "data/properties.json" ],
    66                     user_id: "u-iri",
    65                     user_id: "u-iri",
    67                     language: "fr",
    66                     language: "fr",