Code Monkey home page Code Monkey logo

paragraph-api's People

Contributors

privateblue avatar

Stargazers

 avatar

Watchers

 avatar

paragraph-api's Issues

users can bookmark blocks

FOLLOW arrows can point from users to blocks too. Notifications are sent about followed blocks too.

parsing external content

new node label: Page

Pages have:

  • id
  • timestamp
  • url
  • author
  • title
  • site

new arrow type: SOURCE

SOURCE always points from Page to Block

SOURCEs have:

  • timestamp
  • index (a zero-based index to reconstruct the original order of the Page's Blocks)

LINK arrows may point to Page nodes too, not only Blocks

The API should be able to somehow link, append, and possibly prepend Pages to Blocks, by providing an external url. This action should parse the provided url, create a Page node with all metadata, create Block nodes by scraping content, and connect the created Page to these Blocks with SOURCE arrows.

Also it should be possible to provide the specific target Block of the Page to be linked or appended (or prepended). Although this could also be a frontend feature, realized by two API calls. In this case the new API call would only create the Page node, link to it, parse the page, create the Blocks, and connect these to the Page with SOURCEs. See https://github.com/privateblue/paragraph-frontend/issues/10

notifications

Remaining work is related to the follow functionality. Notifications could be received when:

  • someone followed / unfollowed me
  • someone I follow created a new Block
  • someone I follow logged in

After adding the block star functionality (see #20), additional notification types are possible:

  • a block I stared got shared, replied, linked
  • someone stared / unstared a Block of mine

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.