https://github.com/dmytrovasin/challenge
UA Web Challenge
https://github.com/dmytrovasin/challenge
Last synced: 8 months ago
JSON representation
UA Web Challenge
- Host: GitHub
- URL: https://github.com/dmytrovasin/challenge
- Owner: DmytroVasin
- License: mit
- Created: 2015-03-26T19:08:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-26T19:53:47.000Z (over 10 years ago)
- Last Synced: 2025-01-02T01:42:42.222Z (10 months ago)
- Language: Ruby
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Web challenge 2015:
---------------
##### Task:
Create XML Sitemap generator for the sites based on [official](http://www.sitemaps.org/protocol.html) 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-bootstrapHeroku:
---------------
[heroku app](https://ua-web-challenge-2015.herokuapp.com/)Installation and usage
---------------
Install the gem:
```
gem install bundler
bundle install
rackupvisit localhost:9292
```TBD:
---------------
Error Handling.