Browse Source

Support more finegrained date-based sorting.

master
Niels G. W. Serup 6 months ago
parent
commit
82cbbcea67
48 changed files with 51 additions and 51 deletions
  1. +1
    -1
      media/banko-royale.media
  2. +1
    -1
      media/banko.media
  3. +1
    -1
      media/bosser.media
  4. +1
    -1
      media/box.media
  5. +1
    -1
      media/cola.media
  6. +1
    -1
      media/compufight-behind.media
  7. +1
    -1
      media/compufight.media
  8. +1
    -1
      media/compumotion.media
  9. +1
    -1
      media/concieggs.media
  10. +1
    -1
      media/crazychristmas.media
  11. +1
    -1
      media/creative-process.media
  12. +1
    -1
      media/dice.media
  13. +1
    -1
      media/easteregg.media
  14. +1
    -1
      media/failed-projects.media
  15. +1
    -1
      media/haj.media
  16. +1
    -1
      media/hcø.media
  17. +1
    -1
      media/ibm-mainframe.media
  18. +1
    -1
      media/jagten-på-punchlinen.media
  19. +1
    -1
      media/ka-det-fusioneres0.media
  20. +1
    -1
      media/ka-det-fusioneres1.media
  21. +1
    -1
      media/ka-det-fusioneres2.media
  22. +1
    -1
      media/ka-det-fusioneres3.media
  23. +1
    -1
      media/ka-det-fusioneres4.media
  24. +1
    -1
      media/ken.media
  25. +1
    -1
      media/kjolemand.media
  26. +1
    -1
      media/lego-ved-eksamener.media
  27. +1
    -1
      media/legoparty.media
  28. +1
    -1
      media/legoshow.media
  29. +1
    -1
      media/matricen.media
  30. +1
    -1
      media/mobility-behind.media
  31. +1
    -1
      media/mobility.media
  32. +1
    -1
      media/obs.media
  33. +1
    -1
      media/oldschool-hackers.media
  34. +1
    -1
      media/onsenbanden.media
  35. +1
    -1
      media/paper.media
  36. +1
    -1
      media/paranoia.media
  37. +1
    -1
      media/phd-livet.media
  38. +1
    -1
      media/pinte-dataloger.media
  39. +1
    -1
      media/realtidshyperpipedims.media
  40. +1
    -1
      media/revy-lige-om-hjørnet.media
  41. +1
    -1
      media/robo.media
  42. +1
    -1
      media/saks.media
  43. +1
    -1
      media/saltvspepper.media
  44. +1
    -1
      media/science-it-patruljen-1.media
  45. +1
    -1
      media/science-it-patruljen-2.media
  46. +1
    -1
      media/super-surveillance.media
  47. +1
    -1
      media/testdraw.media
  48. +4
    -4
      scripts/generate-pages.py

+ 1
- 1
media/banko-royale.media View File

@ -1,6 +1,6 @@
file: youtube:0-h1Q8jkBto
title: 'DIKUrevy 2016: Banko Royale'
year: 2016
date: 201605
description: >
A very provincial James Bond parody. I co-wrote and co-produced this film. I
also had a small role as Fidel Castro in a lumberjack shirt.

+ 1
- 1
media/banko.media View File

@ -1,6 +1,6 @@
file: youtube:OcEKcEg_TjU
title: 'BornHack 2018 - Big Banko: Scaling for the Elder Generation'
year: 2018
date: 201808
description: >
I gave a talk at BornHack about the OpenBanko project that I have been working
on with a couple of friends.

+ 1
- 1
media/bosser.media View File

@ -1,5 +1,5 @@
file: youtube:HI9sVHCBS0g
title: 'DIKUrevy 2017: Bosser'
year: 2017
date: 201705
description: >
A bit internal. I filmed and edited it.

+ 1
- 1
media/box.media View File

@ -1,5 +1,5 @@
file: extern:box-576p.ogv
title: Box
year: 2010
date: 2010
description: >
Very artistic.

+ 1
- 1
media/cola.media View File

@ -1,5 +1,5 @@
file: extern:cola-1080p.ogv
title: Cola
year: 2009
date: 2009
description: >
Who would do such a thing?

+ 1
- 1
media/compufight-behind.media View File

