Git Product home page Git Product logo

dinolog-old-archive's Introduction

This project is dead. Check out the new successor here at https://github.com/bauripalash/dinolog

๐Ÿฆ• Dinolog Protocol

Utterly simplified and lightweight blogging protocol

Dinolog protocol is a simplified blogging protocol which can even be surfed with telnet or netcat

Specification

Request:

  • Me> : I want to read blogs of Mango Man
  • MangoManServer> : Sure, Which one?
  • Me> : Not sure! Show the list of every entry. DD~mangoman~ALL
  • MangoManServer> : Okay, Here you go...
  • Me> : Too much.. Too much.. Show me the last 2 entries DD~mangoman~L2
  • MangoManServer> : As you wish...
DD<SEPARATOR><UNAME><SEPARATOR>C<SEPARATOR><COMMAND>
DD~ST~mangoman~ALL

Here is the list of available COMMANDs : * ALL (All entries) * L<1-20> (Latest N entries) * O<1-20> (Oldest N entries) * D (entries published on DATE) * T (Entry with TAG )

I know the URL/SLUG/ID of the entry:

DD<SEPARATOR><UNAME><SEPARATOR>ID<SEPARATOR><ID><SEPARATOR

DD~ID~mangoman~I-eat-mango

Response Header:

D<SEPARATOR><STATUS_NUMBER><SEPARATOR><NUMBER_OF_POSTS_TO_BE_SHOWN><SEPARATOR>X<NUMBER OF OPTIONS><CRLF>

Response Body

UTF-8 Encoded Plain Text

NOTE: Entry listing must make entry id/slug visible with clear indication; for easy browsing via any client

  • Server must truncate the post body if it exceeds 500 characters, while doing so server must put clear indication.

  • entries can have title fields, which can be used to generate slugs/ids. Title is just like any other normal text on entries. If entry have Title field server will send them as the first line of the entry body text. Clients should make them distinguishable

Here is an example listing

MangoMan's Blog
================

> my-first-post
I like to play football

> i-played-football-for-first-time
I won playing football

  • Each Log in a Dinolog server should have a Name and an ID Name. While Name should be unique, ID Name must be unique.

Example Log Pod Structure

NAME
UNAME
ENTRIES:
    0:
        SLUG
        TITLE
        SIZE
        TEXT

โš ๏ธ Current dinolog server implementation does not follow specifications at all, it is just a very early stage prototype, I am just tinkering.

dinolog-old-archive's People

Contributors

bauripalash avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dinolog-old-archive's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.