atutor.no

Here be links.

Feed subscriptions

gorzan's picture

One feature of ATutor that many of our users at helsekompetanse.no appreciates is the email subscription to forum threads. Last year we also subscription to the announcement feed that is on the front page of each course, and the newest addition to the feed subscription family is the blog subscription that I posted under contributions just a few minutes ago.

The announcement feed subscription posted last year was a bit of a quick hack. It works, but on the code side it isn't particularly pretty. This time around, I wrote a class called subscription that can easily be used to add email subscription to other feeds (should this become an issue in the future), and which also can easily be used to handle subscription for the already implemented forum and announcement subscription. The latter wouldn't in any way add to today's functionality, but it would serve to 'clean up' the codebase somewhat, as we now actually have four different methods of subscribing and sending out emails for four different feeds. (Forums, forum threads, announcements and blogs.)

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Hi, this is the atutor.no blog, where the community can blog about things related to use, development or thoughts concerning the open source LCMS ATutor!

Register or log in to start blogging, or get in touch for any reason!

Recent comments