https://github.com/indieweb/this-week
Weekly newsletter of IndieWebCamp activity
https://github.com/indieweb/this-week
Last synced: 6 months ago
JSON representation
Weekly newsletter of IndieWebCamp activity
- Host: GitHub
- URL: https://github.com/indieweb/this-week
- Owner: indieweb
- License: apache-2.0
- Created: 2014-06-29T17:39:18.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T20:43:46.000Z (about 1 year ago)
- Last Synced: 2024-10-29T18:59:47.248Z (7 months ago)
- Language: PHP
- Homepage: https://indieweb.org/this-week
- Size: 109 KB
- Stars: 11
- Watchers: 14
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This Week in the IndieWeb
Publishes the [This Week in the IndieWeb](https://indieweb.org/this-week-in-the-indieweb) newsletter.
## Install
- Clone this repository
- Run `composer install`
- Open the root directory and run `php ./vendor/tantek/cassis/post-process.php`
- This is a temporary workaround to ensure CASSIS runs under PHP 8+
- Rename `config.template.php` to `config.php`## Configuration
TODO
## Testing
Run `composer tests` to run unit tests.
Run `php ./tests/test-wiki-summary.php` to test generating the wiki
summary part of the newsletter. This will save the output in
`/tests/wiki-summary-output.html` for manual review.You can try providing an end date using:
`php ./tests/test-wiki-summary.php YYYY-MM-DD`However, results with this can be mixed. The MediaWiki API appears
to not be respecting the end date and including newer pages in the
API response. TODO: investigate further, see https://www.mediawiki.org/wiki/API:RecentChanges