summaryrefslogtreecommitdiffstats
path: root/2020/organizers-notebook.md
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2020-12-12 01:32:56 -0500
committerSacha Chua <sacha@sachachua.com>2020-12-12 01:32:56 -0500
commitdefbc38cdc86058aa14bb417acdec616103af63f (patch)
treef7faae6466b2992e7662d3d6401aa9538286e1d5 /2020/organizers-notebook.md
parent1d2f0dec62f3695d50ef4bb1400aa2f71d775135 (diff)
downloademacsconf-wiki-defbc38cdc86058aa14bb417acdec616103af63f.tar.xz
emacsconf-wiki-defbc38cdc86058aa14bb417acdec616103af63f.zip
Tweak pad template
Diffstat (limited to '2020/organizers-notebook.md')
-rw-r--r--2020/organizers-notebook.md129
1 files changed, 85 insertions, 44 deletions
diff --git a/2020/organizers-notebook.md b/2020/organizers-notebook.md
index 94a8e8d5..16d45bd1 100644
--- a/2020/organizers-notebook.md
+++ b/2020/organizers-notebook.md
@@ -76,6 +76,7 @@ organizers-notebook.org back to the repo.
Note that re-evaluating a defvar won't change the value, so if you want to change the value after this is already loaded, use `(setq ...)`.
+ (defvar conf/year 2020 "Year of conference.")
(defvar conf/buffer-minutes 3 "Number of minutes to use as a buffer between talks.")
(defvar conf/timezones '("EST" "America/Los_Angeles" "UTC" "CET" "Asia/Singapore") "List of timezones")
(defvar conf/autogenerate-talk-pages nil "Set this to t at the beginning of the conference, when we're still autogenerating individual talk pages.
@@ -272,7 +273,8 @@ STREAM - main organizer, CHECK - secondary organizer or volunteer, PAD - organiz
(defun conf/format-talk-link (talk)
(and talk (if (plist-get talk :talk-id)
- (format "<a href=\"/2020/talks/%s\">%s</a>"
+ (format "<a href=\"/%d/talks/%s\">%s</a>"
+ year
(plist-get talk :talk-id)
(plist-get talk :title))
(plist-get talk :title))))
@@ -334,24 +336,26 @@ STREAM - main organizer, CHECK - secondary organizer or volunteer, PAD - organiz
(if prev-talk (format "Previous: %s \n" prev-talk) "")
(if next-talk (format "Next: %s \n" next-talk) ""))))
(insert (format "[[%s title=\"%s\"]]
- [[%s copyright=\"Copyright &copy; 2020 %s\"]]
+ [[%s copyright=\"Copyright &copy; %s %s\"]]
- <!-- To edit the talk information, change /2020/info/TALKID.md. Boilerplate automatically generated from submissions.org using conf/generate-schedule-files --->\n
+ <!-- To edit the talk information, change info/TALKID.md. Boilerplate automatically generated from submissions.org using conf/generate-schedule-files --->\n
- %s
+ %s
- [[!inline pages=\"internal(2020/info/%s)\" raw=\"yes\"]]
+ [[!inline pages=\"internal(%s/info/%s)\" raw=\"yes\"]]
- %s
+ %s
- %s
+ %s
- "
+ "
"!meta"
(replace-regexp-in-string "\"" "\\\\\"" (plist-get o :title))
- "!meta"
+ "!meta"
+ conf/year
(plist-get o :speakers)
nav-links
+ conf/year
(plist-get o :talk-id)
schedule
nav-links)))
@@ -359,40 +363,77 @@ STREAM - main organizer, CHECK - secondary organizer or volunteer, PAD - organiz
talks)))
(defun conf/generate-pad-template ()
- (interactive)
- (let ((talks (conf/filter-talks conf/info)))
- (with-current-buffer (find-file "pad-template.md")
+ "Generate a template for copying and pasting into the pad.
+ Writes it to pad-template.html."
+ (interactive "p")
+ (let* ((talks (conf/filter-talks conf/info))
+ (text (concat
+ "<p>Conference info, how to watch/participate: https://emacsconf.org/2020/<br />
+ Guidelines for conduct: https://emacsconf.org/conduct/</p>
+
+ <p>Except where otherwise noted, the material on the EmacsConf pad are dual-licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International Public License; and the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) an later version.
+ Copies of these two licenses are included in the EmacsConf wiki repository, in the COPYING.GPL and COPYING.CC-BY-SA files (https://emacsconf.org/COPYING/).</p>
+
+ <p>By contributing to this pad, you agree to make your contributions available under the above licenses. You are also promising that you are the author of your changes, or that you copied them from a work in the public domain or a work released under a free license that is compatible with the above two licenses. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION.</p>
+
+ <p>
+ This pad is here to be curated by everybody and its rough structure is like this:
+ <ol><li>General info and license
+ <li>A section for each talk -> please do add questions and notes
+ <li>A general feedback section
+ </ol>
+ </p>
+ "
+ (mapconcat
+ (lambda (o)
+ (let ((url (format "https://emacsconf.org/%s/schedule/%s" conf/year (plist-get o :talk-id))))
+ (format "-------------------------------------------------------------------------------------------------<br/><strong>Talk%s: %s</strong><br />
+ Speaker(s): %s<br />
+ Talk page: <a href=\"%s\">%s</a><br />
+ Actual start of talk EST: &nbsp;&nbsp;&nbsp; Start of Q&A: &nbsp;&nbsp; End of Q&A: &nbsp;&nbsp;<br />
+ <strong>Questions:</strong>
+ Speakers may answer in any order or skip questions. As much as possible, put your questions at the top level instead of under another question. If adding an answer, please indicate [speaker] or your nick accordingly. Volunteers, please add new slots as ones get filled.<br />
+ <ul>
+ <li>Q1:&nbsp;<ul><li>A:&nbsp;</li></ul></li>
+ <li>Q2:&nbsp;<ul><li>A:&nbsp;</li></ul></li>
+ <li>Q3:&nbsp;<ul><li>A:&nbsp;</li></ul></li>
+ <li>Q4:&nbsp;<ul><li>A:&nbsp;</li></ul></li>
+ </ul>
+
+ <strong>Links and other notes:</strong>
+ <ul>
+ <li>sample text</li>
+ <li>sample text</li>
+ <li>sample text</li>
+ <li>sample text</li>
+ </ul>
+ " (plist-get o :talk-id) (plist-get o :title) (plist-get o :speakers) url url))) talks "<br/><br/>\n")
+ "<br/><br/>-------------------------------------------------------------------------------------------------<br/>
+ <strong>General Feedback: What went well?</strong><br/><br/>
+ <ul>
+ <li>sample text</li>
+ <li>sample text</li>
+ <li>sample text</li>
+ <li>sample text</li>
+ </ul>
+ <br /><br />
+ -------------------------------------------------------------------------------------------------<br/>
+ <strong>General Feedback: What to improve?</strong><br/><br/>
+ <ul>
+ <li>sample text</li>
+ <li>sample text</li>
+ <li>sample text</li>
+ <li>sample text</li>
+ </ul>
+ <br/><br/>
+ -------------------------------------------------------------------------------------------------<br/>
+ <strong>Colophon:</strong>
+ <ul></ul>")))
+ (with-current-buffer (find-file "pad-template.html")
(erase-buffer)
- (insert
- (concat
- "Conference info, how to watch/participate: <https://emacsconf.org/2020/>
- Code of conduct: <https://emacsconf.org/conduct/>
-
- "
- (mapconcat
- (lambda (o)
- (format "**%s**
- Speaker(s): %s
- Talk page: <https://emacsconf.org/2020/schedule/%s>
-
- *Questions:*
-
- * Put your questions here, most recent on top
- * sample text
-
- *Links:*
-
- * sample text
- * sample text
-
- *Other notes:*
-
- * sample text
- * sample text
- <br>
- <br>
- " (plist-get o :title) (plist-get o :speakers) (plist-get o :talk-id))) talks " \n \n")))
- (save-buffer))))
+ (insert text)
+ (save-buffer)))
+ (browse-url-of-file "pad-template.html"))
(defun conf/generate-talks-page ()
(let ((info conf/info))
@@ -706,10 +747,10 @@ Another collaborative pad
### Encode highly-compressed versions
-[Compressing video](#org9a70982)
+[Compressing video](#orgbdc605d)
-<a id="org9a70982"></a>
+<a id="orgbdc605d"></a>
### Compressing video