Changeset 206
- Timestamp:
- 08/26/08 18:22:05 (3 months ago)
- Files:
-
- trunk/shakespeare/templates/guide.html (modified) (1 diff)
- trunk/shakespeare/templates/index.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/shakespeare/templates/guide.html
Revision 195 Revision 206 1 <html xmlns:py="http://genshi.edgewall.org/" 1 <html xmlns:py="http://genshi.edgewall.org/" 2 xmlns:xi="http://www.w3.org/2001/XInclude"> 2 xmlns:xi="http://www.w3.org/2001/XInclude"> 3 3 4 <py:def function="page_title">Guide to the Web Interface</py:def> 4 <py:def function="page_title">Guide to the Web Interface</py:def> 5 5 6 <div py:match="content"> 6 <div py:match="content"> 7 <p> 7 <p> 8 This page provides a guide to the features of the Open Shakespeare web 8 This page provides a guide to the features of the Open Shakespeare web 9 interface. 9 interface. 10 </p> 10 </p> 11 <h2> 11 <h2> 12 The Index 12 The Index 13 </h2> 13 </h2> 14 <p> 14 <p> 15 The <a href="${h.url_for(controller='text', action='index')}">text index 15 The <a href="${h.url_for(controller='text', action='index')}">text index 16 page</a> contains a list of all of the material on the system. 16 page</a> contains a list of all of the material on the system. 17 </p> 17 </p> 18 <h2> 18 <h2> 19 Viewing Works 19 Viewing Works 20 </h2> 20 </h2> 21 <p> 21 <p> 22 You can view works by clicking on the link available from the index page. 22 You can view works by clicking on the link available from the index page. 23 If you know the 'id' of a text you can view it directly by visiting the 23 If you know the 'id' of a text you can view it directly by visiting the 24 url: ${h.url_for(controller='text', action='view', name='id')} (you can work 24 url: ${h.url_for(controller='text', action='view', name='id')} (you can work 25 out id names by looking at the link urls on the index page). 25 out id names by looking at the link urls on the index page). 26 </p> 26 </p> 27 27 28 <h3>Viewing in different formats</h3> 28 <h3>Viewing in different formats</h3> 29 <p> 29 <p> 30 You can view a given text in a different format by setting the format 30 You can view a given text in a different format by setting the format 31 argument in the url query string like so: 31 argument in the url query string like so: 32 </p> 32 </p> 33 <pre> 33 <pre> 34 ${h.url_for(controller='text', action='view', name='id', format='format_name')} 34 ${h.url_for(controller='text', action='view', name='id', format='format_name')} 35 </pre> 35 </pre> 36 <p> 36 <p> 37 So to view Hamlet with line numbers shown you would visit: 37 So to view Hamlet with line numbers shown you would visit: 38 </p> 38 </p> 39 <blockquote><p> 39 <blockquote><p> 40 <a href="${h.url_for(controller='text', action='view', name='hamlet_gut', format='lineno')}"> 40 <a href="${h.url_for(controller='text', action='view', name='hamlet_gut', format='lineno')}"> 41 ${h.url_for(controller='text', action='view', name='hamlet_gut', format='lineno')}</a> 41 ${h.url_for(controller='text', action='view', name='hamlet_gut', format='lineno')}</a> 42 </p></blockquote> 42 </p></blockquote> 43 <p> 43 <p> 44 Available formats are: 44 Available formats are: 45 </p> 45 </p> 46 <ul> 46 <ul> 47 <li>format=plain - plain version of the file (default)</li> 47 <li>format=plain - plain version of the file (default)</li> 48 <li>format=raw - raw file returned as text/plain</li> 48 <li>format=raw - raw file returned as text/plain</li> 49 <li>format=lineno - text with line numbers added</li> 49 <li>format=lineno - text with line numbers added</li> 50 </ul> 50 </ul> 51 51 52 <h3>Multiviews</h3> 52 <h3>Multiviews</h3> 53 <p> 53 <p> 54 You can view mutiple texts at once by concatenating the name-ids 54 You can view mutiple texts at once by concatenating the name-ids 55 separated by '+'. For example to see the Gutenberg folio and non-folio 55 separated by '+'. For example to see the Gutenberg folio and non-folio 56 Othello side-by-side you would visit: <a 56 Othello side-by-side you would visit: <a 57 href="${h.url_for(controller='text', action='view', name='othello_gut_f othello_gut')}"> 57 href="${h.url_for(controller='text', action='view', name='othello_gut_f othello_gut')}"> 58 ${h.url_for(controller='text', action='view', name='othello_gut_f othello_gut')} 58 ${h.url_for(controller='text', action='view', name='othello_gut_f othello_gut')} 59 </a> 59 </a> 60 </p> 60 </p> 61 61 62 <h2> 62 <h2> 63 Search 63 Search 64 </h2> 64 </h2> 65 <p> 65 <p> 66 See the <a href="${h.url_for(controller='search', action='index')}">search section</a>. 66 See the <a href="${h.url_for(controller='search', action='index')}">search section</a>. 67 </p> 67 </p> 68 68 69 <h2> 69 <h2> 70 S earch70 Stats 71 </h2> 71 </h2> 72 <p> 72 <p> 73 See the <a href="${h.url_for(controller='stats', action='index')}">stats section</a>. 73 See the <a href="${h.url_for(controller='stats', action='index')}">stats section</a>. 74 </p> 74 </p> 75 75 76 76 77 <h2>Comments</h2> 77 <h2>Comments</h2> 78 <p> 78 <p> 79 If you wish to comment on this guide (or help improve it!) please drop a 79 If you wish to comment on this guide (or help improve it!) please drop a 80 line to the Open Shakespeare team via at info [at] okfn [dot] org. 80 line to the Open Shakespeare team via at info [at] okfn [dot] org. 81 </p> 81 </p> 82 </div> 82 </div> 83 83 84 <xi:include href="layout.html" /> 84 <xi:include href="layout.html" /> 85 </html> 85 </html> trunk/shakespeare/templates/index.html
Revision 201 Revision 206 1 <html xmlns:py="http://genshi.edgewall.org/" 1 <html xmlns:py="http://genshi.edgewall.org/" 2 xmlns:xi="http://www.w3.org/2001/XInclude"> 2 xmlns:xi="http://www.w3.org/2001/XInclude"> 3 3 4 <py:def function="page_title">Home</py:def> 4 <py:def function="page_title">Home</py:def> 5 5 6 <div py:match="content"> 6 <div py:match="content"> 7 <p> 7 <p> 8 Welcome to the Open Shakespeare web interface. This site provides access 8 Welcome to the Open Shakespeare web interface. This site provides access 9 to many, but by no means all, of the facilities of the Open Shakespeare 9 to many, but by no means all, of the facilities of the Open Shakespeare 10 <a 10 <a 11 href="http://knowledgeforge.net/shakespeare/trac/"><strong>package</strong></a>. 11 href="http://knowledgeforge.net/shakespeare/trac/"><strong>package</strong></a>. 12 For example you can: 12 For example you can: 13 </p> 13 </p> 14 <ul> 14 <ul> 15 <li><a href="${h.url_for(controller='text', action=None)}">Read any of 15 <li><a href="${h.url_for(controller='text', action=None)}">Read any of 16 Shakespeare's plays or poems</a></li> 16 Shakespeare's plays or poems</a></li> 17 <li><a href="${h.url_for(controller='site', action='guide')}">Compare two 17 <li><a href="${h.url_for(controller='site', action='guide')}">Compare two 18 versions of the same text side-by-side</a></li> 18 versions of the same text side-by-side</a></li> 19 <li><a href="${h.url_for(controller='stats', 19 <li><a href="${h.url_for(controller='stats', 20 action='index')}">Analyze text or word statistics</a></li> 20 action='index')}">Analyze text or word statistics</a></li> 21 <li><a href="${h.url_for(controller='search', 21 <li><a href="${h.url_for(controller='search', 22 action='index')}">Search any text</a></li> 22 action='index')}">Search any text</a></li> 23 </ul> 23 </ul> 24 24 25 <p>More information on using this web interface can be found in the <a 25 <p>More information on using this web interface can be found in the <a 26 href="${h.url_for(controller='site', action='guide')}">guide</a>.</p> 26 href="${h.url_for(controller='site', action='guide')}">guide</a>.</p> 27 28 <h3>Why Open Shakespeare</h3> 29 <p> 30 If you type 'Shakespeare' into Google you find thousands of websites why do we need another? First off, unlike most other sites, everything you find here is <a href="http://opendefinition.org/">open</a> – that is you're free to use, reuse, and redistribute it without any need to seek permission.</p> 31 <p> 32 However, more importantly, <strong>this website is only a small part of what we're about</strong>. It serves to demonstrate what you can do with the Open Shakespeare package – a set of material and tools for exploring Shakespeare's life and work. The website demonstrates a few of the ways in which the Open Shakespeare package can be used. <strong>We actively encourage you to take and modify it to do things we haven't yet done</strong> – or even thought of! Some suggestions: 33 </p> 34 <ul> 35 <li>Line by line comparisons of different Shakespeare editions – scholars have spent years poring over the different Folios, now its your turn!</li> 36 <li>Our statistics are crude and simple. Maybe you'd like to look at the average length of minor characters speeches in the comedies, or simply find the text in which love and death are mentioned the most.</li> 37 <li>Produce your own critical edition: annotate and edit a play as you see fit not Arden!</li> 38 <li>Search for secret messages that show that Shakespeare was really Ben Jonson (or even Walter Raleigh!) ... </li> 39 </ul> 27 </div> 40 </div> 28 41 29 <xi:include href="layout.html" /> 42 <xi:include href="layout.html" /> 30 </html> 43 </html>
