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
Test Automation using Perl - May 17, 2013
Perl Timer Code - Feb 11, 2015
Junco User Documentation - Sep 23, 2014
Interview with Mojo Mail author - November 2002 - Jul 18, 2014
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 25, 2024 - 5:06 a.m. EDT