@ -1,5 +1,5 @@
file: extern:compufight-behind.ogv
title: 'Compufight: Behind the scenes'
year: 2009
date: 2009
description: >
A behind-the-scenes look at how the Compufight film was made.

+ 1
- 1
media/compufight.media View File

@ -1,5 +1,5 @@
file: extern:compufight-1080p.ogv
title: Compufight
year: 2009
date: 2009
description: >
Inspired by films.

+ 1
- 1
media/compumotion.media View File

@ -1,5 +1,5 @@
file: extern:compumotion-1080p.ogv
title: Compumotion
year: 2008
date: 2008
description: >
The inspiration for the blockbuster film "Inception".

+ 1
- 1
media/concieggs.media View File

@ -1,6 +1,6 @@
file: youtube:AfjJNauWV48
title: 'BornHack 2019 - Niels G. W. Serup: concieggs: An extensible IRC bot architecture with an attitude'
year: 2019
date: 201908
description: >
I gave a talk at BornHack about the concieggs project that I have been working
on with a couple of friends.

+ 1
- 1
media/crazychristmas.media View File

@ -1,5 +1,5 @@
file: extern:crazychristmas-1080p.ogv
title: Crazy Christmas
year: 2007
date: 2007
description: >
I was very proud of the fact this film consists of 655 frames.

+ 1
- 1
media/creative-process.media View File

@ -1,5 +1,5 @@
file: extern:creative-process-576p.ogv
title: The creative process of an artist
year: 2010
date: 2010
description: >
Everything in this film is a metaphor for something.

+ 1
- 1
media/dice.media View File

@ -1,5 +1,5 @@
file: extern:dice-1080p.ogv
title: Dice
year: 2009
date: 2009
description: >
Very chaotic.

+ 1
- 1
media/easteregg.media View File

@ -1,5 +1,5 @@
file: extern:easteregg-640w.ogv
title: Beware of the Easter Egg
year: 2007
date: 2007
description: >
This is probably a bit unrealistic.

+ 1
- 1
media/failed-projects.media View File

@ -1,5 +1,5 @@
file: youtube:z2rxerTXoCg
title: 'BornHack 2020 - Niels G. W. Serup - "Failed" Projects: Just Move On'
year: 2020
date: 202008
description: >
I gave a talk at BornHack about my failed projects.

+ 1
- 1
media/haj.media View File

@ -1,6 +1,6 @@
file: extern:haj.webm
title: 'haj'
year: 2018
date: 201812
description: >
A short shark-infused santa movie I made. Watch out!


+ 1
- 1
media/hcø.media View File

@ -1,5 +1,5 @@
file: youtube:uc5CrT0R_Mc
title: 'DIKUrevy 2013: HCØ'
year: 2013
date: 201305
description: >
I co-wrote and acted in this fake commercial.

+ 1
- 1
media/ibm-mainframe.media View File

@ -1,5 +1,5 @@
file: extern:ibm.webm
title: IBM Mainframe
year: 2014
date: 2014
description: >
I entered this film into an IBM competition.

+ 1
- 1
media/jagten-på-punchlinen.media View File

@ -1,6 +1,6 @@
file: youtube:P3a8tkivMy4
title: 'DIKUrevy 2013: Jagten på punchlinen'
year: 2013
date: 201305
description: >
20 minutes of puns and exploration. I co-starred in this fantastic endeavour.
This film was played during one of the breaks in our student revue.

+ 1
- 1
media/ka-det-fusioneres0.media View File

@ -1,5 +1,5 @@
file: youtube:I4nsVtLmYQ0
title: "DIKUrevy 2015: Ka' det fusioneres? Datalogi og matematik!"
year: 2015
date: 201505
description: >
A spoof of a spoof. Debates current affairs. I filmed and edited.

+ 1
- 1
media/ka-det-fusioneres1.media View File

@ -1,5 +1,5 @@
file: youtube:uHVWxgPbxs8
title: "DIKUrevy 2015: Ka' det fusioneres? GT og light cola!"
year: 2015
date: 201505
description: >
A spoof of a spoof. Debates current affairs. I filmed and edited.

+ 1
- 1
media/ka-det-fusioneres2.media View File

@ -1,5 +1,5 @@
file: youtube:5heliTbyzeA
title: "DIKUrevy 2015: Ka' det fusioneres? PC og Gentoo!"
year: 2015
date: 201505
description: >
A spoof of a spoof. Debates current affairs. I filmed and edited.

