Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humans.txt support #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Duplicate `cfg/config.sample.php` to `cfg/config.php`. (Optional: if you want to

Edit the newly created config.php to fill the blank spaces with your informations (API keys, usernames, site’s URL, etc.) and to modify the arguments passed to `Pubwich::setServices()`. See the *Services configuration* section of this file.

Edit the `/humans.txt` file to put your personal informations under `TEAM` title. You will find explanations and help about this initiative at www.humanstxt.org

Modify your crontab file (by running `crontab -e`) and add the following line:
`*/<N> * * * * <PHP> -f <ABSOLUTE_PATH>/cron/cron.php`

Expand Down
4 changes: 4 additions & 0 deletions cfg/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,7 @@
// Caching system
define( 'CACHE_LOCATION', dirname(__FILE__) . '/../cache/' );
define( 'CACHE_LIMIT', 20 * 60 );


// Don't forget to fill informations in /humans.txt

18 changes: 18 additions & 0 deletions humans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* the humans responsible & colophon */
/* humanstxt.org */


/* TEAM */
Owner:
Contact:
Location:


/* SITE */

This website use the "Pubwich" open-source web application created by Rémi Prévost.
You can find more informations on the official website at www.pubwich.org
And you're welcome to fork it on GitHub : http://github.com/remiprev/pubwich

Doctype: HTML4
Components: JQuery, Cache_Lite, Mustache.php, PHP Gettext, PHP OAuth, Zend_Json
1 change: 1 addition & 0 deletions themes/default/index.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo PUBWICH_TITLE?></title>
<link rel="stylesheet" media="screen" href="<?php echo Pubwich::getThemeUrl()?>/style.css" type="text/css">
<link type="text/plain" rel="author" href="<?php echo PUBWICH_URL ?>humans.txt" />
<?php echo Pubwich::getHeader() ?>
</head>
<body>
Expand Down