Giter VIP home page Giter VIP logo

onionpeeler's Introduction

OnionPeeler

The Onion Peeler is a site which scrapes articles from The Onion. The technologies used include MongoDB (using NPM package Mongoose), Express (server site is run on), Node (base technology packages run on), Handlebars (for templating output of articles), and NPM packages Request (for getting content to scrape) and Cheerio (a library which behaves like jQuery for identifying content to scrape).

Try it at http://cnjdev-onion-peeler.herokuapp.com/

Top of Page

Home

Articles scraped from the Onion are posted here. Each article has the headline (which links to the original story in a new tab) and a summary. There is an option to add the article to the set of Saved Articles.

Sample Article

SCRAPE ARTICLES

(Link only available from the Home page) When clicking this, the site will check for new content at The Onion site and reload the page with the newest articles first.

Saved Articles

Articles that were saved on the Home Page appear here. As on the home page, each article has the headline linking to the story and summary. But now there are options to view Notes left on the article and to remove the article from the set of Saved Articles.

Saved Article

Article Notes

Users can view and leave notes for an article when clicking the "View Notes left on Article" button on a Saved Article. A window like this will appear which show the notes left on the article as well as the full headline (and internal Mongo ID).

Article Notes

Other Links

Application online at http://cnjdev-onion-peeler.herokuapp.com/

GitHub Repository at https://github.com/cnjdev/OnionPeeler

Headlines and summaries from articles are from The Onion at https://www.theonion.com/

onionpeeler's People

Contributors

cnjdev avatar

Stargazers

Mauro Risonho de Paula Assumpção avatar Andy Thai avatar

Watchers

James Cloos avatar

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.