InkBlot

From IndieWeb
(Redirected from postly)

InkBlot is an open source blogging platform currently under development by ben.thatmustbe.me.

Description

InkBlot is based on a fork of system libraries from OpenCart, an eCommerce software. InkBlot uses a simple MVC architecture and uses PHP and MySQL.

Source code is publicly available on GitHub.

Goals

InkBlot aims to be a platform for easy development of new features. The hope is to have a highly customizable system that will allow for addition of as many indieweb projects as possible while keeping complexity low.

Roadmap

Current Features

  1. Microformats marked up template (based on SemPress)
  2. Support for multiple post types. currently articles, notes, photos, drafts, replies, rsvps, bookmarks, likes, and checkins.
  3. micropub client for creation, deleteion, and editing of posts.
  4. Simple routing management (routes.php config file)
  5. webmention send and receive (Now with Vouch!)
  6. Syndication/backfeed to Twitter and FB through Bridgy
  7. Additional Contact Information for whitelisted users.
  8. Full reply-thread to posts
  9. Receive and process webmention edits/deletes of replies (untested)
  10. All URLs are https (easily configurable)
  11. public whitelist to make site vouch friendly.

Planned Features

  1. Expand to other post types (checkins and events are next)
  2. New default theme
  3. IndieAuth Host
  4. Private posts to authenticated users.
  5. Private contact list parsed from other indie web users as well as silos
  6. grouping and managing contacts as well as setting what information is shared to what contact groups.

A more detailed todo list is kept on My User Page

Brainstorming

Searching for a domain to use for a vouch

The hardest part of sending webmentions is finding the vouch URL. This can be tricky but here is how it is implemented in InkBlot.

  • Record all incoming referer entries and store these to a queue.
  • Asynchronously parse this list to check that the URL is actually linking to you without a rel=nofollow, if it is valid, add it to a list of Vouch URLs, call that list V
  • When sending a webmention: use function F that takes a URL and boolean (r) F(T, R = true)
    1. check to see if the target URL's domain (dT) is in list V (does V(dT) return a value?)
      • if it is available then V(dT) is your vouch URL (the site directly refers to you and vouch should not be needed, but send it anyway), stop processing
    2. look at all URLs on page T (for U in T)
      1. if U does not have rel=nofollow
        • look up domain of U (dU) in V
        • if this return a value then V(dU) is your vouch, stop processing
      2. if R, we are to recurse on this page, then
        • if U has a rel=me AND it is on the same domain as T (dU == dT)
        • then we found another page on T and we run F(U, false)
    3. if we have not found a vouch, and we are to recurse, we check the domain base page
    4. run F(dT, false)
    5. if we still have not found a vouch, we give up and fall back to traditional webmention


File-Storage

  • While InkBlot is currently being developed in MySQL, there are database drivers for other SQL based databases. It is theoretically possible to create a driver for file based storage. The driver would have to know how to parse SQL queries however.
  • Hard Disk caching is used to store a serialized version of most DB queries. As long as all changes clear the cache, it is theoretically possible to maintain the cache indefinitely thereby becoming a backup flat-file storage. This is already discussed in database-antipattern#Database_with_export.

Micropub issues

  • While I have gotten rid of the admin interface, I feel there needs to be some type of management console when logged in. The most important peice would be for updating links on the main page (which are stored in the DB). Allowing the site admin (when logged in through indieauth) to edit these could lead to a person removing all their rel=me links that have indieauth support and thus break their own admin login. There would have to be some manual way to fix that situation, but would have to be simple enough for end-users to use.