No Result
View All Result
Vebiza
  • World News
    • Africas
    • Americas
    • Asia
    • Europe
    • Middle East
  • Sports
  • Business
  • Entertainment
  • Health
  • Technology
  • Money
  • Lifestyle
  • Billionaires
Vebiza
No Result
View All Result
Home Technology

Full Guide To Add Free News Content Website Or Blog

Rose Milan by Rose Milan
June 9, 2024
in Technology

More

funny and ingenious techniques to block telemarketers and spam callers

Funny and Ingenious Techniques to Block Telemarketers and Spam Callers

June 19, 2025
how to report spam texts on an iphone

How to report spam texts on an iPhone

June 19, 2025
Load More

 A challenge that many website owners
face  is how
 to supply  continuously fresh content for new  and repeat visitors to peruse.
It can  be a
very time-consuming task  to manually upload regular updates. Fortunately, there is an easy way to showcase free,
readily
available news content on
a wide  variety of topics.
We will examine a quick and effective
method
of incorporating RSS
(Really Simple Syndication) coding in
order
to add news content
to an site.  First,
let’s look at what RSS is, and how it works.
RSS is an online coding
solution that delivers
automatic updates
for W content. Say, for instance, you add an
RSS code for international new your website from a
popular source, such as CNN, Reuters, or the BB Visitors would be able to access new content links as often as the sou updated their news feed. In
other
words,
you get the benefit of presenting the very latest desired information online, with no effort o
your part.
Due perhaps to a misguided perception that it is difficult
to add the necessary coding to make RSS work  within
 a website’s framework, it
remains an extremely underutilized resource.
A typical RSS newsfeed (this one from the BBC) looks  like:



http://feeds.bbci.co.uk/news/world/rss.xml
When the XML document is updated by the BBC, the new
information
is
automatically displayed
on any website that has
incorporated the above
URL to obtain World News.
You can find RSS feeds all over  the Web; just  look for the small orange
icon with a dot
 and two waves above it. The very latest data is available
on diverse subjects ranging
from international news,
to financial
updates, to reports on innovations in
the
food and
drink  industry, to the latest updates on
plants and gardening.
So, now that we have a
better understanding about RSS and what it can do, let’s move on to finding out  how  to incorporate the correct
coding
into  a website in order to gain the noted benefits.
Google Feed API
Google has developed an exceedingly convenient method to display RSS feed data, via their Feed API feature. Using this technique, you can showcase any newsfeed by incorporating some simple Javascript lines into a web page.
To begin utilizing the Feed  API, insert the following
script
into the Head section of your  web  page, beneath
the meta tag area and
just
 in front of the closing
Head tag:
<script  type=“text/javascript” src=“https://www.google.com/jsapi“></script
<script  src=“http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcon type=“text/javascript“></script>
<style  type=“text/css”>
@import  url(“http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcon
#feedControl
 
{ margin-top : 10px; margin-left:  auto; margin-right:  auto; width : 440px;
font-size:  12px;
color:  #9CADD0;
}



</style>
<script  type=“text/javascript“>
function load()  {
var
feed =“http://feeds.bbci.co.uk/news/world/rss.xml“;
new  GFdynamicFeedControl(feed,  “feedControl”);
}
google.load(“feeds”,  “1”);
google.setOnLoadCallback(load);
</script>
Then, insert the following
code into the desired area of the web page:
<div  id=“body”>
<div  id=“feedControl”>Loading…</div>
</div>
After uploading the web page to the Internet, you should see the following addition:
 
The width of
the
four-stack vertical dynamic
newsfeed
is set at 440px by default, but it can
be adjusted based on
the
size constraints of the given area within the page, or the HTML table, in
which  it is placed.
The newsfeed pointer
rotates continuously between
the news
items, displaying a
link and short summary for each.
Feed Customization
You can manually change the coding variables in the following expression:
#feedControl
 {
margin-top : 10px; margin-left:  auto; margin-right:  auto; width : 440px;
As noted, you can raise or lower the set width of the display.
The
margins can also be adjusted. If, for example, you want to create more
space
at the
top of the new feed box, the ‘margin-top’ expression can
be upped to 20px,  or higher.
Changing
News Sources
The newsfeed can also  be updated
to accommodate
a
new  source very easily.
Say that you got tired of the BBC feeds, and instead
wanted to
incorporate news from CNN. The required adjustment would
be made to the following line:
var feed =”http://feeds.bbci.co.uk/news/world/rss.xml”;
The CNN RSS code would be substituted so that the line looked like:
var feed =”http://rss.cnn.com/rss/edition_world.rss”;
A similar adjustment to display
an international newsfeed from Reuters would entail the following change:
var feed =”http://feeds.reuters.com/Reuters/worldNews “;
Conclusion
As this brief tutorial demonstrates, it is both quick  and easy to incorporate a
newsfeed into your  site.
 The above coding
can be inserted into the home page,
or any interior page.
Once you get the hang of integrating the Feed
API coding into your site, I think you can integrate any API Feed into
your site.

Related Posts

the greatest laptops for playing and working anywhere
Technology

The Greatest Laptops for Playing and Working Anywhere

June 18, 2025
the greatest e reader available right now
Technology

The greatest e-reader available right now

June 18, 2025
the best all in one computers
Technology

The Best All-in-One Computers

June 18, 2025
the greatest watches and fitness trackers for everyone
Technology

The Greatest Watches and Fitness Trackers for Everyone

June 18, 2025
how to quit addiction to video games
Technology

How to Quit Addiction to Video Games

June 17, 2025
how to break free from internet dependency
Technology

How to Break Free from Internet Dependency

June 17, 2025

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

BROWSE BY CATEGORIES

  • Americas
  • Asia
  • Billionaires
  • Biography
  • Business
  • Celebrity
  • China
  • Entertainment
  • Europe
  • Football
  • Health
  • India
  • Investment
  • Iran
  • Israel
  • Israel Gaza War
  • Lifestyle
  • Money
  • North America
  • Spain
  • Sports
  • Technology
  • Ukrain
  • United Kindom
  • United States
  • World News

Recent News

  • Top 5 WWE commentators’ pay
  • Ronaldo Wins the Esteemed Champions League Trophy
  • Five well-known poets who made a lasting impression on literature

Category

  • Americas
  • Asia
  • Billionaires
  • Biography
  • Business
  • Celebrity
  • China
  • Entertainment
  • Europe
  • Football
  • Health
  • India
  • Investment
  • Iran
  • Israel
  • Israel Gaza War
  • Lifestyle
  • Money
  • North America
  • Spain
  • Sports
  • Technology
  • Ukrain
  • United Kindom
  • United States
  • World News
  • About
  • Contact
  • Terms of Service
  • Privacy Policy
  • Advertise

© 2025 - All right reserved

No Result
View All Result
  • World News
  • Sports
  • Business
  • Entertainment
    • Celebrity
  • Health
  • Technology
  • Money
  • Lifestyle
  • Billionaires

© 2025 - All right reserved