Permalink
Browse files

Added readme, license, moved app.yaml to app.yaml.dist for others to …

…easily run.
  • Loading branch information...
cbenard committed Aug 5, 2015
1 parent 00c7703 commit e523e68c5722bdc5c88365ba20ad178edeb51b4a
Showing with 656 additions and 14 deletions.
  1. +596 −0 LICENSE.md
  2. +18 −0 README.md
  3. +1 −2 app.yaml
  4. +32 −0 app.yaml.dist
  5. +0 −1 index.html
  6. +0 −11 index.yaml
  7. +9 −0 scripts/index.php
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,18 @@
# Comic Feeds
This application creates feeds from comic feeds that include the images. It does this by crawling the linked pages for images.
Please see my [blog post](http://chrisbenard.net/2013/06/28/how-to-fix-the-dilbert.com-rss-feed/) for more information on background and usage.
## Installing
1. Download and install the [Google App Engine PHP SDK](https://cloud.google.com/appengine/downloads).
2. Download and install the [Google Cloud SDK](https://cloud.google.com/sdk/).
3. Download and install [composer](https://getcomposer.org/doc/00-intro.md) (dependency manager for PHP).
4. Run `composer install` in the application directory to download dependencies into the vendor/ directory.
5. Run `vendor/phpunit/phpunit/phpunit` to execute all tests.
6. Modify `app.yaml` and replace the `application` and `version` as directed from your Google developer console.
## Contributing
Pull requests are welcome, especially to include more comic providers. Please see the [Dilbert Service](classes/DilbertService.php) (multiple sub-feeds) and [Penny-Arcade Service](classes/PennyArcadeService.php) (single feed) for examples.
## License
This software is licensed under the GPL. See [LICENSE.md](LICENSE.md) for more information.
View
@@ -19,8 +19,7 @@ handlers:
script: scripts/version.php
- url: /.*
static_files: index.html
upload: index\.html
script: scripts/index.php
skip_files:
- ^tests/.*
View
@@ -0,0 +1,32 @@
application: [replace with your app id from developer console]
version: [start with 1 and increment on each deploy]
runtime: php55
api_version: 1
threadsafe: no
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /view/(dilbert|pennyarcade)/(.+)
script: scripts/view.php
- url: /fetch/(dilbert|pennyarcade)
script: scripts/fetch.php
- url: /version
script: scripts/version.php
- url: /.*
script: scripts/index.php
skip_files:
- ^tests/.*
- ^vendor/phpunit/.*
- ^vendor/bin/.*
- ^vendor/phpdocumentor/.*
- ^vendor/phpspec/.*
- ^vendor/sebastian/.*
- ^vendor/symfony/.*
- ^vendor/doctrine/.*
View
@@ -1 +0,0 @@
Nothing to see here.
View
@@ -1,11 +0,0 @@
indexes:
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying "# AUTOGENERATED"). If you want to manage some indexes
# manually, move them above the marker line. The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.
View
@@ -0,0 +1,9 @@
<?php header('Location: https://github.com/cbenard/comicfeeds/');
?><html>
<head>
<title>This page has moved</title>
</head>
<body>
Click <a href="http://chrisbenard.net/2013/06/28/how-to-fix-the-dilbert.com-rss-feed/">here</a> for more information.
</body>
</html>

0 comments on commit e523e68

Please sign in to comment.