Make the workshop page look the same as others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27918 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,29 +1,59 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
<HTML>
|
<html>
|
||||||
<HEAD>
|
<head>
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<TITLE>Workshop: Filetypes & Attributes</TITLE>
|
<title>Workshop: Filetypes & Attributes</title>
|
||||||
<META NAME="CREATED" CONTENT="0;0">
|
<style type="text/css">
|
||||||
<META NAME="CHANGEDBY" CONTENT="Humdinger">
|
body { padding: 0px }
|
||||||
<META NAME="CHANGED" CONTENT="20080926;15151900">
|
a:visited { color: #892601; }
|
||||||
<META NAME="CHANGEDBY" CONTENT="Humdinger">
|
a:link { color: #dc3c01; }
|
||||||
<STYLE TYPE="text/css">
|
</style>
|
||||||
</STYLE>
|
</head>
|
||||||
</HEAD>
|
<body lang="en-US" text="#000000" bgcolor="#ffffff" link="#dc3c01"
|
||||||
<BODY LANG="en-US">
|
vlink="#892601" marginwidth="0" marginheight="0">
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<COL WIDTH=256*>
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
<TR>
|
<tr>
|
||||||
<TD WIDTH=100% VALIGN=TOP BGCOLOR="#326496">
|
<td width="5%" bgcolor="#efefef" align="right" valign="bottom">
|
||||||
<P STYLE="background: #326496"><a href="welcome.html"><img src="welcome-images/shijin-logo.png" alt="Logo" border="0"></a></p>
|
<img src="welcome-images/logo_lt.png" alt="logo"
|
||||||
</TD>
|
border="0">
|
||||||
</TR>
|
</td>
|
||||||
<TR>
|
<td width="45%" bgcolor="#efefef" valign="bottom">
|
||||||
<TD WIDTH=100% VALIGN=TOP BGCOLOR="#204f7e">
|
<img src="welcome-images/logo_rt.png" alt="logo"
|
||||||
<P STYLE="background: #204f7e"><img src="welcome-images/dummy.png" alt="dummy"></p>
|
border="0">
|
||||||
</TD>
|
</td>
|
||||||
</TR>
|
<td width="45%" height="70" bgcolor="#efefef" align="right" valign="bottom">
|
||||||
<TR><TD WIDTH=100% VALIGN=TOP>
|
<font size="4">Welcome to Haiku!</font>
|
||||||
|
</td>
|
||||||
|
<td width="5%" bgcolor="#efefef"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="5%" bgcolor="#efefef" valign="top" align="right">
|
||||||
|
<img src="welcome-images/logo_lb.png" alt="logo"
|
||||||
|
border="0">
|
||||||
|
</td>
|
||||||
|
<td width="90%" bgcolor="#efefef" valign="top" colspan="2">
|
||||||
|
<img src="welcome-images/logo_rb.png" alt="logo"
|
||||||
|
border="0">
|
||||||
|
</td>
|
||||||
|
<td width="5%" bgcolor="#efefef"></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width="5%" bgcolor="#e0e0e0"> </td>
|
||||||
|
<td nowrap width="90%" bgcolor="#e0e0e0" align="right" colspan="2">
|
||||||
|
<small><a href="welcome.html">Welcome</a>
|
||||||
|
|
||||||
|
Previous: <a href="filetypes.html">Filetypes</a>
|
||||||
|
|
||||||
|
Next: <a href="attributes.html">File Attributes</a></small>
|
||||||
|
</td>
|
||||||
|
<td width="5%" bgcolor="#e0e0e0"> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width="5%"> </td>
|
||||||
|
<td width="90%" valign="top" colspan="2">
|
||||||
<br>
|
<br>
|
||||||
<p>This is a workshop to show the use of <a href="attributes.html">Attributes</a>, <a href="queries.html">Queries</a>, the <a href="index.html">Index</a> and custom <a href="filetypes.html">Filetypes</a>. As an example, we build a database to keep track of our DVD library.
|
<p>This is a workshop to show the use of <a href="attributes.html">Attributes</a>, <a href="queries.html">Queries</a>, the <a href="index.html">Index</a> and custom <a href="filetypes.html">Filetypes</a>. As an example, we build a database to keep track of our DVD library.
|
||||||
</p>
|
</p>
|
||||||
@@ -116,11 +146,10 @@ So, what will we be searching in the future? We probably won't ask "What's in th
|
|||||||
</p><p>
|
</p><p>
|
||||||
<table cellpadding=10 border=1>
|
<table cellpadding=10 border=1>
|
||||||
<th>Internal Name</th><th>Attribute type</th>
|
<th>Internal Name</th><th>Attribute type</th>
|
||||||
<tr>
|
<tr><td>DVDdb:title</td> <td>text</td> </tr>
|
||||||
<td>DVDdb:title</td> <td>text</td> </tr>
|
<tr><td>DVDdb:genre</td> <td>text</td> </tr>
|
||||||
<td>DVDdb:genre</td> <td>text</td> </tr>
|
<tr><td>DVDdb:cast</td> <td>text</td> </tr>
|
||||||
<td>DVDdb:cast</td> <td>text</td> </tr>
|
<tr><td>DVDdb:rating</td> <td>int-32</td> </td></tr>
|
||||||
<td>DVDdb:rating</td> <td>int-32</td> </td></tr>
|
|
||||||
</table>
|
</table>
|
||||||
</p><p>To index them, we open a Terminal and simply add one attribute after the other:
|
</p><p>To index them, we open a Terminal and simply add one attribute after the other:
|
||||||
<pre>mkindex -t string DVDdb:title
|
<pre>mkindex -t string DVDdb:title
|
||||||
@@ -150,7 +179,23 @@ Open the folder containing your DVDdb files and arrange the attributes how you'd
|
|||||||
</p><p>
|
</p><p>
|
||||||
<img src="workshop-filetypes+attributes-images/query-dvddb.png" alt="query-dvddb.png" width="757" height="462">
|
<img src="workshop-filetypes+attributes-images/query-dvddb.png" alt="query-dvddb.png" width="757" height="462">
|
||||||
</p>
|
</p>
|
||||||
</TD></TR>
|
|
||||||
</TABLE>
|
</td>
|
||||||
</BODY>
|
<td width="5%"> </td>
|
||||||
</HTML>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td width="5%" bgcolor="#efefef"> </td>
|
||||||
|
<td width="90%" bgcolor="#efefef" align="right" colspan="2">
|
||||||
|
<a href="welcome.html">Welcome</a>
|
||||||
|
|
||||||
|
Previous: <a href="filetypes.html">Filetypes</a>
|
||||||
|
|
||||||
|
Next: <a href="attributes.html">File Attributes</a>
|
||||||
|
</td>
|
||||||
|
<td width="5%" bgcolor="#efefef"> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user