Updates to ausGLAMblogs

Sun Mar 27 2016 16:14:57 GMT+1100 (AEDT)

I spent the last couple of days making some updates to ausGLAMblogs.

Admin area

Just like when I first turned the original nodejs code into a Meteor app, most of the work I did will only be seen by a couple of people. I made some changes to the way the admin section works, so that:

When a blog is registered, every admin is emailed. The listing now goes into a collection called UnapprovedBlogs, and appears in the admin page as you can see above. We can then either Reject, in which case the entry is simply deleted, or Approve, in which case it is added to the Blogs collection, which is the one the rest of the app looks at. Previously everything just went straight to the Blogs collection, but when it was approved the 'approved' field was changed from false to true. The problem with doing it that way was that if someone wanted to update their blog listing, or someone tried to register one again, but with incorrect or incomplete details, the original listing was overwritten - oops! That's now fixed.

Blog listing

There are also some nice fixes here:

The OPML file is probably the most important addition from a general user point of view. I've tested it using Vienna and it seems to work correctly, but please let me know if it doesn't work for you. This file doesn't exist until you press the button, so it will always be up to date.

Code

I've moved the code to GitHub, and renamed it CommunityTweets.