Online Media Monitoring using Node-Red| Feedparser Node

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

Expt 2 Online Media Monitoring using Node-Red| Feedparser Node

Aim:
To monitor online media using feed-parser in Node-Red.
Software used:
Node-Red
Theory:
Node-RED:
 Built over Node.js
 Modules for web development
Everything can be a “thing”.
 Sensors (weather, traffic, home automation..)
 Instant messages, e-mails, posts, news, videos .
 Web requests and responses
 Message-data or command
Full stack:
Full stack development refers to the end-to-end application software
development, including the front end and back end. The front end consists of
the user interface, and the back end takes care of the business logic and
application workflows.

Web API:
 Web API as the name suggests, is an API over the web which can be
accessed using HTTP protocol. It is a concept and not a technology.
 We can build Web API using different technologies such as Java, .NET
etc.

Media monitoring:
Media monitoring is the activity of monitoring the output of the print, online
and broadcast media. It is based on analyzing a diverse range of media
platforms in order to identify trends that can be used for a variety of reasons
such as political, commercial and scientific purposes.
RSS:
Nodes required:

Procedure:
1. Trigger the node-red by typing node-red-v in command prompt.

2. Go to http://127.0.0.1:1880/ in browser.
3. Install node-red-feedparser from manage palatte.

4. Open new flow and name it.


5. Open the rss feed of any news channel.

6. Copy link. http://rss.cnn.com/rss/edition.rss


7. Now insert feedparser node, debug node, text node ,change node and
switch node.
8. Edit feedparser node.

6.Edit debug node.

7. Edit text node.


9. Hence we got top news. To get specific output add switch, change ,text
and debug node.

10.Edit switch node.


11.Edit change node.

12.Edit text node


13.edit debug node.

14. Now after making connection press debug and go to dashboard and click
the link to view the news and can be viewed also in debug window.
Results:
1) News from feed displayed in website and debug window.
Connection 1:
Output 1:
Website:

Debug window:
2) To display only specific news:
Connection 2:

Output 2:
Website:
Debug:
3) Create a web API using template node design a form to get reader
details. On submitting make the reader to read the article.
Connection 3:

Output 3:
After submission:

4) Using feedparser node create an online media monitoring from min 3


RSSFEEDS like ndtv,hindu,india today.filter the news category with
min 3 verticals such as sports,economics ,education etc
Connection 4:
Output 4:
Website:

Debug:
Output verification:
Result:
Hence monitoring online media using feedparser node has been created using
node-red.

You might also like