Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a free and open source news web app that everyone can create news and create comments and so on.
tag: v1.2beta

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
public
script
solr/conf
spec
vendor
.gitignore
.rspec
Capfile
Gemfile
Gemfile.lock
Guardfile
README.rdoc
Rakefile
config.ru

README.rdoc

nerdnews

This is a project for creating a free and open source news site by Ruby on Rails framework. This project is under GPL 3 license.

DEMO

If you wanna see a demo of this project you can see it: nerdnews.ir/

API

Stories

GET    /stories.json
  This action gets 20 most recent stories and for getting next 20 most recent stories,
  you have to send page parameters.
Optional Parameters
  page
Response
  The response would be a json arrays of stories which has the following fields:
    title:string => title of the story
    content:text => content of the story
    total_point:integer => total point of the story
    hide:boolean => indicates that story must be hidden or not
    comments_count:integer => number of comments for the story
    view_counter:integer => number of views for the story
    positive_votes_count:integer => number of positive votes for the story
    negative_votes_count:integer => number of negative votes for the story
    published_at:string => publish date of the story in Jalali Date
    author:string => author of the story
    reference_url:string => reference of the story that would be a link
    story_url:string => story url
    comments:array => array of comments for the story which has the following fields:
      id:integer => ID of the comment
      name:string => name of the user who comments
      positive_votes_count:integer => number of positive votes for the comment
      negative_votes_count:integer => number of negative votes for the comment
      total_point:integer => total point of the comment
      content:text => content of the comment

LICENSE

This project just another free and open source news site that everyone can create news and create comments and so on.

Copyright (C) 2012  Hamed Ramezanian

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Something went wrong with that request. Please try again.