Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caironoleto/noticias-do-piaui
This project is a way to find and show news in a different way.
https://github.com/caironoleto/noticias-do-piaui
Last synced: 3 months ago
JSON representation
This project is a way to find and show news in a different way.
- Host: GitHub
- URL: https://github.com/caironoleto/noticias-do-piaui
- Owner: caironoleto
- Created: 2010-08-11T18:09:12.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-10-06T14:03:06.000Z (over 14 years ago)
- Last Synced: 2023-04-15T09:35:41.011Z (almost 2 years ago)
- Language: Ruby
- Homepage: http://news.caironoleto.com
- Size: 497 KB
- Stars: 7
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Notícias do Piauí
This project is a way to find and show news in a different way.
# How to run
First, you need install the following gems:
- rails (2.3.8);
- delayed_job;
- feedzirra;
- nokogiri
- will_paginate.Second, the basic:
rake db:migrate
And finally:
ruby script/server
# Explain
Notícias do Piauí works basically on find news from feeds, and updates the content using nokogiri accessing the urls from the feed.
To fetch news, you need run *script/runner "Domain.all.each{|d| d.process}"* and *script/delayed_job start*.
Finally, you can start the websocket run *ruby lib/websocket.rb start*
# How to contribute
## If you find what looks like a bug:
1. Check the GitHub issue tracker to see if anyone else has had the same issue. [http://github.com/caironoleto/noticias-do-piaui/issues/](http://github.com/caironoleto/noticias-do-piaui/issues/);
2. If you don’t see anything, create an issue with information on how to reproduce it.
## If you want to contribute an enhancement or a fix:
1. Fork the project on github. [http://github.com/caironoleto/noticias-do-piaui/](http://github.com/caironoleto/noticias-do-piaui/);
2. Make your changes with *tests*;
3. Commit the changes without making changes to the Rakefile, VERSION, or any other files that aren’t related to your enhancement or fix;
4. Send a pull request.