Skip to content

tternes/quips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

quips

Microblogging feed generator written in php - compatible with Snippets

Getting Started

  • Install index.php in a directory somewhere on your webhost
  • Create a settings.inc.php file alongside the index.php file

Settings

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,
];

Development

To run the local php server for development, execute the following from the project root directory:

php -S localhost:3000 -t quips

About

Microblogging feed generator written in php - compatible with Snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages