question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Are you looking for help with adding/updating lists and metadata?

See original GitHub issue

(This issue report will be a carry-over of https://github.com/collinbarrett/FilterLists/issues/1663#issuecomment-640058556 and https://github.com/collinbarrett/FilterLists/issues/851, with the intention that it shall be stickied, perma-open, and linked to in the README, to help and inspire more people to contribute to the metadata.)

So you know of some lists you want to add, but you are very unsure about how to do so? Fear no more. Here’s how to do it:

Add/update lists, licenses, subscription links, homepages, and similar:

  1. Right-click on the following link and choose “Save link”: https://raw.githubusercontent.com/collinbarrett/FilterLists/master/services/Directory/data/FilterList.json
  2. Open the downloaded FilterList.json file in Sublime Text, Notepad++, or any similar raw-text editor who can handle large files and JSON indentations.
  3. Add the desired changes. For new lists, “id”, “name”, “syntaxId” and “viewUrl” are mandatory. “homeUrl” and “licenseId” are also important if they are applicable to the list. Other ones in active use are “description”, “donateUrl”, “emailAddress”, “issuesUrl”, “viewUrlMirror1” and “viewUrlMirror2”.
  4. Once you’ve performed the changes, save the file.
  5. Before you can upload the changes to this repo, you must first create a branch of this repo. The easiest way to do so by far, is to take care of assigning tags to the list first (Explained below).
  6. Once you’re on a new branch, go to https://github.com/[Your GitHub username]/FilterLists/tree/master/services/Directory/data (The URL may be different under many circumstances, such as if you’ve contributed to FilterLists.com before), click “Upload” in the upper right, and choose the FilterList.json file that you saved.
  7. Submit a PR, and we’ll double-check it from there.

Assign tags to lists (Mandatory for new lists):

  1. Go to https://github.com/collinbarrett/FilterLists/edit/master/services/Directory/data/FilterListTag.json, and edit it online.
  2. “filterListId” is the list’s ID in FilterList.json. “tagId” is one of these tags.
  3. If you are 100% certain that none of the existing tags are suitable for a particular list, choose tagId 15 (Topical).
  4. Save the file. This will create a new branch and/or fork, which will be convenient for list additions in general.

Assign languages to lists:

(This presumes you’ve already assigned tags to the lists.)

  1. Go to the branch you created after assigning tags.
  2. Go to .../data/FilterListLanguage.json and begin editing it.
  3. “languageId” is one of a randomly numbered list of languages. For instance, German is 167, while Japanese is 141.
  4. Save the file.

Assign contributors to lists:

(This presumes you’ve already assigned tags to the lists.)

  1. Go to the branch you created after assigning tags.
  2. Go to .../data/FilterListMaintainer.json and begin editing it.
  3. “maintainerId” is one of various filterlist makers. If you wish to assign someone who is not mentioned in that file, you are merrily welcome to add maintainer profiles to Maintainer.json
  4. Save.

Moreover, this thread can also be used to store your backlogs of things to do, and for whom help is requested to get it done faster.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
collinbarrettcommented, Jun 9, 2020

Nice. Great work. Maybe will move to a Wiki page eventually rather than keeping in an Issue long-term, but will prominently link to from README as well.

4reactions
DandelionSproutcommented, May 30, 2022

Things I’ve come across. Anyone else out there are welcome to write a comment below to store things that they have come across. If possible, edit your existing to-do list instead of creating additional comments each time.

Add some of the following lists:

Add mirrors:

(Currently empty.)

Change viewURLs:

(Currently empty.)

Change syntax:

(Currently empty.)

Change title:

(Currently empty.)

Remove lists:

(Currently empty.)

Remove view URLs:

Notes to self when deleting lists:

(Replace “9876” with each of the filterlist IDs separated by |.)

  • FilterList.json: .* {\n(.*\n){1,7} {1,}"id": (9876),(.*\n){1,6} {1,}},\n
  • FilterListTags.json + FilterListViewUrl.json + FilterListSyntax.json + FilterListLanguage.json + FilterListMaintainer.json: .* {\n {1,}"filterListId": (9876),(.*\n){1,4} {1,}},\n
Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating file metadata with list item data
Solved: I'm struggling here... I have a document library that contains files extracted from emails sent to a shared inbox.
Read more >
Set up metadata navigation for a list or library
Add enterprise metadata and keywords · Navigate to the list or library for which you want to configure metadata navigation and click the...
Read more >
2 ways to create metadata in SharePoint
Go to the list or library where you want to add metadata. · Go to Library Tab · Click on Library Settings ·...
Read more >
A beginner's guide to SharePoint metadata | by Matt Wade
The out-of-the-box metadata is useful, but the real power from metadata comes when you use it to categorize the content you keep in...
Read more >
Add or update metadata without document file in ...
I am just exploring it for a requirement to add client record in sharepoint document library with metadata(custom columns) like ClientCode, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found