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
Perl Critic and Diag - Oct 09, 2013
Scaup JSON Descriptions - Apr 17, 2015
Perl links to read - Jul 09, 2013
Installing a Perl Module - Jan 13, 2015
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Dec 12, 2024 - 7:18 p.m. EST