In the process of migrating the Drupal site to Lektor, @duncan and I agreed it might make sense to replace the blog post tags with a predefined set of categories. This would simplify the Lektor site structure since we'd be able to forgo the use of the lektor-tags module and allow us to provide RSS/Atom feeds of posts in each category.
@lavamind: I think there is a misunderstanding: if I remember correctly, I was more in favor to have more tags in the new forum, as opposed to some of the categories we were using. My main reason was that categories are mutually exclusive, and some forum topics may pertain to more than one category.
One thing I said about blog tags was that maybe we should do some tag gardening once in a while, merging similar tags, or having a set and not allowing everybody to add tags.
Tags are good for SEO and for allowing a transversal way of reading the posts. But of course that should be also provided with the interface (like showing similarly tagged posts).
Alright, thanks for clarifying. I think we're in agreement then! Of course the basic idea is to work these categories out of the existing tags, so in that sense it would be tidying up our "garden" of tags which has more or less been run over by weeds :)
Those categories would work the same way as tags in that they'd be shown under each post. But since we'd have a more manageable number (around a dozen maybe?), we could show the list of categories directly on the sidebar, which would link to the list of posts in each category, adding to the discoverability of the diversity of topics represented on our blog (eg. not just release announcements).
Yes. While I was going through the tags I thought that maybe we should remove countries/continents. Although sometimes we want to track situation on a specific places. Maybe all in one bag as censored may makes sense.
About operating systems, yes. We can have windows, mac, linux... instead.
@nah which language you removed? Maybe it would be a good idea to have a tag for a language but we can add a tag later if we need posts in Spanish for example.
which language you removed? Maybe it would be a good idea to have a tag for a language but we can add a tag later if we need posts in Spanish for example.
At our meeting on October 20 we settled on the following list of categories for the new blog, grouped by theme:
areas of work
topics
operations
circumvention
advocacy
jobs
network
releases
fundraising
applications
relays
announcements
community
human rights
devops
usability
research
reports
metrics
onion services
localization
global south
partners
We can still adjust this list, are there any changes we'd like to make?
I may be a little biased here but we at TPA sometimes do cool sysadmin stuff that's interesting enough to share with the community, so maybe we could add a sysadmin category? /cc @anarcat
Today I wrote a Python script that will apply the mapping to all the imported blog posts. It works by reading from a CSV file containing a mapping of tags to categories. Multiple categories can be specified for a single tag by separating them with a comma in the column. Tags which have no categories are ignored.
We're still missing a few mappings for some of the most-used tags at the top of the list, for example those related to Tails or GSoC. If anyone would like to propose changes to the mapping, you can fork this repository, edit the CSV file right in GitLab (really convenient!), commit and create a Merge Request. Or simply commit directly in this repository, if you have access.
When running the script against the latest 150 or so blog post which we've imported so far, these issues are raised:
WARN: <announcing-arti> has zero categoriesWARN: <new-releases-with-security-fixes-tor-03514-0448-and-0457> has zero categoriesWARN: <entering-the-matrix> has zero tagsWARN: <privacy-lgbtqia-human-rights> has zero categoriesWARN: <dreaming-at-dusk> has zero tagsWARN: <transparency-openness-and-our-2018-and-2019-financials> has zero categoriesWARN: <from-trac-into-gitlab-for-tor> has zero categoriesWARN: <new-stable-releases-tor-03516-04510-and-0467> has zero categoriesWARN: <welcome-new-tor-board-members> has zero categoriesWARN: <tor-media-2020> has zero categoriesWARN: <transparency-openness-and-our-2019-and-2020-financials> has zero categoriesWARN: <new-release-tor-browser-1055> has zero tagsWARN: <tors-bug-smash-fund-2021> has zero tagsWARN: <new-release-candidate-tor-0455-rc> has zero tagsWARN: <in-memoriam-of-karsten-loesing> has zero tagsWARN: <sign-to-reclaim-your-face> has zero tagsWARN: <anonymous-gitlab> has zero categoriesWARN: <improving-ux-connecting-to-tor-105> has zero tagsWARN: <announcing-board-alissa-desigan-kendra> has zero categoriesWARN: <first-global-encryption-day> has zero tagsWARN: <snowflake-in-tor-browser-stable> has zero tagsWARN: <docshackathon-2021> has zero categoriesWARN: <check-status-of-tor-services> has zero categories
zero tags means the Drupal post has no tags at all, so the mapping is useless here
zero categories means the mapping produced no categories from the tags of this post
Thanks for this list!
I understand that some posts do not have tags now, but would it be possible to have on the error entry the current tags the posts with tags have?
This way it will be easier to map them to our restricted set
Here (again, only for a subset of the blog posts).
WARN: <announcing-arti> tags mapping did not yield any categories (got tags [arti])WARN: <new-releases-with-security-fixes-tor-03514-0448-and-0457> tags mapping did not yield any categories (got tags [security])WARN: <entering-the-matrix> has no tags and no categoriesWARN: <dreaming-at-dusk> has no tags and no categoriesWARN: <transparency-openness-and-our-2018-and-2019-financials> tags mapping did not yield any categories (got tags [Form 990,Form PC,financial statements])WARN: <from-trac-into-gitlab-for-tor> tags mapping did not yield any categories (got tags [gitlab,development roadmap])WARN: <new-stable-releases-tor-03516-04510-and-0467> tags mapping did not yield any categories (got tags [stable, release, tor, security])WARN: <welcome-new-tor-board-members> tags mapping did not yield any categories (got tags [board of directors,press release])WARN: <tor-media-2020> tags mapping did not yield any categories (got tags [media coverage])WARN: <transparency-openness-and-our-2019-and-2020-financials> tags mapping did not yield any categories (got tags [financial statements,Form 990])WARN: <new-release-tor-browser-1055> has no tags and no categoriesWARN: <tors-bug-smash-fund-2021> has no tags and no categoriesWARN: <new-release-candidate-tor-0455-rc> has no tags and no categoriesWARN: <in-memoriam-of-karsten-loesing> has no tags and no categoriesWARN: <sign-to-reclaim-your-face> has no tags and no categoriesWARN: <anonymous-gitlab> tags mapping did not yield any categories (got tags [privacy,gitlab,anonymity,Outreachy])WARN: <improving-ux-connecting-to-tor-105> has no tags and no categoriesWARN: <announcing-board-alissa-desigan-kendra> tags mapping did not yield any categories (got tags [board of directors])WARN: <first-global-encryption-day> has no tags and no categoriesWARN: <snowflake-in-tor-browser-stable> has no tags and no categoriesWARN: <docshackathon-2021> tags mapping did not yield any categories (got tags [documentation])WARN: <check-status-of-tor-services> tags mapping did not yield any categories (got tags [news,sysadmin])
I may be a little biased here but we at TPA sometimes do cool sysadmin stuff that's interesting enough to share with the community, so maybe we could add a sysadmin category? /cc @anarcat
agreed, i posted at least one blog post so far. i would post more if it was done through MRs in git too. :p