YorgunKelebek / Peer-Programming-Blog

Repository for Peer Programming Blog development
0 stars 0 forks source link

"Series" concept #25

Open goofballLogic opened 4 years ago

goofballLogic commented 4 years ago

For the series of posts on "A minimalist experiment X" it might be nice to be able to pull out blogs into a series. This could serve two purposes:

  1. If a series is swamping the timeline (as it currently is), we could collapse a series into a single entry within the blog list
  2. A series could allow specifying order of reading when more than one blog in a series is released on the same day. There could also be Preview and Next links at the bottom of a blog item to navigate through a series.
goofballLogic commented 4 years ago

I've been thinking about this - could we implement it by creating a new content type called "Blog series" which only lets you add other blog posts?

YorgunKelebek commented 4 years ago

A new content item might pose a complicated implementation I think. We would need to pull both blog post and blog series items and treat these differently. Besides, liking 'related items' is the same for all content items. So we can still use the blog post content type I think. But points for consideration are:

With these in mind, I think linked items feature may be difficult, if at all possible. Especially for the first point above. I am not sure if we can exclude 'items that are linked to another' in one API call...

So maybe a parent/child relationship? We can add two new properties to the blog post item:

We'd have to make a separate API call to retrieve the 'child' posts for post of type 'series' but we can easily add to the child item a tag 'is part of series...' by use of the parent property...

goofballLogic commented 4 years ago

For Option 1:

For Option 2: