上传已关注的词语无法正常工作?

Hi, what file type should be used to upload words from a file? “Add from file”

The upload input on the watched words page is looking for a .txt file. That file should contain one word per line.

2 个赞

Thanks! I’ve now uploaded my .txt file. I get a message that says, “Upload successful. Words have been added.”

However, no words then appear to be added.

Is the ‘show words’ checkbox checked? Words will only be shown when that box is checked.

1 个赞

Hi, yes. And when it isn’t checked, it shows the “0 words” text.

Which action are you trying to upload the words to? One thing to note is that you cannot add the same word to multiple watched word actions.

4 个赞

Hi, so I took the risk of deleting my watched words section, then attempting to upload the .txt file to the blocked words section. Unfortunately, it is still not loading the new word list from the document.

Do you see any errors in the browser console or /logs?

也遇到了同样的问题,在这里看不到任何解决方案——你解决了吗,@outofthebox

我在测试站点上用一个包含 3 个单词的 CSV 文件添加到“Block”中进行了试运行,对我来说是有效的?

您能否提供更多关于您尝试的内容以及出现问题的详细信息?

嗨 Aaron,我希望我能帮忙,但我记不清那件事是怎么解决的了!

1 个赞

与 OP 完全相同,谢谢 @JammyDodger

1 个赞

感谢 @outofthebox,这已经是很久以前的事了,可以理解!

我刚尝试用 .txt 文件而不是 csv 文件,结果成功了两个词,但第三个词不行,因为我忘了在末尾添加逗号。:slight_smile: 你的单词列表有逗号吗,还是只有单词列表?

例如。

dog,
cat,
pancake,

非常感谢 @JammyDodger - 我通过添加逗号成功解决了问题,但对文本做了一个小小的修改,它又不能用了。发现这个功能很不稳定 :tired_face:

处理 75 个单词或短语,手动处理有点太多了

1 个赞

我认为你可以将它们分解成更小的批次进行处理,这或许能帮助你找出出问题的那个。:slight_smile: :crossed_fingers:

我也发现,如果你需要添加更长的列表,将其输入到电子表格(不含逗号)并导出为 CSV 是一种相当流畅的方法。:slight_smile:

感谢您的建议,@JammyDodger。我正在用相同的文件重复相同的任务,有时没有添加任何单词,有时添加一个,有时添加三个!

明天我再继续,看看Discourse是否会有不同的表现!不过,还是很感谢您的帮助 :folded_hands:t3:

1 个赞

在我的案例中,Excel 的 CSV 使用了一个特殊字符,导致其损坏。我不得不使用文本编辑器编辑 CSV 文件进行修复。但是,还有另一个问题,那就是如果你尝试将列表上传到“替换”选项卡,似乎无法在 CSV 中指明输出应该是 HTML 格式。下载文件也没有提供任何标志来指明 HTML 或非 HTML 格式。

我还有另一个有趣的问题。我正在像这样在产品名称后插入链接:


有时人们会写“AirPods Pro 2’s”,我尝试先匹配带撇号的版本,以避免链接图标后跟“'s”,但似乎无论观察词的顺序如何,文本总是被分割。

注意到“监视的词语”也会在帖子预览中修改文本。有什么方法可以禁止此操作吗?