KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
4.0KB

  1. <?php
  2. $PAGE_TITLE = "KXStudio : Development Timeline";
  3. $PAGE_TYPE = "DEVELOPMENT";
  4. $PAGE_SOURCE_1 = ARRAY("/Development");
  5. $PAGE_SOURCE_2 = ARRAY("Development Timeline");
  6. include_once("includes/header.php");
  7. require_once("/home/falktx/bin/simplepie/SimplePie.compiled.php");
  8. ?>
  9. <?php
  10. function print_sha8($id) {
  11. $id = strstr($id, '/');
  12. echo substr($id, 1, 9);
  13. }
  14. function print_feed_title($title) {
  15. $title = strstr($title, ':', true);
  16. echo strrchr($title, ' ');
  17. }
  18. $feed = new SimplePie();
  19. $feed->set_cache_location("/home/falktx/bin/simplepie/cache");
  20. $feed->set_feed_url(ARRAY(
  21. 'https://github.com/DISTRHO/DISTRHO-Ports/PawPaw/commits/master.atom',
  22. 'https://github.com/DISTRHO/DISTRHO-Ports-Extra/PawPaw/commits/master.atom',
  23. 'https://github.com/DISTRHO/DPF/commits/develop.atom',
  24. 'https://github.com/DISTRHO/DPF-Max-Gen/PawPaw/commits/master.atom',
  25. 'https://github.com/DISTRHO/DPF-Plugins/commits/master.atom',
  26. 'https://github.com/DISTRHO/DPF-Widgets/commits/main.atom',
  27. 'https://github.com/DISTRHO/glBars/PawPaw/commits/master.atom',
  28. 'https://github.com/DISTRHO/JuicePlugins/PawPaw/commits/master.atom',
  29. 'https://github.com/DISTRHO/Kars/PawPaw/commits/master.atom',
  30. 'https://github.com/DISTRHO/Mini-Series/PawPaw/commits/master.atom',
  31. 'https://github.com/DISTRHO/MVerb/PawPaw/commits/master.atom',
  32. 'https://github.com/DISTRHO/ndc-Plugs/PawPaw/commits/master.atom',
  33. 'https://github.com/DISTRHO/OneKnob-Series/commits/main.atom',
  34. 'https://github.com/DISTRHO/ProM/PawPaw/commits/master.atom',
  35. 'https://github.com/DISTRHO/STK-Plugins/PawPaw/commits/master.atom',
  36. 'https://github.com/DISTRHO/Website/PawPaw/commits/master.atom',
  37. 'https://github.com/DISTRHO/PawPaw/commits/master.atom',
  38. 'https://github.com/falkTX/Cadence/commits/master.atom',
  39. 'https://github.com/falkTX/Cadence-Tools/commits/master.atom',
  40. 'https://github.com/falkTX/Carla/commits/main.atom',
  41. 'https://github.com/falkTX/Carla-Manual/commits/master.atom',
  42. 'https://github.com/falkTX/Carla-Plugins/commits/master.atom',
  43. 'https://github.com/falkTX/Carla-Releases/commits/main.atom',
  44. 'https://github.com/falkTX/Catia/commits/master.atom',
  45. 'https://github.com/falkTX/Chibi/commits/master.atom',
  46. 'https://github.com/falkTX/drmr/commits/lv2unstable.atom',
  47. 'https://github.com/falkTX/FluidPlug/commits/master.atom',
  48. 'https://github.com/falkTX/Hylia/commits/master.atom',
  49. 'https://github.com/falkTX/JackAss/commits/master.atom',
  50. 'https://github.com/falkTX/jack_interposer/commits/master.atom',
  51. 'https://github.com/falkTX/kuriborosu/commits/main.atom',
  52. 'https://github.com/falkTX/lv2vst/commits/master.atom',
  53. 'https://github.com/falkTX/protrekkr/commits/master.atom',
  54. 'https://github.com/jackaudio/jack2/commits/master.atom',
  55. 'https://github.com/jackaudio/jack2-releases/commits/master.atom',
  56. ));
  57. $feed->init(); // or die($feed->error());
  58. $feed->handle_content_type();
  59. $lastdate = null;
  60. foreach ($feed->get_items() as $item):
  61. $date = $item->get_gmdate('Y-m-d');
  62. if ($lastdate != $date)
  63. {
  64. if ($lastdate != null) { ?> <hr/> <?php }
  65. $lastdate = $date;
  66. ?>
  67. <h3 id="<?php echo $date ?>"># <a href="#<?php echo $date ?>"><?php echo $item->get_gmdate('F j, Y') ?></a></h3>
  68. <?php
  69. }
  70. ?>
  71. <div class="changeset">
  72. <p>
  73. At
  74. <i><?php echo $item->get_gmdate('g:i a'); ?></i>
  75. by
  76. <b><a href="<?php echo $item->get_author()->get_link(); ?>" target="_blank">
  77. <?php echo $item->get_author()->get_name(); ?></a></b>
  78. <a href="<?php echo $item->get_permalink(); ?>">
  79. [<?php print_sha8($item->get_id()); ?>]</a>
  80. <!-- <?php echo $item->get_title(); ?></a> -->
  81. in
  82. <b><?php print_feed_title($item->get_feed()->get_title()); ?></b>
  83. <?php
  84. $content = $item->get_content(true);
  85. if ($content) { ?>
  86. <br/>
  87. <?php echo $content;
  88. } ?>
  89. </p>
  90. </div>
  91. <?php
  92. endforeach;
  93. include_once("includes/footer.php");
  94. ?>