huginn website agent对提取结果排序
当配置好huginn的website之后,想给提取的内容排个序,那就用下面这堆代码,因为官网里也这么说的,
"events_order": [ [ "{{date_published}}", "string", "true" ] ]
但是如果配置完报下面的错误,那就惊喜了,
1 error prohibited this Agent from being saved:
- extract must be a hash of hashes.
原因是把这个参数配置到extract下面了,因为是参数,应该和extract是同一级别的,
诸业皆是自作自受,休咎祸福,尽从心生。