+ 1
- 1
media/ka-det-fusioneres3.media View File

@ -1,5 +1,5 @@
file: youtube:v5Nw8FxPTqY
title: "DIKUrevy 2015: Ka' det fusioneres? Preben og Fernando!"
year: 2015
date: 201505
description: >
A spoof of a spoof. Debates current affairs. I filmed and edited.

+ 1
- 1
media/ka-det-fusioneres4.media View File

@ -1,5 +1,5 @@
file: youtube:nWwtf3kzDwU
title: "DIKUrevy 2015: Ka' det fusioneres? Vim og Emacs!"
year: 2015
date: 201505
description: >
A spoof of a spoof. Debates current affairs. I filmed and edited.

+ 1
- 1
media/ken.media View File

@ -1,6 +1,6 @@
file: youtube:x8ynd-LbaAs
title: 'DIKUrevy 2014: KEN'
year: 2014
date: 201405
description: >
A film devoted to the similarities between a dishwasher and a professor. I
filmed it and also had a small role.

+ 1
- 1
media/kjolemand.media View File

@ -1,5 +1,5 @@
file: youtube:62GFDUu3Lt0
title: 'DIKUrevy 2014: Kjolemand'
year: 2014
date: 201405
description: >
Just a silly film. I co-wrote it, co-filmed it and also had a cameo.

+ 1
- 1
media/lego-ved-eksamener.media View File

@ -1,5 +1,5 @@
file: extern:lego-ved-eksamener.webm
title: LEGO ved eksamener
year: 2011
date: 2011
description: >
I built machines instead of preparing for exams.

+ 1
- 1
media/legoparty.media View File

@ -1,5 +1,5 @@
file: extern:legoparty-720p.ogv
title: LEGO PARTY
year: 2007
date: 2007
description: >
Random LEGO stop motion.

+ 1
- 1
media/legoshow.media View File

@ -1,5 +1,5 @@
file: extern:legoshow-640w.ogv
title: LEGO SHOW
year: 2006
date: 2006
description: >
Stop motion, but no plot.

+ 1
- 1
media/matricen.media View File

@ -1,5 +1,5 @@
file: youtube:vs4bso-i3qI
title: 'DIKUrevy 2017: MATRICEN'
year: 2017
date: 2017
description: >
Bad parody in Danish. I had a small role and helped film it.

+ 1
- 1
media/mobility-behind.media View File

@ -1,5 +1,5 @@
file: extern:mobility-behind.ogv
title: 'Mobility: Behind the scenes'
year: 2008
date: 2008
description: >
A behind-the-scenes look at the production of the Mobility film.

+ 1
- 1
media/mobility.media View File

@ -1,5 +1,5 @@
file: extern:mobility-1080p.ogv
title: Mobility
year: 2008
date: 2008
description: >
Mobile phone tricks.

+ 1
- 1
media/obs.media View File

@ -1,5 +1,5 @@
file: youtube:o_ndwJzJsJQ
title: 'DIKUrevy 2016: OBS'
year: 2016
date: 201605
description: >
A spoof of a Danish TV program. I produced this.

+ 1
- 1
media/oldschool-hackers.media View File

@ -1,5 +1,5 @@
file: youtube:EVnrQhhCQD8
title: 'DIKUrevy 2017: Oldschool Mutant Ninja Hackers'
year: 2017
date: 201705
description: >
Directly from the nineties! I co-wrote the amazing lyrics, played one of the four hackers, and edited the film.

+ 1
- 1
media/onsenbanden.media View File

@ -1,5 +1,5 @@
file: youtube:_6I9ptgEgac
title: 'DIKUrevy 2019: O(N)sen-banden'
year: 2019
date: 201906
description: >
I had a small role in this homage to a Danish film series.

+ 1
- 1
media/paper.media View File

@ -1,5 +1,5 @@
file: extern:paper.webm
title: Paper
year: 2010
date: 2010
description: >
I can draw with my finger!

+ 1
- 1
media/paranoia.media View File

@ -1,5 +1,5 @@
file: extern:paranoia-576p.ogv
title: Paranoia
year: 2010
date: 2010
description: >
It makes sense if you think about it.

+ 1
- 1
media/phd-livet.media View File

