https://github.com/serenasensini/jquery-newsfeed
A simple JQuery plugin to feed news using https://newsapi.org
https://github.com/serenasensini/jquery-newsfeed
Last synced: 3 months ago
JSON representation
A simple JQuery plugin to feed news using https://newsapi.org
- Host: GitHub
- URL: https://github.com/serenasensini/jquery-newsfeed
- Owner: serenasensini
- License: gpl-3.0
- Created: 2018-07-30T09:23:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T14:03:18.000Z (almost 5 years ago)
- Last Synced: 2025-10-08T21:38:36.124Z (3 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jquery-newsfeed
A simple JQuery plugin to feed news using https://newsapi.org.
> Based on this [repo](https://github.com/SmItH197/jquery-news), tested with _JQuery 3.3.1_
# jQuery NewsFeed
jQuery NewsFeed is a plugin that retrieves the latest news on a given topic from different sources, and list them.
## Features
* Choose a topic and retrieve data
* Choose a number of maximum items to retrieve
* Choose the sources originating the news
## How to use it
1. Include the `newsfeed.js` in your sourcelist.
2. Create a list in your HTML page with an
- tag, using "news" as tag class.
3. Use the following code to get the news.
$('.news').newsReader({
//topic:"food",
//number_of_items:"10"
//sources:["google-news"]
});