Scaup web publishing app update as of Feb 21, 2015

Minimal web publishing tool.

Formatting can be created by using markup syntax from Markdown, MultiMarkdown, Textile, and HTML.

Tech used:

  • Ubuntu
  • Nginx
  • FastCGI
  • Perl
  • HTML::Template
  • CouchDB
  • Memcached

Feb 25, 2015 update

working on the API code to get a stream of posts, to get a single post, create a post, and update a post.

curl -X POST -H "Content-Type: application/json" --data '{"author": "MrX", "session_id": "1234567890", "submit_type": "Post", "markup": "just a simple *hello world* note."}' http//scaup.soupmode.com/posts

returned JSON after creating a new post:

{
    "status"      : 200,
    "description" : "OK",
    "html"        : "&lt;p&gt;just a simple <strong>hello world</strong> note number 5&lt;/p&gt;",
    "post_id"     : "just-a-simple-hello-world-note-number-5",
    "rev"         : "1-5ab5b5b3c80af80dee9cbfe8ead97592"
}

#scaup #blogging #couchdb #perl #programming

From JR's : articles
111 words - 862 chars
created on
updated on - #
source - versions

Related articles
Veery Blog App - April 2015 - Aug 03, 2015
Junco To-Do List - Jun 27, 2013
Scaup Readme.md - Apr 29, 2015
Perl try, catch, eval, die, warn, carp - Jun 25, 2013
Perl CGI processing application json data - Feb 25, 2015
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Dec 26, 2024 - 7:19 p.m. EST