@ -1,5 +1,5 @@
file: youtube:-rw-PNrwqLo
title: 'DIKUrevy 2015: Ph.D.-livet'
year: 2015
date: 201505
description: >
Trying to lure in new Ph.D. students. I did a little of everything.

+ 1
- 1
media/pinte-dataloger.media View File

@ -1,5 +1,5 @@
file: youtube:BR7bUlZ05Ek
title: 'DIKUrevy 2013: Pinte dataloger'
year: 2013
date: 201305
description: >
I co-wrote and acted in this fake commercial.

+ 1
- 1
media/realtidshyperpipedims.media View File

@ -1,6 +1,6 @@
file: youtube:xREnjmFWayA
title: 'DIKUrevy 2012: Realtidshyperpipedims'
year: 2012
date: 201205
description: >
I was an actor in this. Fun fact: This film references the video game
"Portal", but I had not played the game at the time of filming.

+ 1
- 1
media/revy-lige-om-hjørnet.media View File

@ -1,6 +1,6 @@
file: youtube:TL0tDkgLGuk
title: 'DIKUrevy 2016: Lige om hjørnet'
year: 2016
date: 201602
description: >
Trying to lure in new people for the student revue. I wrote, filmed, and
edited it.

+ 1
- 1
media/robo.media View File

@ -1,5 +1,5 @@
file: extern:robo-1080p.ogv
title: Robo
year: 2010
date: 2010
description: >
An ode to modern times.

+ 1
- 1
media/saks.media View File

@ -1,6 +1,6 @@
file: extern:saks.webm
title: 'saks'
year: 2020
date: 202003
description: >
Judge for yourself.


+ 1
- 1
media/saltvspepper.media View File

@ -1,5 +1,5 @@
file: extern:saltvspepper-1080p.ogv
title: Salt vs. Pepper
year: 2008
date: 2008
description: >
I should work for a special effects company.

+ 1
- 1
media/science-it-patruljen-1.media View File

@ -1,5 +1,5 @@
file: youtube:Zm0afVWdN3c
title: 'DIKUrevy 2012: SCIENCE IT Patruljen 1'
year: 2012
date: 201205
description: >
I was an actor in this.

+ 1
- 1
media/science-it-patruljen-2.media View File

@ -1,5 +1,5 @@
file: youtube:qCL0kbd6bNg
title: 'DIKUrevy 2013: SCIENCE IT Patruljen 2'
year: 2013
date: 201305
description: >
I was an actor in this and also contributed some puns.

+ 1
- 1
media/super-surveillance.media View File

@ -1,5 +1,5 @@
file: extern:super-surveillance-576p.webm
title: Super Surveillance
year: 2011
date: 2011
description: >
A dystopic look at the future of boredom.

+ 1
- 1
media/testdraw.media View File

@ -1,5 +1,5 @@
file: extern:testdraw-576p.ogv
title: Test draw
year: 2007
date: 2007
description: >
Very basic cartoon.

+ 4
- 4
scripts/generate-pages.py View File

@ -27,7 +27,7 @@ def load_settings(settings_file):
def load_media(media_file):
with open(media_file) as f:
c = yaml.load(f, Loader=yaml.FullLoader)
c['year'] = int(c['year'])
c['date'] = c['date']
c['ident'] = ident(media_file)
return c
@ -102,7 +102,7 @@ def youtube_video(file_src):
def generate_video_page(base_dir, out_dir, base_html, showing_html, media):
title = media['title']
year = media['year']
date = str(media['date'])
description = media['description'].rstrip()
name = media['ident']
video_dir = os.path.join(out_dir, name)
@ -121,7 +121,7 @@ def generate_video_page(base_dir, out_dir, base_html, showing_html, media):
html_inner = showing_html.format(
title=html.escape(title),
year=str(year),
year=date[:4],
description=html.escape(description),
video=video_html)
html_out = base_html.format(content=html_inner,
@ -145,7 +145,7 @@ def main():
media_files = [os.path.join(media_dir, media_file)
for media_file in os.listdir(media_dir)]
medias = [load_media(media_file) for media_file in media_files]
medias.sort(key=lambda m: (m['year'], m['ident']), reverse=True)
medias.sort(key=lambda m: (m['date'], m['ident']), reverse=True)
site_new_dir = setup_directory_structure(settings, base_dir, template_dir)
generate_index_page(site_new_dir, base_html, section_html, medias)


Loading…
Cancel
Save