DmytroVasin / challenge

UA Web Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web challenge 2015:

Task:

Create XML Sitemap generator for the sites based on official format.

Logic:

The user visit page with:

  • Field to enter the site URL
  • Buttons "generate"

The application should submit the form after that, the server generate XML Sitemap and submit link to download the file.

The logic of the process should include an analysis of the main page of the site, obtaining with root html links to the internal pages of the site and their corresponding analysis to Level 3. If the link is external - the program ignores it. Internal links are links with the same domain.

Used:

  • Sinatra
  • ruby 2.1.5
  • nokogiri
  • builder
  • json
  • twitter-bootstrap

Heroku:

heroku app

Installation and usage

Install the gem:

gem install bundler
bundle install
rackup

visit localhost:9292

TBD:

Error Handling.

About

UA Web Challenge

License:MIT License


Languages

Language:Ruby 60.3%Language:CSS 13.4%Language:JavaScript 13.2%Language:HTML 13.1%