Coder Social home page Coder Social logo

ernicommunity / at11 Goto Github PK

View Code? Open in Web Editor NEW
22.0 18.0 20.0 4.69 MB

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

JavaScript 7.80% CSS 7.67% HTML 20.18% TypeScript 64.35%
restaurant html erni-slovakia-office nodejs

at11's People

Contributors

caesar1987sk avatar demetraa avatar drvic10k avatar igorkvasn avatar jakubsturc avatar lord-of-fate avatar mareklinka avatar menyet avatar pecosk avatar srnec avatar yohny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

at11's Issues

Danovak parsing could be improved

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.

Only ITB feed works

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

ITB prices

ITB has prices for soup and special food without space between the sum and currency

favicon IE

favicon is not displayed in IE due to wrong link attributes

Theme 1 design

Theme 1 could also use twitter-bootstrap, so the typography is in match with theme 2

help bar IE

In Internet Explore the navigation help bar is visible also on the third theme (matus). Screenshot:
untitled

sticky footer for default theme

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

OCR

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.

Travis

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.

Skolka missing price

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)

Alfa menu change

Alfa added header to their daily menus that breaks our parsing:
screenshot from 2014-05-26 22 52 45

Numero Uno parser problem

They changed the menu

capture

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

prices break layout

in the default theme prices are wrongly assigned if menu item text is too long for price to fit on the same row as seen on below screenshot (price from 5th item flows down to 6th)
screen

Numero Uno format change

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.

azure timezone

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?

problem with parsing on holidays

The parsing on holidays is unconsistent

Look i know this is low priority, but my role is to provide you information about the software that could help increase quality

bug_holiday_parsing

Change icon nexto to soups

there is no reason to have the fork&knife icon next to soups, nobody expects you to eat a soup with these tools, or?:)
bug_soups

resolution problem

With lower resolution (1366x768), in theme 2, bottom of the restaurants list is not visible.

It's broken in ITB.js:)

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.