mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-21 23:01:55 +00:00
more refinements
This commit is contained in:
parent
5a1923c5bb
commit
4538fde1ca
@ -88,11 +88,34 @@ it is handy to print out this page and tick off the steps as you do them.
|
||||
}
|
||||
</pre></code>
|
||||
<h3 id="reimport">Rename and reimport</a></h3>
|
||||
<p>...[to be done]
|
||||
<h3 id="tidy">Tidy oddities</a></h3>
|
||||
Go to page http://expo.survex.com/controlpanel and use the "Export logbook to a different format" section to export
|
||||
the year you are working on.
|
||||
<p>
|
||||
In expoweb/years/<em>current year</em>/ :
|
||||
<ol>
|
||||
<li>Rename logbook.html as logbook-original.html
|
||||
<li>Rename logbook-new-format.html as logbook.html
|
||||
</ol>
|
||||
<p>At the command line, re-import the logbook using <var>python databaseRest.py logbooks</var> and look for errors in the terminal as it does it.
|
||||
<p>You have now consolidated the blog into the logbook, and put all the entries in date order too.
|
||||
|
||||
<p>[ The true expert will edit parsers/imports.py to make the databaseReset option 'logbook' just do the year you are working on.]
|
||||
|
||||
<h3 id="tidy">Oddities</a></h3>
|
||||
<p>With the blog, we have well known expoers labelled as unrecognized because while they posted to the blog, they were not actually on expo in that year. This is not a bug, but don't be confused by it.
|
||||
<p>Somewhere the encode/decode process of exporting the content of the trip writeups is turning quote marks into question marks, and > into &gt;. Currently these are all being hand-edited to fix. The fault
|
||||
is somewhere in the settings for rendering a dictionary using a Django template, and hard to find and fix.
|
||||
|
||||
<h4>Fixing dates and trips</h4>
|
||||
<p>It it noticeable that a single blog post may cover several trips, and that the blog post date may be several days after the trip(s). So you need to manually find out the exact date of the trip (from the other trip records and particularly from the Bier Book) and change the date on the entry.
|
||||
|
||||
<p>One blog post may also need to be split into several entries - in which case be careful with the 'id=' string as this needs to be unique for each entry.
|
||||
|
||||
When you split a blog into different entries the quickest way to re-order everything in date-order is to export the logbook and re-import it.
|
||||
|
||||
<h3 id="final">Finally: Separate out Training Weeks</a></h3>
|
||||
<p>The very last thing to do is to edit 'logbook.html' to remove the pre-expo training events and to put them into a file 'training-weekends.html', and to edit the 'index.html' file to link to that as well as to the logbook itself. This is necessary for the pre-expo material to get indexed by the server free-text indexer and search engine.
|
||||
|
||||
<hr />
|
||||
<p>
|
||||
Back to <a href="logbooks-parsing.html">Logbooks Import for Nerds</a> documentation.<br>
|
||||
|
1765
years/2022/logbook-temp.html
Normal file
1765
years/2022/logbook-temp.html
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user