Changeset 11505
- Timestamp:
- 2006-03-27T17:41:39+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl-documentation/tutorials/xml-source/tutorial_en.xml
r11496 r11505 1261 1261 <td>[link][icon][/link]</td> <br/> 1262 1262 <td>[ex.Title]<br><br/> 1263 & lt;i>([ex.Source])</i><br/>1263 <i>([ex.Source])</i><br/> 1264 1264 </td> 1265 1265 </Format> … … 1291 1291 <td>[link][icon][/link]</td><br/> 1292 1292 <td>[ex.Title]<br><br/> 1293 1293 [dc.Subject]<br/> 1294 1294 </td><br/> 1295 1295 </Format> … … 1570 1570 <td valign=top><br/> 1571 1571 <highlight>{If}{[dc.Format] eq 'Audio', </highlight><br/> 1572 <highlight> [srclink][srcicon][/srclink], </highlight><br/>1573 <highlight> [link][icon][/link]}</highlight></td> <br/>1572 <highlight> [srclink][srcicon][/srclink], </highlight><br/> 1573 <highlight> [link][icon][/link]}</highlight></td> <br/> 1574 1574 <td valign=top>[highlight] {Or}{[dls.Title],[dc.Title],[Title],Untitled} [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td> 1575 1575 </Format> … … 1582 1582 <Path>sample_files → beatles → format_tweaks → audio_tweak.txt</Path> 1583 1583 <Text id="0586">(Be sure to use WordPad rather than Notepad, because Notepad does not display the line breaks correctly.) Place it in the copy buffer by highlighting the text in WordPad and selecting <Menu>Edit → Copy</Menu>. Now move back to the Librarian Interface, highlight all the text that makes up the current VList format statement, and use <Menu>Edit → Paste</Menu> to transform the old statement to the new one. Remember to press <<b>Replace Format</b>> when finished.</Text> 1584 <Text id="0589"><b>Preview</b> the result. If you are using the Greenstone Local Library server, change to the <b>Create </b>panel and click <<b>Preview Collection</b>>, which causes the local library server to rescan the format statements. You do not need to build the collection again because format statements are only used by the runtime system.</Text> 1585 <Text id="0592">However, you may need to click the browser's <<b>Reload</b>> button to force it to re-load the page.</Text> 1584 <Text id="0589"><b>Preview</b> the result. You may need to click the browser's <<b>Reload</b>> button to force it to re-load the page.</Text> 1586 1585 </NumberedItem> 1587 1586 <NumberedItem> … … 1593 1592 <td valign=top><br/> 1594 1593 {If}{[dc.Format] eq 'Audio',<br/> 1595 [srclink][srcicon][/srclink],<br/>1596 [link][icon][/link]}</td> <br/>1594 [srclink][srcicon][/srclink],<br/> 1595 [link][icon][/link]}</td> <br/> 1597 1596 <td valign=top>[highlight] {Or}{[dls.Title],[dc.Title],[Title],Untitled} [/highlight]<highlight>{If}{[ex.Source],<br><i>([ex.Source])</i>}</highlight></td></Format> 1598 1597 </Bullet> … … 1632 1631 <td valign=top><br/> 1633 1632 {If}{[dc.Format] eq 'Audio',<br/> 1634 1635 1633 [srclink][srcicon][/srclink],<br/> 1634 [link][icon][/link]}</td><br/> 1636 1635 <highlight><td>{If}{[numleafdocs],([numleafdocs])}</td></highlight><br/> 1637 1636 <td valign=top>[highlight] {Or}{[dls.Title],[dc.Title],[Title],Untitled} [/highlight]</td></Format> … … 1646 1645 <Format><td valign=top><br/> 1647 1646 {If}{[dc.Format] eq 'Audio',<br/> 1648 1649 1650 1651 1647 [srclink][srcicon][/srclink],<br/> 1648 <highlight>{If}{[dc.Format] eq 'Images',</highlight><br/> 1649 <highlight>[srclink][thumbicon][/srclink],</highlight><br/> 1650 [link][icon][/link]}<highlight>}</highlight></td><br/> 1652 1651 <td>{If}{[numleafdocs],([numleafdocs])}</td><br/> 1653 1652 <td valign=top>[highlight] {Or}{[dls.Title],[dc.Title],[Title],Untitled} [/highlight]</td></Format> … … 1747 1746 <Text id="0648">Re-Edit your <b>VList</b> format statement to be the following (in <Menu>Design → Format Features</Menu>)</Text> 1748 1747 <Format><highlight><td valign=top></highlight><br/> 1749 <highlight>{If}{[numleafdocs],[link][icon][/link]}</highlight><br/>1750 <highlight>{If}{[dc.Format] eq 'Lyrics',[link]_iconlyrics_[/link]}</highlight><br/>1751 <highlight>{If}{[dc.Format] eq 'Discography',[link]_icondisc_[/link]}</highlight><br/>1752 <highlight>{If}{[dc.Format] eq 'Tablature',[link]_icontab_[/link]}</highlight><br/>1753 <highlight>{If}{[dc.Format] eq 'MARC',[link]_iconmarc_[/link]}</highlight><br/>1754 <highlight>{If}{[dc.Format] eq 'Images',[srclink][thumbicon][/srclink]}</highlight><br/>1755 <highlight>{If}{[dc.Format] eq 'Supplementary',[srclink][srcicon][/srclink]}</highlight><br/>1756 <highlight>{If}{[dc.Format] eq 'Audio',[srclink]{If}{[FileFormat] eq 'MIDI',_iconmidi_,_iconmp3_}[/srclink]}</highlight><br/>1748 <highlight>{If}{[numleafdocs],[link][icon][/link]}</highlight><br/> 1749 <highlight>{If}{[dc.Format] eq 'Lyrics',[link]_iconlyrics_[/link]}</highlight><br/> 1750 <highlight>{If}{[dc.Format] eq 'Discography',[link]_icondisc_[/link]}</highlight><br/> 1751 <highlight>{If}{[dc.Format] eq 'Tablature',[link]_icontab_[/link]}</highlight><br/> 1752 <highlight>{If}{[dc.Format] eq 'MARC',[link]_iconmarc_[/link]}</highlight><br/> 1753 <highlight>{If}{[dc.Format] eq 'Images',[srclink][thumbicon][/srclink]}</highlight><br/> 1754 <highlight>{If}{[dc.Format] eq 'Supplementary',[srclink][srcicon][/srclink]}</highlight><br/> 1755 <highlight>{If}{[dc.Format] eq 'Audio',[srclink]{If}{[FileFormat] eq 'MIDI',_iconmidi_,_iconmp3_}[/srclink]}</highlight><br/> 1757 1756 <highlight></td></highlight><br/> 1758 1757 <td><br/> … … 1784 1783 body.bgimage \{ background-image: url("_httpcimages_/beat_margin.gif"); \}<br/> 1785 1784 \#page \{ margin-left: 120px; \}<br/> 1786 < style><br/>1785 </style><br/> 1787 1786 } 1788 1787 </Format> … … 1794 1793 #body.bgimage \{ background-image: url("_httpcimages_/beat_margin.gif"); \}<br/> 1795 1794 #\#page \{ margin-left: 120px; \} <br/> 1796 #< style><br/>1795 #</style><br/> 1797 1796 #}<br/> 1798 1797 <br/> … … 1800 1799 <style><br/> 1801 1800 body.bgimage \{ background-image: url("_httpcimages_/tile.jpg"); \}<br/> 1802 < style><br/>1801 </style><br/> 1803 1802 } 1804 1803 </Format> … … 1825 1824 </Bullet> 1826 1825 <Bullet> 1827 <Text id="0664">Start a new collection called <i>advbeat _large</i> (<Menu>File → New</Menu>).</Text>1826 <Text id="0664">Start a new collection called <i>advbeat</i> (<Menu>File → New</Menu>).</Text> 1828 1827 </Bullet> 1829 1828 <Bullet> … … 1832 1831 <Bullet> 1833 1832 <Text id="0666">Copy the content of <Path>sample_files → beatles → advbeat_large → import</Path> into this newly formed collection. Since there are considerably more files in this set of documents the copy will take longer.</Text> 1833 </Bullet> 1834 <Bullet> 1834 1835 <Text id="0670"><b>Build</b> the collection and preview the result. (If you want the collection to have an icon, you will have to add it from the <b>Design</b> panel.)</Text> 1835 1836 </Bullet> … … 1917 1918 <Format> 1918 1919 <center><br/> 1919 & lt;table width=_pagewidth_><br/>1920 & lt;tr><br/>1921 & lt;td valign=top>[srclink][screenicon][/srclink]</td><br/>1922 & lt;td>[Text]</td><br/>1923 & lt;/tr><br/>1924 & lt;/table><br/>1920 <table width=_pagewidth_><br/> 1921 <tr><br/> 1922 <td valign=top>[srclink][screenicon][/srclink]</td><br/> 1923 <td>[Text]</td><br/> 1924 </tr><br/> 1925 </table><br/> 1925 1926 </center> 1926 1927 </Format> … … 2001 2002 <Format> 2002 2003 <td><br/> 2003 {If}{[numleafdocs],[link][icon][/link],[link][thumbicon]<br/> 2004 [/link]}<br/> 2004 {If}{[numleafdocs],[link][icon][/link],[link][thumbicon][/link]}<br/> 2005 2005 </td><br/> 2006 2006 <td valign=middle><br/> 2007 2007 {If}{[numleafdocs],[Title],<i>[Description]</i>}<br/> 2008 2008 </td> 2009 2009 </Format> … … 2188 2188 <NumberedItem> 2189 2189 <Text id="0780">Now select the <b>Format Features </b>section of the <b>Design</b> panel and replace the <b>VList</b> format statement with this:</Text> 2190 <Format><td valign=top>[link][icon][/link]</td><br/> <td valign=top><br/> [srclink][srcicon][/srclink]<br/> </td><br/> <td valign=top><br/> [highlight]{Or}{[dc.Title],[ex.Title],Untitled}[/highlight]<br/> {If}{[ex.Source],<br><br/> <i>([ex.Source])</i>}{If}{[equivlink],<br><br/> Also available as:[equivlink]}<br/> </td> </Format> 2190 <Format> 2191 <td valign=top>[link][icon][/link]</td><br/> 2192 <td valign=top><br/> 2193 [srclink][srcicon][/srclink]<br/> 2194 </td><br/> 2195 <td valign=top><br/> 2196 [highlight]{Or}{[dc.Title],[ex.Title],Untitled}[/highlight]<br/> 2197 {If}{[ex.Source],<br><i>([ex.Source])</i>}<br/> 2198 {If}{[equivlink],<br>Also available as:[equivlink]}<br/> 2199 </td> 2200 </Format> 2191 2201 <Text id="0781">You will find this text in the file <i>format_tweak.txt </i>in the <i>dspace </i>folder of <i>sample_files</i>, and you can copy and paste this. Remember to press <<b>Replace Format</b>> when finished.</Text> 2192 2202 </NumberedItem> … … 2202 2212 <td valign=top>[link][icon][/link]</td><br/> 2203 2213 <td valign=top><br/> 2204 [srclink][srcicon][/srclink]<br/>2214 [srclink][srcicon][/srclink]<br/> 2205 2215 </td><br/> 2206 2216 <td valign=top><br/> 2207 [highlight]<br/>2208 {If}{[numleafdocs],([numleafdocs]) [ex.Title],[dc.Title]}<br/>2209 [/highlight]<br/>2210 {If}{[ex.Source],<br><br/>2211 <i>([ex.Source])</i>}{If}{[equivlink],<br><br/>2212 Also available as:[equivlink]}<br/> 2213 </td></Format>2217 [highlight]<br/> 2218 {If}{[numleafdocs],([numleafdocs]) [ex.Title],[dc.Title]}<br/> 2219 [/highlight]<br/> 2220 {If}{[ex.Source],<br><i>([ex.Source])</i>}<br/> 2221 {If}{[equivlink],<br>Also available as:[equivlink]}<br/> 2222 </td> 2223 </Format> 2214 2224 <Text id="0784">and click <<b>Add Format</b>>. This will display the number of documents for each bookshelf in the authors classifier.</Text> 2215 2225 <Text id="0785">You will find this text in the file <i>format_contributor.txt </i>in the <i>dspace </i>folder of <i>sample_files</i>, and you can copy and paste this.</Text> … … 2237 2247 </Heading> 2238 2248 <NumberedItem> 2239 <Text id="0791">Perform the first four steps of the <TutorialRef id="OAI_downloading"/> exercise: open a command window, change directory to where Greenstone is installed, run <i>setup.bat</i>,and change directory once again, this time into <i>collect\stoned</i>, the collection you built in the last exercise.</Text> 2249 <Text id="0790a">Open a DOS window to access the command-line prompt. This facility should be located somewhere within your <Menu>Start → Programs</Menu> menu, but details vary between different Windows systems. If you cannot locate it, select <Menu>Start → Run</Menu> and enter <i>cmd</i> in the popup window that appears.</Text> 2250 </NumberedItem> 2251 <NumberedItem> 2252 <Text id="0790b">In the DOS window, move to the home directory where you installed Greenstone. This is accomplished by something like:</Text> 2253 <Command>cd C:\Program Files\Greenstone</Command> 2254 </NumberedItem> 2255 <NumberedItem> 2256 <Text id="0790c">Type:</Text> 2257 <Command>setup.bat</Command> 2258 <Text id="0790d">to set up the ability to run Greenstone command-line programs.</Text> 2259 </NumberedItem> 2260 <NumberedItem> 2261 <Text id="0790e">Change directory into the folder containing the StoneD collection you built in the last exercise.</Text> 2262 <Command>cd collect\stoned</Command> 2240 2263 </NumberedItem> 2241 2264 <NumberedItem>
Note:
See TracChangeset
for help on using the changeset viewer.