Giter Site home page Giter Site logo

planetdrwho's Introduction

Planet Dr Who

This repo contains the code and data that powers the site Planet Doctor Who. The site aggregates news and information about the how Doctor Who from various corners of the internet.

The site is built using Perlanet which is a tool for aggregating web feeds (it's a version of the Python tool "Planet" written in Perl - hence the rather silly name).

The way it works is this:

  • perlanetrc contains YAML with the data that drives the file. Most importantly, it has the feeds list which defines the feeds that are aggregated into the web site (and a new Atom feed).

  • index.tt is a template which is expanded (using the Template Toolkit into the web site's front (and only) page. The template is passed a number of variables which can be used to display the new, aggregated feed. For example the feed variable is an an object (actually an instance of XML::Feed which contains the new feed.

  • index.html and atom.xml are the generated files which make up the web site and the new Atom feed. They are generated on a schedule using GitHub Actions.

  • .github/workflows/buildsite.yml is the file that controls how the site is built.

  • cpanfile defines the Perl libraries that are required to generate the web site.

  • Everything else is a file that is used to display the new web site - fonts, images, CSS files, etc

The generated web site is hosted on GitHub Pages.

Important Note: The files index.html and atom.xml are automatically generated. Please don't sent pull requests that change them - as any changes will be overwritten the next time the site is rebuilt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.