Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Community Mode: Custom Tag Logic #32

Open
tibfox opened this issue Sep 9, 2024 · 0 comments
Open

Community Mode: Custom Tag Logic #32

tibfox opened this issue Sep 9, 2024 · 0 comments

Comments

@tibfox
Copy link

tibfox commented Sep 9, 2024

In DIYHub we categorize posts when we curate them with a 1:1 category relation.
We use MySQL for our curation database and I imagine a folder-like structure for users to explore the community on a dedicated page.

grafik

by clicking on one of those they get to another level where all the specific categories are listed.

This is just an idea - if a tree is easier to implement I think that would work too.

Our database:

  1. Table "curationChoices"
  • postAuthor
  • postPermlink
  • category

grafik

  1. Table "curationCategories"
  • categoryShort
  • categoryLong
  • mainCategory

grafik

  1. The relation between both tables is via category <> categoryShort ( I know I should have used the id ;) )

We could create a database view where the postAuthor is combined with the postPermlink and the mainCategory+categoryLong are already joined.

grafik

In the best case there is a new admin part:

  1. enter the curation database system (MySQL, ms SQL, etc.)
  2. enter host, port, credentials
  3. pick the post table / database view
  4. pick the 3 important columns from 3.
  • post identifier (@author/permlink)
  • post main category
  • post sub category
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant