Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Parse CD and CO parameters from CA #53

Merged
merged 5 commits into from
Apr 5, 2023
Merged

Conversation

LuKo
Copy link
Contributor

@LuKo LuKo commented Apr 4, 2023

Some result doesn't contain CD and CO parameters, but can be parsed from CA parameter. Example:

<D:AA zdroj="ARES">
<D:IDA>210870551</D:IDA>
<D:KS>203</D:KS>
<D:NS>Česká republika</D:NS>
<D:N>Praha 6</D:N>
<D:NCO>Břevnov</D:NCO>
<D:NU>U třetí baterie</D:NU>
<D:CA>1056/5</D:CA>
<D:PSC>16200</D:PSC>
<D:AU> </D:AU>
</D:AA>

Result doesn't contain CD and CO parameters, but can be parsed from CA parameter. Example:
<D:AA zdroj="ARES">
<D:IDA>210870551</D:IDA>
<D:KS>203</D:KS>
<D:NS>Česká republika</D:NS>
<D:N>Praha 6</D:N>
<D:NCO>Břevnov</D:NCO>
<D:NU>U třetí baterie</D:NU>
<D:CA>1056/5</D:CA>
<D:PSC>16200</D:PSC>
<D:AU> </D:AU>
</D:AA>
src/Mapper.php Outdated Show resolved Hide resolved
@trejjam trejjam merged commit 7f6d462 into trejjam:master Apr 5, 2023
@trejjam
Copy link
Owner

trejjam commented Apr 5, 2023

Thanks for pointing the issue out. Merged & released as 0.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants