3 Commits
Author SHA1 Message Date
Worph 1d4eee7042 SDK v1.7.0: advertises over beacon v2 as metamesh.feeder/<upstream>
Publish image / publish (push) Failing after 13s
2026-10-04 17:35:13 +00:00
Worph 63a19f6ab0 rework domain field
Publish image / publish (push) Failing after 13s
2026-09-02 00:04:47 +02:00
Worph e69ea60d97 align to metadata keys doc 2026-08-30 19:52:02 +02:00
3 changed files with 10 additions and 3 deletions
Generated
+3 -2
View File
@@ -762,8 +762,8 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]] [[package]]
name = "meta-feeder-sdk" name = "meta-feeder-sdk"
version = "0.1.0" version = "1.7.0"
source = "git+https://github.com/worph/meta-feeder-sdk?rev=d2c6ef4c1887be9ae9f92ebedc39a810aa57c7e4#d2c6ef4c1887be9ae9f92ebedc39a810aa57c7e4" source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.7.0#027917c8cffe7ca43dadcf3b426cc5f69ecc443a"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@@ -772,6 +772,7 @@ dependencies = [
"bytes", "bytes",
"futures", "futures",
"hyper", "hyper",
"libc",
"redb", "redb",
"regex", "regex",
"reqwest", "reqwest",
+1 -1
View File
@@ -20,7 +20,7 @@ path = "src/main.rs"
[dependencies] [dependencies]
# The SDK is a dependency, not a vendored copy. Pinned by rev until the first # The SDK is a dependency, not a vendored copy. Pinned by rev until the first
# tag; see docs/project-architecture/feeder-architecture.md §8. # tag; see docs/project-architecture/feeder-architecture.md §8.
meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", rev = "d2c6ef4c1887be9ae9f92ebedc39a810aa57c7e4" } meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.7.0" }
tokio = { version = "1.40", features = ["full"] } tokio = { version = "1.40", features = ["full"] }
axum = { version = "0.7", features = ["json"] } axum = { version = "0.7", features = ["json"] }
+6
View File
@@ -505,7 +505,13 @@ 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 — and `workForm` travels with both. A
// paper stands alone. 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("workForm".to_string(), "standalone".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}"),