planetdrwho

所属分类:交通/航空行业
开发工具:Perl
文件大小:0KB
下载次数:0
上传日期:2023-09-11 10:09:56
上 传 者sh-1993
说明:  关于Who博士的新闻和信息,
(News and information about Doctor Who,)

文件列表:
cpanfile (54, 2023-12-25)
docs/ (0, 2023-12-25)
docs/CNAME (24, 2023-12-25)
docs/css/ (0, 2023-12-25)
docs/css/style.css (915, 2023-12-25)
docs/font/ (0, 2023-12-25)
docs/font/doctor_who.ttf (15124, 2023-12-25)
docs/font/doctor_who.woff (5416, 2023-12-25)
docs/font/doctor_who.woff2 (3884, 2023-12-25)
docs/img/ (0, 2023-12-25)
docs/img/feed.gif (1095, 2023-12-25)
docs/img/opml.png (32087, 2023-12-25)
docs/img/roundel-grey.png (3472, 2023-12-25)
docs/img/roundel.png (8782, 2023-12-25)
docs/robots.txt (24, 2023-12-25)
favicon.ico (2550, 2023-12-25)
index.tt (4699, 2023-12-25)
perlanetrc (1199, 2023-12-25)

# Planet Dr Who This repo contains the code and data that powers the site [Planet Doctor Who](https://drwho.theplanetarium.org). The site aggregates news and information about the how *Doctor Who* from various corners of the internet. The site is built using [Perlanet](https://github.com/davorg/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](https://tt2.org/) 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](https://metacpan.org/pod/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](https://github.com/features/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](https://pages.github.com/). **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.

近期下载者

相关文件


收藏者