ernicommunity / at11 Goto Github PK
View Code? Open in Web Editor NEWA simple web application that fetches daily lunch menus from popular restaurants near ERNI Slovakia office.
Home Page: https://at11.azurewebsites.net/
License: The Unlicense
A simple web application that fetches daily lunch menus from popular restaurants near ERNI Slovakia office.
Home Page: https://at11.azurewebsites.net/
License: The Unlicense
It would be nice to hyperlink the Headers (example "ITB") to the sources
Theme 1 could also use twitter-bootstrap, so the typography is in match with theme 2
TypeError: Object has no method 'unshift'
at parseMenu (C:\kubova stranka\itb.js:26:18)
at null. (C:\kubova stranka\itb.js:13:25)
at exports.each (C:\kubova stranka\node_modules\cheerio\lib\api\traversing.js:226:24)
at module.exports.parse (C:\kubova stranka\itb.js:10:54)
at Request._callback (C:\kubova stranka\menuFetcher.js:20:24)
at Request.self.callback (C:\kubova stranka\node_modules\request\request.js:122:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (C:\kubova stranka\node_modules\request\request.js:888:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (C:\kubova stranka\node_modules\request\request.js:839:12)
I'm planning to set up Travis continuous integration for this project as our test suite is growing and intention is to expand it much further. As long as we stay open-source it's free. But to do that I need to be an administrator here (not only contributor). @jakub-sturc can you assign me the role? If its not possible that you have to set it up.
Hello,
only the section ITB works, all other sections have the message "Sorry no lunch today :-(", although there are clearly lunch menus on the other websites
Currently users can see only menu for today. It would be nice to have a whole week view.
there is an empty bullet point (menu entry) on Friday
ITB has prices for soup and special food without space between the sum and currency
ITBfood can be switched for obedovat.sk link to menu.
itb at obedovat.sk
Numero uno sometimes does not provide soup - adjust the parser accordingly
sample of HTML:
https://gist.github.com/IgorKvasn/9949707
Our azure hosting has different timezone (UTC maybe) than what we need to properly fetch menus. Use case: right after midnight (SK time) we fetch menus from yesterday (as azure's time is still before midnight)...worth fixing?
On this site, there is the menu in HTML
http://www.pizzapazza.sk/sk/menu/
This could solve problems with OCR module. For now :)
you can parse from here: http://www.pizzapazza.sk/sk/denne-menu/
instead from obedovat.sk (where it does not currently show any menu)
I know it is a mistake of the restaurants side (or obedovat.sk), but:
"
100g Bravčový rezeň v kapiovom cestíčku, bylinkový dressing, hranolky, šalát 4,50 €
~~3 .~~350g Bryndzové pirohy, domáca údená slaninka, pažítka 4,50 €
~~4 .~~100g Maďarský guláš, parená knedľa 4,50 €
450g
"
the simply put the whitespace before the ".", not after.
Create sticky footer for theme 1 so it stays on the bottom of the page when the content is not long enough, but is pushed down when content is longer than page (so no position:fixed). Example here
It looks like, that when there is no menu on Monday, they just start the week with Tuesday
http://pastebin.com/3wwBqQXQ
On 2.6.2014 Numero Uno added a line of dashes at the and of each day's menu. This needs to be incorporated into parser's logic.
favicon is not displayed in IE due to wrong link attributes
Better would be: "Obed uvidis ak kliknes na nadpis" or osmething similar
People are thinking that the restaurant is closed sometimes...
With lower resolution (1366x768), in theme 2, bottom of the restaurants list is not visible.
On 2.6.2014 Skolka menu did not include price, which completely broke it's parser showing just an error:
Menu item has wrong 'price' property (undefined)
Readability could be improved by aligning the prizes to the right side
Currently we grunt-cli
to be able to run jshint
. It's not necessary.
They changed the menu
Utorok Fazuľová polievka
1.180 g Lasagne bolognesse – zapekané cestoviny s boloňskou
omáčkou a so syrom € 3,90
2. 200 g Bryndzové halušky so slaninkou a so smotanou € 3,50
3. 200 g Chicken Salat – vyprážané kuracie kúsky v cornflexoch/
grilované kuracie kúsky na veľkom zeleninovom šaláte € 4,90
menu č.4 € 4,50 po vypredaní menu č. 1 a 2 do 13:00 h
200 g Vyprážaný syr s hranolkami, tatárska omáčka
They fallback from image back to text.
I found DV module for node.js, that uses Tesseract OCR engine. I tried it and it can easily read text from images that are used on Skolka and Pizza Pazza menu pages, so we can give it a try. Only thing that is required except for DV module is to get tessdata for Slovak language from here extract it and point TESSDATA_PREFIX
environment variable to parent dir of extracted tessdata directory. Sample code is provided on module page.
white space causes margin to be wider than desired between restaurent sections
This is probably caused by 62e04d1
Metrics for the soups are not removed correctly in Kamenica http://pastebin.com/3wwBqQXQ
the web is not working
"The page cannot be displayed because an internal server error has occurred."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.