/[simile]/sql/mt.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sql/mt.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 34 - (show annotations)
Sat Oct 25 12:47:24 2008 UTC (15 years, 5 months ago) by dpavlin
File MIME type: text/html
File size: 1671 byte(s)
encode property valueType for Exhibit in column name

Original idea was to get it directly from DBI, but that
didn't turn out to work well, so we extend column name
in SQL query with valueType and name of type
1 <html>
2 <head>
3 <title>Movable Type Exhibit</title>
4
5 <link rel="exhibit/data" type="application/json" href="mt.js" />
6
7 <script
8 src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js"
9 type="text/javascript"></script>
10
11 <script
12 src="http://static.simile.mit.edu/exhibit/extensions-2.0/time/time-extension.js"></script>
13
14 <!--
15 <script
16 src="../exhibit/api/exhibit-api.js"
17 type="text/javascript"></script>
18 <script
19 src="..//exhibit/extensions/time/time-extension.js"></script>
20 -->
21
22
23 </head>
24 <body>
25 <div style="float: right">
26 <a href="http://simile.mit.edu/exhibit/">exhibit</a></div>
27 <table width="100%" style="font-size: 0.8em">
28 <tr valign="top">
29 <td rowspan="2" width="25%">
30 <div ex:role="facet" ex:facetClass="TextSearch" ex:facetLabel="Search"></div>
31
32 <div ex:role="facet" ex:expression=".author" ex:facetLabel="Author"
33 ex:sortMode="count"></div>
34
35 <div ex:role="facet" ex:expression=".year" ex:facetLabel="Year"
36 ex:sortMode="count" ex:scroll="false"></div>
37
38 <div ex:role="facet" ex:expression=".length" ex:facetClass="NumericRange" ex:facetLabel="Length range"
39 ex:interval="1024" ex:scroll="true"></div>
40
41 </td>
42 </tr>
43 <tr valign="top">
44 <td ex:role="viewPanel">
45
46 <div ex:role="view" ex:viewClass="Timeline" ex:start=".date"
47 ex:colorKey=".author"
48 ex:topBandUnit="week" ex:topBandPixelsPerUnit="100"
49 ex:bottomBandUnit="month" ex:bottomBandPixelsPerUnit="25"
50 ex:timelineHeight="550" />
51
52 </td>
53
54 </tr>
55 </table>
56
57 </body>
58 </html>

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26