Skip to content
The code behind the Screenshot of the Week archives and leaderboards.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
input
.gitattributes
.gitignore
AggregateSort.java
ArchivesGenerator.java
ContestBounds.java
Defaulter.java
EloEvaluator.java
Entry.java
FilterStrategy.java
FormattedLeaderboard.java
HighlightMember.java
HighlightNone.java
HighlightStrategy.java
HighlightWinners.java
History.java
Leaderboard.java
Master.java
Member.java
MemberDataRetriever.java
MemberSortAlphabetical.java
MemberSortConsecutiveLoose.java
MemberSortConsecutiveStrict.java
MemberSortElo.java
MemberSortEntries.java
MemberSortEntryStreak.java
MemberSortMinEntries.java
MemberSortNewFormidable.java
MemberSortOldFormidable.java
MemberSortPlusMinusHeads.java
MemberSortPlusMinusPoints.java
MemberSortPoints.java
MemberSortPointsSingle.java
MemberSortRecent.java
MemberSortUncertainty.java
MemberSortVictories.java
MemberSortVotes.java
MemberSortVotesSingle.java
MemberSortWeightedFormidable.java
MemberSortWinRatio.java
NamedStamp.java
ParsedLine.java
Poll.java
ProfileIndexGenerator.java
ShowAll.java
ShowMember.java
ShowRange.java
UserProfile.java
data_motm.txt
index.html
readme.md

readme.md

ContestHelper

Introduction

This code generates a suite of webpages that contains image galleries, statistics, and more based on input files that describe user labels, image URLs, and votes. The code is somewhat specialized for the Screenshot of the Week competitions held on PureZC, but the principles behind it can be extended to other contexts.

Creation

In August 2012, Ed Foley started this project in Excel for use with the Map of the Month competition. He later transferred the project to Java in December 2012 and began adapting it to Screenshot of the Week.

Setting up the project

The following directories and files should exist before attempting to run the program.

  • backup
  • config
    • config\archives_footer.txt
    • config\archives_header.txt
    • config\leaderboard_footer.txt
    • config\leaderboard_header.txt
    • config\profile_footer.txt
    • config\profile_header.txt
  • members
  • web
    • web\images
      • web\images\no_image.png
    • web\profiles
    • web\associations.txt
    • web\data.txt
    • web\style.css

Files have their own formatting conventions that warrant future documentation.

The author plans to make this directory structure and sample files available automatically in future updates.

You can’t perform that action at this time.