Debian Codegraph @

winfo/Newsletters/README

raw
1
2 ACEDB newsletters
3 =================
4
5 Currently this newsletter is sent to:
6
7 acedbg the acedb usergroup
8 <many other people...see my circulation list in pine>
9
10 It is sent at the beginning of each month and its purpose to keep users in touch with
11 whats going on in acedb. It's not supposed to long winded, just a quick summary.
12
13 I keep the newsletters in CVS as html docs, they are copied nightly to the acedb
14 web home page directories by the updateftpdoc script and can be viewed from the acedb
15 homepage.
16
17
18 Scripts for newsletters
19 -----------------------
20 Several scripts are used to prepare the newsletters and associated gubbins, they
21 can all be found in this directory (winfo/Newsletters):
22
23 cvschanges - use this to find out what's changed in cvs
24
25 html2txt - use this to turn a newsletter into plain text
26 for emailing to users.
27
28 mkindex.pl - use this to prepare/update the index file for each
29 directory containing a years worth of newsletters.
30
31
32
33
34 1) Preparing a new newsletter
35 -----------------------------
36 Copy the newsletter template in this directory (Newsletter.template.html) into
37 the appropriate file (e.g. Year2001/June.html). Then edit the newsletter making
38 sure to replace all occurances of "***" with appropriate text.
39
40 You can get an idea of what changes have been made to acedb by using the
41 cvschanges script to look at the cvs change logs.
42
43 Now add the new newsletter to the cvs repository.
44
45
46 2) Turning a newsletter into plain text for emailing to users
47 -------------------------------------------------------------
48 The newsletter is sent out in plain text form in emails. This is accomplished in the
49 following way:
50
51 1) use the perl script html2txt to prepare a specially formatted copy
52 of the news letter, e.g.
53
54 > html2txt < Jan.html > Jan.new.html
55
56 2) View the new html document in netscape (don't worry that it looks a bit strange):
57
58 > netscape Jan.new.html
59
60 3) Use the netscape "File" -> "Save as" menu option to save this file
61 as plain text.
62
63 Now cut/paste this plain text file in to the email and send it out.
64
65 The reason for using the html2txt script is that it will put in underlining of
66 headings which netscape does not do (it also does bold).
67
68 Once you've sent it out, you can chuck away the text version of the letter.
69
70
71 3) Updating the index file in the Year subdirectory
72 ---------------------------------------------------
73 Now you need to update the index file to include the new newsletter. You will
74 need to check out the index.shtml file in the Year directory containing the
75 new newsletter. Then run the mkindex.pl script against the directory:
76
77 > mkindex.pl YearNNNN
78
79 Now check back in the index.shtml file.
80
81
82 4) Updating the index file in the Newsletters directory
83 -------------------------------------------------------
84 Currently this is done by hand by simply cut/pasting the htmlised index for
85 the current months newsletter from the YearNNNN/index.shtml file into the
86 index file at this level. Just follow the laid out pattern, should take
87 2 minutes to do. REMEMBER to change the links from e.g. ./May.html to
88 ./Year2001/May.html !!
89
90 Really mkindex.pl should handle this as well and do it
91 all in one go.