align to metadata keys doc
This commit is contained in:
@@ -505,7 +505,11 @@ fn into_discovery_record(entry: ArxivEntry) -> DiscoveryRecord {
|
|||||||
fields.insert("title".to_string(), t);
|
fields.insert("title".to_string(), t);
|
||||||
}
|
}
|
||||||
fields.insert("fileType".to_string(), "document".to_string());
|
fields.insert("fileType".to_string(), "document".to_string());
|
||||||
|
// `domain` travels with `contentKind` (METADATA_KEYS.md §1) — the key
|
||||||
|
// every client filters its wall on. Stamped literally: this feeder pins
|
||||||
|
// the SDK by git tag and cannot reach `meta_feeder_sdk::domain`.
|
||||||
fields.insert("contentKind".to_string(), "paper".to_string());
|
fields.insert("contentKind".to_string(), "paper".to_string());
|
||||||
|
fields.insert("domain".to_string(), "science".to_string());
|
||||||
fields.insert(
|
fields.insert(
|
||||||
"sourceUrl".to_string(),
|
"sourceUrl".to_string(),
|
||||||
format!("https://arxiv.org/abs/{record_id}"),
|
format!("https://arxiv.org/abs/{record_id}"),
|
||||||
|
|||||||
Reference in New Issue
Block a user