Microblogging feed generator written in php - compatible with Snippets
- Install
index.phpin a directory somewhere on your webhost - Create a
settings.inc.phpfile alongside theindex.phpfile
The settings file should contain reasonable values for the following dictionary of values:
$GLOBALS["feed_settings"] = [
// RSS feed settings - map to <channel> child elements
"title" => "Feed Name",
"link" => "http://th.adde.us/quips?format=rss",
"description" => "stuff",
"language" => "en-us",
"copyright" => "Copyright (C) 2014 Thaddeus Ternes",
// timezone to use for pubDate values
"timezone" => "America/Chicago",
// authentication - username/password pairs
"basicauth" => [
"thaddeus" => "password",
],
"paths" => [
// data directory (text files) for posts
"posts" => "/tmp/quips",
],
// number of posts to appear in the RSS feed
"post_limit_count" => 10,
// development values - use false for both in production
"pretty" => false,
"debug" => false,
];
To run the local php server for development, execute the following from the project root directory:
php -S localhost:3000 -t quips