-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (30 loc) · 1.84 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="https://code.jquery.com/jquery-1.12.4.js" integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU=" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/Ei.js"></script>
<script type="text/javascript" src="js/EiObject.js"></script>
</head>
<body>
<ul eiData="[{title:'Sport'},{title:'Politk'},{title:'Wetter'},{title:'Kunst'},{title:'Technik'}]" eiId="liste">
<li>{title}</li>
</ul>
<a href='javascript:Ei.get("liste").render([{title: "Alles"},{title: "neu"},{title: "hier"},{title: "!"}])'>Alles neu
hier!</a>
<div id="twitter" eiDataUrl="http://search.twitter.com/search.json?q=meal&callback=?" eiId="twitter" eiMapping="results"
eiRefresh="3" eiLoading="function(){}">
<div>{from_user}: {text}</div>
</div>
<select name="photoset"
onchange="Ei.get('flickr').load('http://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&photoset_id='+document.getElementsByName('photoset')[0].value+'&api_key=531e7a0d62fe823d91b9ebcfca750195&format=json&jsoncallback=?')"
eiDataUrl="http://api.flickr.com/services/rest/?method=flickr.collections.getTree&user_id=24537538@N04&api_key=531e7a0d62fe823d91b9ebcfca750195&collection_id=72157624746422138&format=json&jsoncallback=?"
eiMapping="collections.collection.0.set" eiId="collections">
<option value="{id}">{title}</option>
</select>
<div eiDataUrl="http://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&photoset_id=72157624621893921&api_key=531e7a0d62fe823d91b9ebcfca750195&format=json&jsoncallback=?"
eiMapping="photoset.photo" eiId="flickr">
<img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt="{title}" title="{title}"/>
</div>
</body>
</html>