Feature request: tagging mechanism #114

Closed
opened 2018-11-26 08:56:50 +00:00 by giplt · 2 comments
giplt commented 2018-11-26 08:56:50 +00:00 (Migrated from github.com)

Add a possibility to add and manage tags to each page in hypha. This allows for clustering related content to enhance user experience and navigation throughout a hypha site.
Example use cases:

  • De Stadsbron: news categories (opinion, background, investigation etc)
  • Meet je stad: communities (Amersfoort, Bergen, ...)
  • Improved index and search: filter by tag(s)
    Implementation:
  • Implement tagging mechanism in pages (in class page?) For a code example see http://giplt.nl/test/tagging/
  • Add tags as an attribute (comma separated list?) to pages (in index?)
  • Implement overall tag management in settings page
Add a possibility to add and manage tags to each page in hypha. This allows for clustering related content to enhance user experience and navigation throughout a hypha site. Example use cases: - De Stadsbron: news categories (opinion, background, investigation etc) - Meet je stad: communities (Amersfoort, Bergen, ...) - Improved index and search: filter by tag(s) Implementation: - Implement tagging mechanism in pages (in class page?) For a code example see http://giplt.nl/test/tagging/ - Add tags as an attribute (comma separated list?) to pages (in index?) - Implement overall tag management in settings page
giplt commented 2018-11-26 10:12:03 +00:00 (Migrated from github.com)

From earlier discussion:

  • Initial implementation: Flat list of keywords per article (or other taggable page), each translation has its own list, store keywords in hypha.xml?
  • Later perhaps: multiple scopes of tags (public/private, or separate tags per pagetype, etc.).
  • Later perhaps: Refer to tags by id instead of directly by name, to make it easier to rename tags and perhaps translate them
From earlier discussion: - Initial implementation: Flat list of keywords per article (or other taggable page), each translation has its own list, store keywords in hypha.xml? - Later perhaps: multiple scopes of tags (public/private, or separate tags per pagetype, etc.). - Later perhaps: Refer to tags by id instead of directly by name, to make it easier to rename tags and perhaps translate them
giplt commented 2019-01-19 11:45:09 +00:00 (Migrated from github.com)

Proposal for implementation in hypha.xml:

  ...
  <tagList>
    <tag id="5c028b9641ace">
      <language id="en" label="opinion">Opinion, personal beliefs, debate</language>
      <language id="nl" label="opinie">Meningen, persoonlijke opvattingen, discussie</language>
    </tag>
    ...
  </tagList>
  ...
  <pageList>
    <page id="5c028b96417fd" type="textpage" private="off">
      <tag id="5c028b9641ace"/>
      <language id="en" name="home"/>
    </page>
    ...
  </pageList>
  ...
Proposal for implementation in hypha.xml: ```xml ... <tagList> <tag id="5c028b9641ace"> <language id="en" label="opinion">Opinion, personal beliefs, debate</language> <language id="nl" label="opinie">Meningen, persoonlijke opvattingen, discussie</language> </tag> ... </tagList> ... <pageList> <page id="5c028b96417fd" type="textpage" private="off"> <tag id="5c028b9641ace"/> <language id="en" name="home"/> </page> ... </pageList> ...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harmen/hypha#114
No description provided.