To generate the schedule for the website
To generate the schedule for the website
-
Make sure you have the files
order.txt,authors.csv,session-chairs.csvandanthology-mapping.csvunder thedatadirectory. -
Run
python parse_order_file_and_generate_schedule.py --order data/order.txt --authors data/authors.csv --chairs data/session-chairs.csv --anthology data/anthology-mapping.csv. This will print out the HTML schedule to standard output. Take this output and replace the HTML inschedule.mdin the appropriate place (which is the HTML that starts at the div block of Day 2 of the conference - November 2, 2018 and goes till right before the div block of the form containing the generate PDF button).Notes:
- The
anthology-mapping.csvandsession-chairs.csvare optional but if you skip them, session chair links and PDF icon-links will not be included in the schedule HTML. - Since TACL paper PDFs are not always in the anthology in time for the conference schedule, they are added manually to the
anthology-mapping.csvfile with the actual TACL PDFs added to thedownloadsfolder.
- The
To generate the sponsor thumbnails for the GuideBook app
-
Install the python-frontmatter package.
-
Make sure you have the Guidebook custom list template in the same directory as the script (file named
Guidebook_CL_Template.csv). -
Run
python generate_app_sponsor_logos.py. -
Upload the generated files
emnlp2018-sponsors.csvandsponsors-thumbs.zipinto the “Sponsors” custom list in the GuideBook builder.
To generate the schedule for the GuideBook app
-
Make sure you have the files
order.txt,authors.csv,session-chairs.csv,abstracts.csv, andanthology-mapping.csvunder thedatadirectory. (Note: If you need to regenerateabstracts.csv, you will need to runpython generate_abstract_csv.py --input abstracts --output data/abstracts.csv --anthology data/anthology-mapping.csvwhereabstractsis the directory containing the individual abstract files obtained from the program/pub chairs). Note thatanthology-mapping.csvis generated by screen-scraping the anthology webpages for EMNLP 2018. - Run
python parse_order_file_for_app.py --order data/order.txt --authors data/authors.csv --chairs data/session-chairs.csv --abstracts data/abstracts.csv --anthology data/anthology-mapping.csvto generate the following files:data/app/sessions.csvdata/app/authors.csvdata/app/papers.csvdata/app/linking.csv
Note that
sessions.csv,authors.csvandlinking.csvare already pre-populated (with tutorial and workshop info) and will be appended to rather than created from scratch.papers.csvonly pertains to posters and presentations and will be created from scratch. Note also that theanthology-mapping.csvandsession-chairs.csvare optional but if you skip them, session chair names and PDF links will not be included in the app data. Also, just like earlier, TACL paper PDFs URLs in the app do not point to the anthology but rather to the conference websitedownloadsfolder. -
Make sure you have the following Guidebook template files in the
data/appdirectory:CustomListItem_Link_template.csvGuidebook_CL_Template.csvGuidebook_Schedule_Template.csvSessions_Link_template.csv
- Run
python fill_in_app_templates.csvto generate the follwing files:data/app/all-sessions-ids-as-names.csvdata/app/all-authors-ids-as-names.csvdata/app/authors-to-presentations-links.csvdata/app/sessions-to-presentations-links.csv
-
Upload the file
all-sessions-ids-as-names.csvinto the “Full Schedule” section of the app. -
Upload the file
all-authors-ids-as-names.csvinto the “All Authors” custom list section of the app. -
Upload the file
authors-to-presentations-links.csvinto the “Links” part of the “All Authors” section of the app. -
Upload the file
sessions-to-presentations-links.csvinto the “Links” part of the “Full Schedule” section of the app. -
Export the CSVs for the “Schedule Sessions” and “Authors” from the Guidebook dashboard under “Advanced Tools” -> “Export Data”.
-
Run
python replace_ids_with_names_in_exports.csv <csv1> <csv2> --sessions data/app/sessions.csv --authors data/app/authors.csv --papers data/app/papers.csvwhere<csv1>and<csv2>are the names of the exported CSV files for schedule sessions and authors respectively. This command will generate the following new files:data/app/sessions-import-with-names.csvdata/app/authors-import-with-names.csv
-
Upload the above two files into the “Full Schedule” and “All Authors” sections of the app respectively.
-
Make sure the “Schedule” section in the app is disabled. Add “Conference Sessions”, “Main Papers & Posters”, “Tutorials”, and “Workshops” tracks as menu items.
-
Reorder the “All Authors” item by selecting “Quick Reorder” and choosing “By Last Word (A -> Z)”.
- Manually link the TACL paper PDFs (under
downloads) to the relevant papers in the app.