Skip to content

ashearer/AMC-Trip-Listings

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

AMC Trip Listings

This is the code used to format the trip listings for several chapters of the Appalachian Mountain Club, publishing updates regularly to the web and sending a weekly HTML and text email to several thousand recipients.

You can see sample output at the AMC Boston Young Members Trip Listings.

It also outputs iCalendar format files and RSS feeds, so you can subscribe to see a chapter’s trip listings in your calendar or in a newsreader.

It’s been sending out regular emails and publishing trip listings since 2004, with some maintenance to keep up with changes to the source trip format.

As sample code, it demonstrates:

  • Complex formatting with XSLT, including grouping using the Muenchian method.

  • Date formatting with EXSLT.

  • Server-side caching of a dynamically generated page.

  • Automated FTP and SFTP uploads of a dynamically-generated file from a PHP script.

  • Generating an HTML email.

  • XSLT code to create an RSS feed.

  • XSLT code to create an iCalendar file.

  • Automation of DadaMail, a program designed for manual one-off mailings, by simulating a browser user. (DadaMail was the available mailing list software on the server, and sending mail through it lets us take advantage of its list management, rate-limited batching, and reporting.)

License

BSD 2-clause license. See LICENSE file.

Contact

Find this project on GitHub.

Written by Andrew Shearer. Email / Web site.

About

Code to format event listings as HTML, email, RSS, and iCalendar using XSLT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published