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

Add additional tags to NIP-54 Wiki #1234

Open
basantagoswami opened this issue May 13, 2024 · 2 comments
Open

Add additional tags to NIP-54 Wiki #1234

basantagoswami opened this issue May 13, 2024 · 2 comments

Comments

@basantagoswami
Copy link
Contributor

basantagoswami commented May 13, 2024

Language of the article

We can add language of the article this way;

{
  "tags": [
    ["l", "ISO-639"],
    ["L", "en"]
  ]
}

Or we can have some other l tag value and add the language in the form of <country code>-<language code>. For example: L with bn-BD for Bangladeshi Bengali and bn-IN for Indian Bengali

This can probably be added to the NIP-32 (Labeling) itself as an example instead of here.


Type of the article

Add a c or some tag to identify different categories of articles. Some of the categories can be:

  • recipe
  • tutorial (think WikiHow, but not shitty)
  • definition (dictionary sites)
  • chapter (something like geeksforgeeks.org, optionally accompanied by an additional tag for the course name like ["course", "How to exit vim"])
@basantagoswami basantagoswami changed the title Adding additional tags to NIP-54 Wiki Add additional tags to NIP-54 Wiki May 13, 2024
@AsaiToshiya
Copy link
Collaborator

FYI, the following are PRs about the language:

@fiatjaf
Copy link
Member

fiatjaf commented May 13, 2024

I don't see why not just an l tag, or many. The L tag is useless in this case.

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

3 participants