Skip to main content

extract_dc_fields

Function extract_dc_fields 

Source
pub fn extract_dc_fields(xmp: &str) -> DcFields
Expand description

Extract Dublin Core metadata fields from a raw XMP packet string.

Uses lightweight text-search heuristics rather than a full XML parser so that there are no additional dependencies. This is intentionally best-effort: if a field uses a non-standard layout it may not be found.