-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erlangen-Nuernberg not all Menus displayed #101
Comments
If you want to test the parser, you can clone the repo and run it locally on your computer, following the instructions from the README. Then you can also play around with the code and maybe put together a PR. I hope this answers your question. |
You can find the full feed here: https://omfeeds.crpt.de/erlangen_nuernberg/ingolstadt/full.xml (or better follow @y0hy0h's advice 😉). There is also an index of all canteens of the parser. CC @theScrabi, who wrote the parser. I can also look into this if you want. |
Ok the omfeeds.crpt.de can't be the correct one It only lists 3 meals.
But i will test the parser locally |
Ok the Feed URL Really can't be the correct one <day date="2019-10-10">
<category name="Schwein">
<meal>
<name>Hirtenrolle mit Tomaten - Basilikum - Soße und Reis</name>
<note>mit Weizen</note>
<note>mit Eier</note>
<note>mit Soja</note>
<note>mit Milch/Laktose</note>
<note>mit Weizen</note>
<note>mit Milch/Laktose</note>
<note>mit Sellerie</note>
<price role="student">2.29</price>
<price role="employee">3.30</price>
<price role="other">4.58</price>
</meal>
</category>
<category name="Rind Vegetarisch">
<meal>
<name>SB-THEKE: Kalbsragout in Rieslingsoße mit gebratenen Pilzen und Bandnudeln </name>
<note>mit Weizen</note>
<note>mit Milch/Laktose</note>
<note>mit Schwefeldioxid/Sulfite</note>
<price role="student">3.55</price>
<price role="employee">4.55</price>
<price role="other">7.10</price>
</meal>
</category>
<category name="Sonstiges">
<meal>
<name>Bunte vegane Gnocchi mit Schwarzwurzeln, Karotten und Bohnen </name>
<note>mit Weizen</note>
<note>mit Soja</note>
<price role="student">2.27</price>
<price role="employee">3.30</price>
<price role="other">4.54</price>
</meal>
</category>
</day> While The API gives me [
{
"id": 4594984,
"name": "Schweinesteak Alg\u00e4uer Art Sp\u00e4tzle Rahmso\u00dfe ",
"category": "Schwein",
"prices": {
"students": null,
"employees": null,
"pupils": null,
"others": null
},
"notes": [
"mit undefinierter Chemikalie Ge",
"mit Sellerie",
"mit Milch/Laktose",
"mit Weizen",
"mit Eier",
"mit Weizen",
"mit Weizen"
]
},
{
"id": 4564072,
"name": "Hirtenrolle mit Tomaten - Basilikum - So\u00dfe und Reis",
"category": "Schwein",
"prices": {
"students": 2.29,
"employees": 3.3,
"pupils": null,
"others": 4.58
},
"notes": [
"mit Sellerie",
"mit Milch/Laktose",
"mit Weizen",
"mit Milch/Laktose",
"mit Soja",
"mit Eier",
"mit Weizen"
]
},
{
"id": 4564073,
"name": "Kalbsragout in Rieslingso\u00dfe mit gebratenen Pilzen und Bandnudeln ",
"category": "Rind Vegetarisch",
"prices": {
"students": 3.55,
"employees": 4.55,
"pupils": null,
"others": 7.1
},
"notes": [
"mit Schwefeldioxid/Sulfite",
"mit Milch/Laktose",
"mit Weizen"
]
},
{
"id": 4564074,
"name": "bunte vegane Gnocchi mit Schwarzwurzeln, Karotten und Bohnen ",
"category": "Sonstiges",
"prices": {
"students": 2.27,
"employees": 3.3,
"pupils": null,
"others": 4.54
},
"notes": [
"mit Soja",
"mit Weizen"
]
}
] The Feed contains "SB-THEKE: " and "Bunte vegane Gnocchi" is written in capital |
Sorry for Spamming this... Seems that also the Max-Manager XML skips meals... |
Yes, this might be a caching issue. As far as I remember, the parsers are run daily. So if the menu changes inbetween runs, the feed might diverge. This looks like a tough issue to debug... |
Yes, "Cafeteria Ingolstadt full" is currently run once a day at 8:00 and it is the only feed for canteen 272. |
Wait im getting daily error messages via mail, but could not fix them yet. If you want I can post the next one here. |
In den letzten 24 Stunden sind folgende Unregelmäßigkeiten aufgetretten.
Die vollständige Liste mit Mitteilungen finden Sie unter: |
@theScrabi: That might be because the index url pointed to the non-existing https://github.com/theScrabi/openmensa-parsers/wiki/Unterst%C3%BCtzte-Mensen. I have removed it for now. The parsers themselves look fine. |
Hi, I was just wondering if there is a fix for the problem? I noticed some meals missing or the wrong ones being returned by openmensa. I tried to change the time I make the request but it still sometimes is not 100% correct. I just compared the openmensa data with the one from the max-manager url used the parser and they are different. One meal is missing. |
@TheTastyHanuta just notifying. I'm not studying anymore, and I have little time now. So if there is no one else contributing to this extractor, the extractor unmaintained and its development stalled. |
I got something interesting...
It seems that sometimes a menu gets dropped...
Is there a way to get the Output XML Feed for further Investigation?
(The Following is Related to THI, but should affect all SW-Erlangen-Nuernberg canteens)
I compared the Original Page SW Erlangen/Mensa THI
With the used XML feed used by the Parser INFO-MAX XML Feed
The Problematic Item:
The API Out of OpenMensa was
JSON API CALL
As you can see the above XML excerpt is missing...
At the beginning of the week the missing Objekt was one of the "Aktions Essen"
But Today it was available...
As you can see its not about Character Encodings,
I actually can't find the Problem in the current code... erlangen_nuernberg.py
The text was updated successfully, but these errors were encountered: